help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: declare indent for common lisp?


From: Rupert Swarbrick
Subject: Re: declare indent for common lisp?
Date: Sun, 03 Aug 2008 12:27:14 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Joost Kremers <joostkremers@yahoo.com> writes:
> Pascal J. Bourguignon wrote:
>> You could put these forms in the local variable section in your
>> source files,
>> ;; Local Variables:
>> ;; eval: (put 'example 'lisp-indent-function 3)
>> ;; End:
>> but this is not convenient.
>
> it may be enough for my purpose, though, ATM there's just a couple of
> macros i want to do this for. but i'll save your code and check it out if i
> find it's really not convenient.
>

The only problem I can see with this is when you have a macro defined in
one file which is used somewhere else in your lisp application. This
property won't be set until you've opened a buffer with the file with
your local variable in...

Perhaps it's worth having a global .lispyindents or whatever as Pascal
suggested?

Rupert


reply via email to

[Prev in Thread] Current Thread [Next in Thread]