miniblog.
← Back to all posts
May 26, 2015 at 22:12
Emacs tip of the day: M-: evaluates elisp snippets, but C-u M-: inserts the result into the current buffer. Really handy for quick scripts.
Wilfred Hughes
Related Posts
Sep 24, 2016 at 22:24
Emacs command of the day: quick-calc. Great for quick arithmetic from Emacs. With a prefix, inserts the result in the buffer too.
Wilfred Hughes
Shared words: Emacs, day, inserts, result, buffer, quick Score: 221.8
Aug 15, 2015 at 14:40
Emacs' ielm is invaluable for playing with elisp snippets. Tip: use * to access the result of the previous expression.
Wilfred Hughes
Shared words: Emacs, elisp, snippets, tip, result Score: 197.8
Jan 11, 2017 at 21:33
Emacs tip: revert-buffer will reset a buffer as if you've just opened it. Handy if you've just chmod'd a shell script: switches to sh-mode.
Wilfred Hughes
Shared words: Emacs, tip, buffer, handy, scripts Score: 154.6