From: Sergey Mozgovoy <egnartsms@gmail.com>
To: Emacs-devel@gnu.org
Subject: Re: Better indentation for elisp
Date: Thu, 21 Feb 2013 02:51:07 -0800 (PST) [thread overview]
Message-ID: <1361443867952-278923.post@n5.nabble.com> (raw)
In-Reply-To: <jwvhal72din.fsf-monnier+emacs@gnu.org>
There are 400 lines of code, after I added some better documentation and
comments. I decided to share it via pastebin
<http://pastebin.com/QXGGU0rW> , rather than to paste
the whole code directly in a message.. Excuse me if that's not an acceptable
way to share code here, it's just the first time I do it.
Some points to note:
1. New functions and macros were given "msv-" prefix (author's initials).
This should be changed.
2. As we cannot use CL package in "lisp-mode.el", I decided to
"reimplement"
loop and block/return-from. The other option would be to complicate
code with deeper nesting by using only primitive Elisp control flow
structures. I don't like it myself.. I just cannot afford anything
better
at the moment. AFAIK, the problem of partial reimplementation of CL
package in every Emacs library is well-known.
--
View this message in context: http://emacs.1067599.n5.nabble.com/Better-indentation-for-elisp-tp278668p278923.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.
next prev parent reply other threads:[~2013-02-21 10:51 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 [this message]
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=1361443867952-278923.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.