From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: correct indentation for flet and labels macros
Date: Tue, 31 Aug 2004 11:44:18 +0200 [thread overview]
Message-ID: <je7jrfzlot.fsf@sykes.suse.de> (raw)
In-Reply-To: <ch0pje$85t$1@sea.gmane.org> (Suraj Acharya's message of "Mon, 30 Aug 2004 20:00:05 -0700")
Suraj Acharya <sacharya@bea.com> writes:
> The latter is the behavior is would get from let, but since the arguments
> are special for flet and labels it would be nice the former. How does
> defun get its special indentation for example ?
Just by virtue of being named starting with "def". See
lisp-indent-function, which calls lisp-indent-defform in this case. But
the function responsible for indenting flet is lisp-indent-specform,
because flet has a lisp-indent-function property with an integer value.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2004-08-31 9:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-31 2:26 correct indentation for flet and labels macros Suraj Acharya
2004-08-31 2:45 ` Davis Herring
2004-08-31 3:00 ` Suraj Acharya
2004-08-31 9:44 ` Andreas Schwab [this message]
2004-09-01 2:06 ` Suraj Acharya
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=je7jrfzlot.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).