[Top][All Lists]

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

Re: Lisp mode doc, and Lisp indentation props

From: Andy Moreton
Subject: Re: Lisp mode doc, and Lisp indentation props
Date: Sun, 09 Aug 2015 18:56:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt)

On Sun 09 Aug 2015, Ian Zimmerman wrote:

> Is there a document (Info format preferred, but another format would be
> ok of course) describing the Emacs Lisp mode, from a _user_ POV,
> similarly to how CC mode is documented, for example?  Strangely, I
> cannot find one.
> The specific information I'm after is about those little properties on
> symbols that make some forms indent specially.  For example, what is
> responsible for this difference:
> (call-foo-with-args (nested-call arg1)
>                     arg2)
> vers.
> (when (nested-call arg1)
>   arg2)

The declare macro can be used to add an indent property to a function or
macro, which tells the mode how to compute required indentation. This is
described in the Emacs Lisp manual at (info "(elisp) Declare Form").


reply via email to

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