From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chris Gordon-Smith'" <use.address@my.homepage.invalid>,
<help-gnu-emacs@gnu.org>
Subject: RE: Tabs and Spaces
Date: Tue, 26 May 2009 15:03:09 -0700 [thread overview]
Message-ID: <FF4941A950A04CA384395B3F52272099@us.oracle.com> (raw)
In-Reply-To: <7835dsF1kbm4vU1@mid.individual.net>
> Since it is unlikely that the built in emacs parsing /
> indentation will be able to handle my modified syntax,...
> For the longer term, I definitely want to work out how
> to customise the indentation for my purposes.
It's not hard, actually. It's just not well documented (IMO).
See the Emacs manual, node `Lisp Indent'.
Personally, I think the explanation given there is inadequate, and this (or
more) should really be in the Elisp manual (you need some Lisp code to customize
indentation of various Lisp sexps) - there is nothing in the Lisp manual about
it. I've just filed a doc bug about this.
After reading that node, `grep' the Lisp source code for places where it puts
property `lisp-indent-function' on various function and macro symbols. Just copy
what's done there. See also `C-h f lisp-indent-function', which describes the
function that uses the symbol property.
next prev parent reply other threads:[~2009-05-26 22:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-25 10:48 Tabs and Spaces Chris Gordon-Smith
2009-05-25 11:48 ` Pascal J. Bourguignon
2009-05-25 12:17 ` Chris Gordon-Smith
2009-05-25 13:48 ` Pascal J. Bourguignon
2009-05-25 14:58 ` Chris Gordon-Smith
2009-05-25 15:10 ` Teemu Likonen
2009-05-25 15:58 ` Chris Gordon-Smith
2009-05-25 16:38 ` Pascal J. Bourguignon
2009-05-25 15:14 ` Pascal J. Bourguignon
2009-05-25 15:36 ` Richard Riley
2009-05-25 16:10 ` Pascal J. Bourguignon
2009-05-25 16:19 ` Richard Riley
2009-05-25 16:15 ` B Smith-Mannschott
2009-05-25 17:03 ` Drew Adams
2009-05-25 21:45 ` Chris Gordon-Smith
2009-05-26 1:08 ` Pascal J. Bourguignon
2009-05-26 21:31 ` Chris Gordon-Smith
2009-05-26 22:03 ` Drew Adams [this message]
[not found] ` <mailman.7877.1243375379.31690.help-gnu-emacs@gnu.org>
2009-05-26 22:40 ` Pascal J. Bourguignon
2009-05-27 20:38 ` Chris Gordon-Smith
[not found] ` <mailman.7772.1243271023.31690.help-gnu-emacs@gnu.org>
2009-05-25 21:48 ` Chris Gordon-Smith
[not found] ` <mailman.7771.1243268169.31690.help-gnu-emacs@gnu.org>
2009-05-26 12:29 ` Francis Moreau
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FF4941A950A04CA384395B3F52272099@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=use.address@my.homepage.invalid \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).