Welcome

Shad Gregory's Blog

Get Those Greek Letters!

10/01/2024 10:23 :: emacsscheme

M-x set-input-methed RET TeX

  • Now typing \theta gives you θ!
  • Typing \lambda gives you λ!
  • \nabla gives you ∇! Ta-da!

Emacs is pretty good at text processing.

05/21/2023 23:23 :: emacs

One of the many great tips at this article at howardism.org is to remember to use keep-lines/flush-lines instead of grep. One of the great features of eshell is ability to redirect output to a buffer.

ls | sed G > #<mybuffer>

Now you can switch to mybuffer and use M-x keep-lines to find, say, all the text files.

Emacs backup files

02/21/2023 20:00 :: emacs

I've gotten a little sick of the "~" files littering my directories. Fortunately, adding the following to your init.el will send the backup files to one place in a single directory:

(setq backup-directory-alist '(("" . "~/.emacs.d/backup")))