miniblog.
← Back to all posts
Jun 6, 2016 at 20:43
TIL about midnight-mode, an Emacs package for cleaning up old buffers:
https://emacs-fu.blogspot.co.uk/2010/03/cleaning-up-buffers-automatically.html
(courtesy of #churchofemacs today!)
emacs-fu: cleaning up buffers automatically
emacs-fu.blogspot.co.uk/2010/03/cleaning-up-buffers-automatically.html
Wilfred Hughes
Related Posts
Apr 7, 2019 at 19:50
Today I learnt that Emacs keyboard macros can just be strings in a keymap! (global-set-key (kbd "C-c h") "hello") Types the keys h, e, l, l, o in the current buffer, which might insert or do something else depending on the mode.
Wilfred Hughes
Shared words: Emacs, mode, buffers, today Score: 95.2
Sep 20, 2018 at 23:28
Today I learnt that Emacs has a notion of 'permanent' variables!
https://www.gnu.org/software/emacs/manual/html_node/elisp/Creating-Buffer_002dLocal.html
These are variables that persist even when you change major mode (which generally resets buffer-local variables).
Creating Buffer-Local (GNU Emacs Lisp Reference Manual)
Creating Buffer-Local (GNU Emacs Lisp Reference Manual)
Wilfred Hughes
Shared words: Emacs, mode, buffers, today Score: 95.2
Aug 10, 2017 at 22:09
Today's awesome Emacs package: fence-edit!
https://github.com/aaronbieber/fence-edit.el
(helps you edit fenced code in e.g. .md, just like C-c ' in org-mode)
GitHub - aaronbieber/fence-edit.el
Contribute to aaronbieber/fence-edit.el development by creating an account on GitHub.
Wilfred Hughes
Shared words: Emacs, mode, package, today Score: 90.2