3 ms·
> No lisp-aware editor will indent it like that. Emacs Lisp has an entire form for controlling macro indenting like that. https://www.gnu.org/software/emacs/m
by morelisp 6y ago
> No lisp-aware editor will indent it like that.
Emacs Lisp has an entire form for controlling macro indenting like that.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Indenting-Macros.html https://www.gnu.org/software/emacs/manual/html_node/elisp/In...
- bjoli 6y agoNo. That is a macro specifying how it should be indented, which is a great idea. Say if I as a macro writer could specify semantically what the macro arguments are. if I were to invent the let form, I would have (name binding-form body...) And have the editor properly indenting the body 2 spaces in (or whatever the editor specified). it would remove the little manual indenting I have to do myself (mostly because I haven't told Emacs how to indent some rarely seen forms).