From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Sergey Mozgovoy <egnartsms@gmail.com>
Cc: Emacs-devel@gnu.org
Subject: Re: Better indentation for elisp
Date: Wed, 20 Feb 2013 10:47:58 -0500 [thread overview]
Message-ID: <jwvhal72din.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <1361372158545-278835.post@n5.nabble.com> (Sergey Mozgovoy's message of "Wed, 20 Feb 2013 06:55:58 -0800 (PST)")
>> I generally like the indentation specifications you suggest (except
>> for `defun': why do we need it?).
> For backward compatibility. Aside from this, I'm sure we do not, at all.
OK, that makes sense.
>> So, I think I could be convinced, but only if the new indentation
>> algorithm is sufficiently simple.
> Well, my algorithm is essentially the same in logic as the standard
> one, plus some code for matching indentation patterns and walking up
> through containing sexps. This is 300-350 LOC (including heavy
> comments) which would supersede existing 265 lines in "lisp-mode.el".
> Obviously, it is not tested and verified thoroughly.
> If you're interested, I can just post here a diff against "lisp-mode.el".
Please do,
Stefan
next prev parent reply other threads:[~2013-02-20 15:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 19:59 Better indentation for elisp Sergey Mozgovoy
2013-02-18 20:45 ` Thierry Volpiatto
2013-02-19 6:23 ` Sergey Mozgovoy
2013-02-19 6:55 ` Thierry Volpiatto
2013-02-19 13:53 ` Stefan Monnier
2013-02-19 15:41 ` João Távora
2013-02-20 14:55 ` Sergey Mozgovoy
2013-02-20 15:47 ` Stefan Monnier [this message]
2013-02-21 10:51 ` Sergey Mozgovoy
2013-02-21 15:31 ` Stefan Monnier
2013-02-21 15:54 ` Didier Verna
2013-02-24 8:29 ` Sergey Mozgovoy
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=jwvhal72din.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=Emacs-devel@gnu.org \
--cc=egnartsms@gmail.com \
/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.