From: Didier Verna <didier@didierverna.net>
To: Sergey Mozgovoy <egnartsms@gmail.com>
Cc: Emacs-devel@gnu.org
Subject: Re: Better indentation for elisp
Date: Thu, 21 Feb 2013 16:54:48 +0100 [thread overview]
Message-ID: <m2sj4pvf07.fsf@didierverna.net> (raw)
In-Reply-To: <1361217567226-278668.post@n5.nabble.com> (Sergey Mozgovoy's message of "Mon, 18 Feb 2013 11:59:27 -0800 (PST)")
Sergey Mozgovoy <egnartsms@gmail.com> wrote:
> Standard indentation algorithm for Emacs Lisp is not perfect in some
> respects.
> Those who use SLIME know that there's a contrib *slime-cl-indent*
> which does some nice job of indenting Common Lisp code. SLIME
> indentation is different from that of Elisp in that it supports
> arbitrarily-nesting indentation patterns rather than simple values.
> I decided to just go ahead and try to write some Elisp indentation
> machinery.
Given that you think (and I agree) that the current Slime indentation
contrib is superior to the current one for Emacs Lisp, I don't quite
understand why you would want to write some new machinery.
The Slime contrib provides customizable indentation through the notion
of styles. Can't you just write an Emacs Lisp style that suits your
needs?
--
ELS 2013, June 3/4, Madrid, Spain: http://els2013.european-lisp-symposium.org
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
next prev parent reply other threads:[~2013-02-21 15:54 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
2013-02-21 10:51 ` Sergey Mozgovoy
2013-02-21 15:31 ` Stefan Monnier
2013-02-21 15:54 ` Didier Verna [this message]
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=m2sj4pvf07.fsf@didierverna.net \
--to=didier@didierverna.net \
--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.