home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / tcl / 1175 next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.3 KB

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!<UNAUTHENTICATED>+
  2. From: snl+@cs.cmu.edu (Sean Levy)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Re: Tcl-mode.el ANYONE ?????
  5. Message-ID: <0eWH_ba00hNS4Za1VE@cs.cmu.edu>
  6. Date: 12 Aug 92 07:47:51 GMT
  7. Article-I.D.: cs.0eWH_ba00hNS4Za1VE
  8. References: <1992Aug12.035635.13615@bnr.ca>
  9. Organization: Carnegie Mellon, Pittsburgh, PA
  10. Lines: 23
  11. In-Reply-To: <1992Aug12.035635.13615@bnr.ca>
  12.  
  13. I seem to recall someone posting about it, but don't recall now and
  14. can't find the article. At any rate, I have a hacked version of C mode
  15. that I use as tcl-mode; the one gotcha is that you have to use
  16. semicolons like C, e.g.
  17.     proc foo {} {
  18.         stmt1;
  19.         stmt2;
  20.         if {blather} {
  21.             x;
  22.         }
  23.     }
  24. or else tcl-mode gets confused about indentation. I find this easier
  25. anyway, since it's less of a context switch when I flip between editing
  26. C and tcl code. I've uploaded this dumb little thing onto barkley, but
  27. until adrian puts it somewhere you can also get it via anonymous ftp to
  28. sambar.ndim.edrc.cmu.edu (128.2.214.236) under
  29. /afs/cs/user/snl/public/tcl-mode.el.Z (don't forget binary mode).
  30.  
  31. Cheers,
  32.             -- Sean
  33. --
  34. Sean Levy, n-dim Group, EDRC, CMU, 5000 Forbes Ave, PGH, PA 15213
  35. Email: snl+@cmu.edu, Phone: +1 412 268 5221, Fax: +1 412 268 5229
  36.