Newsgroups: comp.lang.icon Subject: Re: Icon major-mode for emacs References: <188ccf3c-98c9-4d56-9ba1-88aad131ca71@glegroupsg2000goo.googlegroups.com> From: Patrick Scheible Date: 06 Apr 2011 09:19:31 -0700 Message-ID: X-Newsreader: Gnus v5.7/Emacs 20.7 Lines: 35 Organization: The Zip Connection (zipcon.net) NNTP-Posting-Host: 3df2ac3f.news.zipcon.net X-Trace: DXC=QfETfUT@V:h0;6AGRXOA8iU>Dm5d6:E6mF\DSbL_<9Qcj^4@EGTjoUc_A>1gcoFWom=hi`A>N6T?o X-Complaints-To: abuse@zipcon.net Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-xxxfer.readnews.com!news-out.readnews.com!postnews7.readnews.com!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.icon:10 duke writes: > @Patrick > > It just might be that the icon major mode that ships with GNU Emacs > is the same as you posted. I can't tell for sure because it's a > byte-compiled "elc" file. In the same lisp directory with the .elc file there should be a .el.gz file with the source elisp compressed. Uncompress it with "gunzip" or read it with "zcat". > However, judging from the mode's behavior, and the menu that appears when I do a: > > M-` then i is: > > Possible completions are: > i==>Indent Line --- Line Indent Region > ---Comment Out Region e==>End of function > b==>Beginning of function > > Is that what you get? This appears to be all the functionality that > this huge major-mode provides, unless I'm seriously missing the bulk > of what it can do. Can you shed some more light on the mode's > capabiities, please? Obliged as always! A lot of the code is defining icon syntax, so autoindent and syntax highlighting and moving forward and backwards by functions works. I don't use more than that very much. It's documented in the source. Even if for some reason your linux distribution didn't include the compressed source files, you can read it from my posting yesterday. What all do you want in an editing mode? -- Patrick