Hi,
is there a better EMACS-Lisp mode than the default emacs-lisp-mode (I am
using EMACS 20.7.1)?
I would like to have something similar to the cmuscheme-mode. Its most
important features are:
1. Expressions can be evaluated from within themselfes with
scheme-send-definition, i.e. one doesn't have to go to the end of an
expression before evaluating it.
2. The output and results of Lisp expressions are send to a different
buffer (invoked with run-scheme) than the minibuffer.
In addition syntax highlighting is almost nonexistent in emacs-lisp-mode
when compared to the cmuscheme-mode. However, that's probably the fault of
font-lock-mode.
Felix
"Felix E. Klee" <··········@inka.de> writes:
> Hi,
>
> is there a better EMACS-Lisp mode than the default emacs-lisp-mode (I am
> using EMACS 20.7.1)?
http://ilisp.sf.net
Or if you use debian, http://cclan.sf.net, add the source to
sources.list and apt-get install ilisp.
--
-> -/ - Rahul Jain - \- <-
-> -\ http://linux.rice.edu/~rahul -=- ············@techie.com /- <-
-> -/ "Structure is nothing if it is all you got. Skeletons spook \- <-
-> -\ people if [they] try to walk around on their own. I really /- <-
-> -/ wonder why XML does not." -- Erik Naggum, comp.lang.lisp \- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
(c)1996-2002, All rights reserved. Disclaimer available upon request.
Rahul Jain <·····@sid-1129.sid.rice.edu> writes:
>"Felix E. Klee" <··········@inka.de> writes:
>> Hi,
>>
>> is there a better EMACS-Lisp mode than the default emacs-lisp-mode (I am
>> using EMACS 20.7.1)?
>http://ilisp.sf.net
>Or if you use debian, http://cclan.sf.net, add the source to
>sources.list and apt-get install ilisp.
Speaking of indentation in ilisp:
Anyone has a fix to do proper indendation of labels/flet/macrolet? The
normal emacs indent mode that ilisp reuses does not have a concept to
let the user specify indentation for things that look like parameters
to the parser. Since the body of an flet look a second parameter (the
labdalist being the first, I could not catch it to let it indented at
first indentation level instead of whereever the first parameter
started.
Wanted:
(flet ((foo-with-a-long-name (bar baz)
(+ baz baz)))
I get:
(flet ((foo-with-a-long-name (bar baz)
(+ baz baz)))
It seem the parser in lisp-mode doesn not have an entry point to treat
parameters to s-expressions differently based on their order.
Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <········@bik-gmbh.de> http://www.bik-gmbh.de/~cracauer/
FreeBSD - where you want to go. Today. http://www.freebsd.org/
········@counter.bik-gmbh.de (Martin Cracauer) writes:
> Anyone has a fix to do proper indendation of labels/flet/macrolet?
I have to admit that I am using the indentation routines from Franz's
ELI package, grafted into ilisp's lisp-mode. :)
--
-> -/ - Rahul Jain - \- <-
-> -\ http://linux.rice.edu/~rahul -=- ············@techie.com /- <-
-> -/ "Structure is nothing if it is all you got. Skeletons spook \- <-
-> -\ people if [they] try to walk around on their own. I really /- <-
-> -/ wonder why XML does not." -- Erik Naggum, comp.lang.lisp \- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
(c)1996-2002, All rights reserved. Disclaimer available upon request.
········@counter.bik-gmbh.de (Martin Cracauer) writes:
> Speaking of indentation in ilisp:
>
> Anyone has a fix to do proper indendation of labels/flet/macrolet? The
> normal emacs indent mode that ilisp reuses does not have a concept to
> let the user specify indentation for things that look like parameters
> to the parser. Since the body of an flet look a second parameter (the
> labdalist being the first, I could not catch it to let it indented at
> first indentation level instead of whereever the first parameter
> started.
>
> Wanted:
> (flet ((foo-with-a-long-name (bar baz)
> (+ baz baz)))
>
> I get:
> (flet ((foo-with-a-long-name (bar baz)
> (+ baz baz)))
>
> It seem the parser in lisp-mode doesn not have an entry point to treat
> parameters to s-expressions differently based on their order.
I haven't used ILISP for quite some time, but does this work:
(setq lisp-indent-function 'common-lisp-indent-function)
Regards,
--
Nils Goesche
Ask not for whom the <CONTROL-G> tolls.
PGP key ID 0xC66D6E6F
Nils Goesche <···@cartan.de> writes:
>I haven't used ILISP for quite some time, but does this work:
>(setq lisp-indent-function 'common-lisp-indent-function)
After doing
(require 'cl)
it does.
Thanks!
Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <········@bik-gmbh.de> http://www.bik-gmbh.de/~cracauer/
FreeBSD - where you want to go. Today. http://www.freebsd.org/