Groups | Search | Server Info | Login | Register


Groups > comp.lang.icon > #10

Re: Icon major-mode for emacs

Newsgroups comp.lang.icon
Subject Re: Icon major-mode for emacs
References <188ccf3c-98c9-4d56-9ba1-88aad131ca71@glegroupsg2000goo.googlegroups.com>
From Patrick Scheible <kkt@zipcon.net>
Date 2011-04-06 09:19 -0700
Message-ID <w9zvcyrbbe4.fsf@zipcon.net> (permalink)
Organization The Zip Connection (zipcon.net)

Show all headers | View raw


duke <sidney.reilley.ii@gmail.com> 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

Back to comp.lang.icon | Previous | NextPrevious in thread | Find similar


Thread

Re: Icon major-mode for emacs duke <sidney.reilley.ii@gmail.com> - 2011-04-06 05:35 -0700
  Re: Icon major-mode for emacs Patrick Scheible <kkt@zipcon.net> - 2011-04-06 09:19 -0700

csiph-web