Category Archives: General

Bad Emacs Advice

The incomparable Mickey has a few words to say on Bad Emacs Advice. Mickey and I have been using Emacs for approximately the same amount of time and although we are both still learning, we agree that there’s some well … Continue reading

Posted in General | Tagged | Leave a comment

Finding the Directory of the File in a Buffer

The other day I saw this Tweet In #Emacs, type `M-! open .` to open the directory containing the file currently in the editing buffer: https://t.co/NXBj6njdCM (on UNIX-like OSs) — Meng Lu · Computist (@lumeng) January 21, 2022 and it … Continue reading

Posted in General | Leave a comment

Open Access at Nature

As Irreal old-timers know, I am interested in and a supporter of open access. The academic publishing industry is deeply exploitive of everyone they deal with. That includes members of the public who provide financial support for much of the … Continue reading

Posted in General | Tagged | Leave a comment

Combining Find and Grep in Emacs

One of the classic Unix idioms is to search all files in a file hierarchy for some regular expression with a find/grep pipeline. For example, to search the lisp directory and all of its subdirectories for file containing the mapcar … Continue reading

Posted in General | Tagged | Leave a comment

Adding To a Keyboard Macro

Wilfred Hughes’ Emacs Command of the Day Twitter feed has a useful tip: Have you ever created a great keyboard macro, but wanted to add a few more keystrokes at the end? `C-u F3` will run the keyboard macro, and … Continue reading

Posted in General | Tagged | Leave a comment

MELPA Surpasses a Quarter Billion Downloads

From Steve Purcell: More than a quarter of a billion package downloads via @melpa_org to date, wow 🎉 — Steve Purcell (@sanityinc) January 18, 2022 I’ve said this before but it bears repeating: We all owe Purcell our thanks and, … Continue reading

Posted in General | Tagged | Leave a comment

Red Meat Friday: SICP in JavaScript

Remember a couple of weeks ago when I declared No. Just no? Well, here’s another, even more emphatic, refusal to accept the apocalypse. No. Just HELL no! The thing about SICP is how simple and beautiful the code is and … Continue reading

Posted in General | Tagged | Leave a comment

Automating Your Job

One of my favorite bits of—obviously apocryphal—Lisp folklore is the story of the invention of macros. The TL;DR is a that some senior Lisp developers got tired of writing the same boilerplate code all the time so that started using … Continue reading

Posted in General | Tagged | Leave a comment

Corner Quotes

John D. Cook has a useful post on using “corner quotes” (⌜ ⌟) to delimit regular expressions in text. As Cook says, it makes a lot of sense especially when the regular expression begins or ends with a space. Cook’s … Continue reading

Posted in General | Tagged , | Leave a comment

The UK Plans an Anti-encryption Campaign

Rolling Stone has an article on a planned UK Campaign against end-to-end encryption. Of course, after the University of Virginia rape story debacle, everything they report should be viewed, um, critically. That said, the story is disturbing. The Home Office … Continue reading

Posted in General | Tagged | Leave a comment