I was trying to think of a good keybinding that I would like, and then I
remembered that kitty uses the ‘C-S-e’ keybinding and I've grown accustomed to
it.
This is a new variable in Emacs 30 that lets me specify which directories can be
trusted with local variable values. (Or it should be, I haven't seen it
available yet.)
Now that I've added the ‘org-table’ face to ‘yoshi-theme’[1] I can enable the
mode again and not be bothered by misaligned tables.
[1]: https://git.sr.ht/~ryuslash/yoshi-theme
- Show the output in a small window at the bottom of my screen.
- When the sync has completed successfully, close the output window.
- Automatically update the ‘*notmuch-hello*’ buffer when the process ends.
When Emacs is first started ‘treesit-extra-load-path’ is empty and any
‘(treesit-language-available-p ...)’ will return nil. But calling, for example,
‘bash-ts-mode’ will work if the package is installed in Guix and will fill the
variable.
- Set the ‘treesit-extra-load-path’ to the value of ‘TREE_SITTER_GRAMMAR_PATH’.
Emacs doesn't seem to do this automatically, but Guix sets that variable when
grammars get installed.
- Add ‘bash-ts-mode’ to the ‘interpreter-mode-alist’. In his article[1] about
tree sitter support in Emacs Mickey Petersen mentions that it's best to use
‘major-mode-remap-alist’, however in his example he remaps ‘bash-mode’ to
‘bash-ts-mode’, but there is no ‘bash-mode’. Setting the
‘interpreter-mode-alist’ like this still works.
[1]: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
It always confuses me that it's defined in ‘lisp-interaction-mode’, but not in
‘emacs-lisp-mode’. ‘emacs-lisp-mode’ has the same basic snippet under the key
‘def’.
This section is meant to come right after the first “hello” section. The hooks
should be set up in pre-new and post-new to make sure that everything that needs
to run before and after works as expected.
I haven't been using Gnus for a while and have been using notmuch instead.
Having my email sending settings be a part of the gnus configuration makes it
impossible to send email without loading gnus.