Automatically open read-only files in View mode

When you open read-only files in Emacs, you probably won’t want to attempt to save them. Emacs will warn you if you try and help you deal with it. However, most of the time, it is interruptive to your flow to deal with it—most of the time, we never want to modify read-only files.

In that case, View mode will make it easier for you:

Toggle View mode, a minor mode for viewing text but not editing it.

When View mode is enabled, commands that do not change the buffer contents are available as usual. Kill commands save text but do not delete it from the buffer. Most other commands beep and tell the user that the buffer is read-only.

Enable it automatically with

(setq view-read-only t)

Via EmacsWiki!

Use all of Emacs’s modifiers on macOS with various keyboards.

When non-Emacs users observe Emacs users laboring over their key binding configuration their typical range of reactions include finding it to be interesting, surprising, remarkable, strange, weird, incredible, striking, bizarre, deviant, eccentric, freakish, monstrous, incomprehensible, inconceivable, incredible, unimaginable, and unthinkable. With that range reactions in mind it is self-evident that if you are reading this then you already know why you want to use more of the Emacs’s modifier keys you just want to know how. The purpose of this project is to capture one way of using all of Emacs’s modifier keys.

macOS 12 Sierra Brew Users: Read This Before Updating Anything

When I update Brew I minimize the terminal window so I can work on something else while it is running. Every so often I check to see if it finished. Then I read through the history to see if there is any work I need to perform by hand. For example sometimes Brew can’t link things and other times the package won’t even install. This has always worked well. Today I had a funny surprise though.

Continue reading “macOS 12 Sierra Brew Users: Read This Before Updating Anything”