I’m gradually working on a custom theme for emacs, and I wanted to make it easier to update and read. (It’s not quite ready to share, but I look forward to doing just that when it is.) Surprising no-one, the theme format on emacs is not incredibly … “clean.” It’s basically a command that passes… Continue reading Refactoring an Emacs theme
Year: 2019
Python 3 Iterable Unpacking Catch-all
I’m one of those terrible people that still haven’t switched over to using Python3 …just yet. But one thing that pleasantly surprised me recently was learning of the “new” starred expression catch-all that can be used when unpacking iterables. This lets you use up to one starred expression to receive the rest of the items… Continue reading Python 3 Iterable Unpacking Catch-all
Org-mode: Indirect Buffer, Narrowing to tree
Here’s a really quick Emacs Org-mode tip that I find extremely useful. In your config add the following two lines: (setq org-indirect-buffer-display ‘new-frame) (setq org-src-window-setup ‘other-frame) (Or just run it in your scratch buffer to try it out for your current session.) The first line sets the org-indirect-buffer-display variable to new-frame. Now when you call… Continue reading Org-mode: Indirect Buffer, Narrowing to tree