[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better indentation for elisp
From: |
Sergey Mozgovoy |
Subject: |
Re: Better indentation for elisp |
Date: |
Thu, 21 Feb 2013 02:51:07 -0800 (PST) |
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.
Re: Better indentation for elisp, Didier Verna, 2013/02/21