miniblog.
← Back to all posts
Sep 13, 2016 at 04:10
Emacs has 25 special forms! I was surprised about save-excursion (presumably perf?) and prog2 (could be a macro!).
Wilfred Hughes
Related Posts
Oct 7, 2016 at 04:27
Current status: replacing prog2, an emacs lisp special form, with a macro:
https://gitlab.com/wilfred/emacs/commit/91967f11ed8a69ea29215e8219cafaef5f550fe2
Unsure if there's interest upstream.
Make prog2 a macro rather than a special form (91967f11) · Commits · Wilfred Hughes / emacs · GitLab
gitlab.com/wilfred/emacs/commit/91967f11ed8a69ea29215e8219cafaef5f550fe2
Wilfred Hughes
Shared words: Emacs, prog2, special, forms, macro Score: 215
Aug 15, 2015 at 17:31
The lisp macro -> is more powerful than function composition. For example, this is legitimate elisp: (-> 100 (goto-char) (save-excursion))
Wilfred Hughes
Shared words: excursion, save, macro Score: 73.5
Nov 27, 2015 at 13:18
Emacs command of the day: kmacro-name-last-macro. Concocted a great macro? Save your last macro as a named command for later use.
Wilfred Hughes
Shared words: Emacs, save, macro Score: 61.5