From: Sergey Mozgovoy <egnartsms@gmail.com>
To: Emacs-devel@gnu.org
Subject: Re: Better indentation for elisp
Date: Sun, 24 Feb 2013 00:29:52 -0800 (PST) [thread overview]
Message-ID: <1361694592746-279172.post@n5.nabble.com> (raw)
In-Reply-To: <m2sj4pvf07.fsf@didierverna.net>
Didier Verna-3 wrote
> 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.
Well, there are basically 2 reasons:
* Emacs Lisp indentation mustn't in any way depend on SLIME.
Emacs Lisp is a vital language and mode for Emacs, whereas SLIME
is just an ordinary extension package like, for instance,
Python or JavaScript mode.
So doing something like *(require 'slime)* from "lisp-mode.el" is
definitely wrong. Thus, we can either steal some ideas from
SLIME (and probably code, as well), or revert this dependency:
implement the whole customizable, pluggable and generally quite
complex algorithm in "lisp-mode.el" and adjust SLIME and other
lisp modes into this model.
I just chose the first path, for my personal use (at the time
being).
* I don't like the fact that they specify absolute indentation in
spaces, in SLIME. :) I'd agree that this is my subjective
attitude and may not be a general problem for most other people,
though.
On the whole, the main reason why I started this post is that I'd
want to see Emacs Lisp have really better indentation support. This
wouldn't require too much effort to implement, yet this would make it
much more convenient to use *macrolet*, *flet*, and other high-level
macros in Elisp.
--
View this message in context: http://emacs.1067599.n5.nabble.com/Better-indentation-for-elisp-tp278668p279172.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.
prev parent reply other threads:[~2013-02-24 8:29 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
2013-02-24 8:29 ` Sergey Mozgovoy [this message]
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=1361694592746-279172.post@n5.nabble.com \
--to=egnartsms@gmail.com \
--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 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.