From: Andy Moreton <andrewjmoreton@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Lisp mode doc, and Lisp indentation props
Date: Sun, 09 Aug 2015 18:56:00 +0100 [thread overview]
Message-ID: <86r3nctkgf.fsf@gmail.com> (raw)
In-Reply-To: 20150809162713.28164.01394993@ahiker.mooo.com
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").
AndyM
next prev parent reply other threads:[~2015-08-09 17:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-09 16:36 Lisp mode doc, and Lisp indentation props Ian Zimmerman
2015-08-09 17:56 ` Andy Moreton [this message]
2015-08-09 18:17 ` Ian Zimmerman
2015-08-09 20:31 ` John Mastro
2015-08-09 20:51 ` Andy Moreton
2015-08-09 21:00 ` Michael Heerdegen
2015-08-10 0:00 ` Drew Adams
2015-08-09 18:07 ` Marcin Borkowski
2015-08-11 0:58 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86r3nctkgf.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.