[slime-devel] Re: Macro indentation redux

Helmut Eller e9626484 at stud3.tuwien.ac.at
Tue Oct 19 10:47:43 UTC 2004


"Pascal J.Bourguignon" <pjb at informatimago.com> writes:

> Helmut Eller writes:
>> Using Common Lisp doesn't sound like an advantage to me.  Emacs Lisp
>> has lots of stuff that make writing indentation code easy: regexps,
>
> How do you write a regexp to match the following sexp?
>
> Anything that can do that would be much better than what emacs is now.

What are you trying to say?  You can't describe a sexp with a regular
grammar because sexps can be nested.  You need a context free grammar or
so.

If you want to parse a sexp use parse-partial-sexp.

Helmut.





More information about the slime-devel mailing list