Red Meat Friday: Text Editors in Lord of the Rings

If editors were places from Lord of the Rings, what would they be? Kieran Healy has an amusing answer.

My only complaint is that Word is not a text editor. Still, its assigned place is apt.

Posted in General | Tagged , | Leave a comment

The Interactive Declaration and Modes

Something that every Emacser knows is that learning Emacs is a lifelong journey. Even after years of use, we’re always discovering something new. Marcin ‘mbork’ Borkowski is always discovering new things and, happily, sharing them with the rest of us.

His latest discovery actually is something new. So new it hasn’t been officially released yet. Borkowski, being more courageous than I, doesn’t bother with releases; he simply compiles Master every once in while. The discovery is that the interactive declaration can now take extra arguments that specify which modes the function is valid for.

Functions with such a declaration appear in the describe-mode listing for any of the specified modes and it’s easy to arrange for the function not to be considered for completion when not in one of the specified modes.

Head on over to Borkowski’s post for the full story. He says that it should be in 27.2 but as far as I can tell, it isn’t. It looks as if it will be a helpful addition to the Emacs toolset.

Posted in General | Tagged | Leave a comment

The Info Index

Being an old time Unix head, I had a hard time warming up to the GNU Info system. I preferred the man pages when they were available and found the info utility hard to use. That’s probably because I was using Vi at the time and the key bindings were unfamiliar. The ironical twist that you had to read the Info manual to learn how to use info didn’t help.

That changed when I started using Emacs and Info became a natural and extraordinarily useful feature. Now I get annoyed when some tool I’m using doesn’t have an Info node. At this point, I’ve been using it for almost a decade and half and am pretty familiar with its ins and outs but Marcin Borkowski (mbork) taught me something new.

It turns out that if you use I instead of i to access the index, Emacs will build a virtual node that that has an entry for every term in the index that matches what you’re searching for. You can see this in action by bringing up the Elisp node and then searching (with I) for car.

That’s pretty useful and mbork has a bit more so be sure to take a look at his post.

Posted in General | Tagged | Leave a comment

Deleting Git Branches

Over at Emacs Redux, Bozhidar Batsov has a nice post on deleting Git branches. Batsov says that no one really knows how to do it and those who say they do are lying. That may be ever-so-slightly hyperbolic but probably captures a general truth.

The thing is, the operation is trivial with Magit. Those who are already Magit users probably don’t need any other reasons for using it but the operation is a striking example of how Magit makes using Git easier. It’s a small thing but it’s useful to know how to perform a commonly needed operation. See Batsov’s post for the details. It’s a short post and the process is pretty simple so click on over right now while you’re thinking about it.

Posted in General | Tagged , | Leave a comment

A New Version of Mu/Mu4e Is Coming

Dirk-Jan C. Binnema (DJCB), the developer of the mu/mu4e suite, has announced that version 1.6 of the programs are coming. The current stable version, 1.4.X, was released a year ago and since then development has been taking place in the 1.5.X branch. DJCB says that they’ve frozen 1.5 to just bug fixes and documentation so that they can release the new stable version, 1.6.

His announcement includes a links to the version 1.5 News file so you can see what’s coming if you can’t wait to see. At this point, the programs are mature software so the update is basically polishing and small UX improvements. One significant change is that the gnus-based message viewer is now the default, although you can, of course, keep the old viewer if you like. Other than that, the indexing has been improved as has support for S/MIME, faster crypto, syntax highlighting, and calendar invitations.

I’ve been using mu/mu4e since (I think) the 0.9.6 version and have never looked back. It’s easy to organize and read your emails and for those that really depend on HTML, a quick key press will pop them up in EWW or your browser. This is GREAT software and I wouldn’t want to live without it.

Posted in General | Tagged , | Leave a comment

Org Mode 9.4.5 Released

Bastien Guerry tweets that Org 9.4.5 is out:

It’s a bug-fix release so don’t expect any new or changed functionality.

Perhaps more important is the news that after the upcoming Org 9.5, releases will no longer be available on the Org ELPA. Stable version will be available on GNU and non-GNU ELPAs. Also after 9.5, the point releases will be reserved for bug fixes and the whole number releases will be for major releases. You can read about these changes here.

Posted in General | Tagged , | Leave a comment

More’s Law

Here’s a light moment to brighten your day. It doesn’t rise to Red Meat Friday status but it is amusing.

And, of course, its humor derives from its essential truth.

Posted in General | Tagged | Leave a comment

Emacs 27.2 Installed

Just a quick update on yesterday’s post. Last night I took a few minutes to download, compile, and install Emacs 27.2. The compilation completed without any problems. Really, I don’t know why people go hunting all over the Web for binaries when it’s so simple to just compile it. Even on the Mac it’s easy. Here’s the magic spell that I use:

configure --with-ns CFLAGS="-g3 -O2 -I /usr/local/include/libxml2"
make
make install
make install-info
sudo mv  nextstep/Emacs.app/ /Applications/

As usual, the hardest part was getting macOS to open the new Emacs. That seems to change with every OS release. The (current) short answer is here. A longer explanation is here.

I’ve been running 27.2 for less than 24 hours but haven’t had any problems. The flickering problem is either fixed or at least much better. There doesn’t appear to be any reason not to upgrade and, of course, you can always save the previous binary—or in macOS’s case, the Emacs.app object—for easy reversion. I do that every time but have never had to revert to the old version.

Posted in General | Tagged | Leave a comment

Emacs 27.2 Is Out

Bastien Guerry tweets that Emacs 27.2 is out and has the latest stable version of Orgmode included:

Eli’s announcement along with the download links is here. As you can see from the announcement, it was released this morning so I haven’t has a chance to download and compile it yet but I’m not expecting any problems.

Thanks, as always, to Eli and the others for their selfless hard work in bringing us this release.

Posted in General | Tagged | Leave a comment

Emacs and TRON

Someone posted a pointer to this old item on BoingBoing about the movie TRON: Legacy and Emacs. Most Irreal readers have probably heard the story by now but it’s a nice piece of Emacs arcana that’s worth reposting for anyone who hasn’t seen it.

The piece is mostly a quote from JT Nimoy in which he describes how he settled on using Emacs for one of the scenes and how he shepherded the scene through the production process to make sure that artistic license wasn’t used to destroy its technical feasibility.

It’s a cute story and worth taking a look at if you haven’t seen it before. And it turns out that Nimoy used Emacs in real life, a fact that somehow makes the story even better.

Posted in General | Tagged | Leave a comment