Scrim Released

A couple of weeks ago, I wrote about Charles Choi’s Scrim beta. Scrim is an app that makes the Org Protocol work in macOS. The problem, as Choi explains is that Org Protocol depends on calling emacsclient to deliver the messages to Emacs. Unfortunately, this became impossible when Apple started sandboxing applications for security reasons.

Choi is a huge fan of Org Protocol so he he wrote Scrim to act as a native macOS client for Emacs server. That gets around the sandboxing and allows Org Protocol to work on macOS. Scrim is now available on the on the App store by itself or as a bundle with the related app Captee that allows sharing links from other applications via the share menu.

I’ve tried using Org Protocol before but could never get it to work. Now I understand why. If you too have tried and failed to get Org Protocol working, you can get Scrim and Captee for $7.99. That’s a very reasonable price and since the two apps scratch one of Choi’s itches, it’s very likely that they’ll be maintained on an ongoing basis.

Take a look at Choi’s announcement to see if Scrim might be helpful to you.

Posted in General | Tagged , | Leave a comment

JTR’s Month With Journelly

It’s been about a month since JTR (over at TAONAW) and I started using Journelly. Although it’s still in beta—but approaching its release date—I’ve nevertheless come to rely on it for my memo book. It’s smooth integration with Org mode and Emacs makes it a natural iOS front end for Org and a perfect fit for my memo book. Keeping its file in Org format and syncing it to my Mac make it really easy to integrate it into my Emacs workflow.

JTR has a post reporting on his own experience with using Journelly over the last month. Like me, he’s settled into using Journelly as part of his day-to-day work and depends on it even though it’s still beta software. As I discussed the last time I wrote about JTR and his use of Journelly, he uses it as a staging area for his other Org files. That appears to be working well for him and he’s been refining his workflow as he gains experience with the app.

One of his major concerns is dealing with the photos that he adds to the entries. He likes to tweak them in various ways such as reducing their resolution and sometimes even editing the photo itself. Happily, I don’t have those problems. I suppose it might happen that I need to work on a photo for some reason or another but I can do that from the comfort of my Mac.
If you’re dealing with the Journelly photos a lot, you might want to read about how JTR deals with the fact that Journelly names them with unique IDs that give no clue as to what the photo is of. The TL;DR is that he uses Dired thumbnails to see what each picture is about. The photos are kept in a separate file so it’s easy to display the thumbnails in Dired.

As I’ve said before, Journelly can adapt itself to a variety of workflows so it’s worth your while to read about as many of them as you can. Take a look at JTR’s post to see one of those workflows.

Update [2025-04-29 Tue 13:06]: In a subsequent post JTR writes a bit more about how he handles pictures in Journelly.

Posted in General | Tagged | Leave a comment

Digital Life Update

It’s been a while since my last post on living the digital life. For those of you just joining the conversation, I’m several years in on trying to live a digital life, by which I mean giving up pens and paper, recording all my records electronically, and enacting all my business digitally. My touchstone for how I know when I’ve achieved this is to be able to leave home with nothing but my iPhone. That means, among other things, no credit cards, no driver’s license, and no house or car keys. Other than my license and car keys, I’m pretty much there. Who knows, maybe Florida will get its act together before I die and I’ll be able to stop carrying a paper license.

In the meantime, the technical world has been moving on and cell phones are no longer the only feasible way staying connected remotely. Devices like the iWatch can now do much of what we previously relied on smart phones for. When the iWatch was first announced, it depended on an associated iPhone for most of its capabilities.

That’s no longer the case. The iWatch and its Android brethren now operate independently and can form the basis of our remote digital lifeline. It’s possible, as this article suggests, that modern e-watches can do most of what we’ve been depending on smart phones for.

After more than 20 years of not wearing watch—I had an iPhone that told me the time and much more; why would I need a watch—I recently got an iWatch to help track my health. I was surprised at how flexible it is. I can use it in place of credit cards, can control my Smart Home functions with it (including unlocking my door), can track my appointments, can receive and respond to texts, and can even make and answer phone calls.

That raises the question of whether the iWatch will replace my iPhone as my go to remote device. I don’t think so. I use the iWatch if in my phone is in my pocket and it’s easier to just use my iWatch but I mostly depend on my iPhone and keep it with me all the time. But who knows? Maybe we really will wear our digital interface on our wrists. What are you guys doing?

Posted in General | Tagged | Leave a comment

Sorting String In A Line

Charles Choi has posted a tip mostly, he says, as a reminder to his future self. It’s about how to sort strings on a single Emacs line. At first blush that may not seem all that useful but a moment’s thought will bring to mind all sorts of situations where it’s just what you need.

The secret sauce is sort-regexp-fields, which actually sorts a region whether or not it’s on a single line. When called interactively, you will need to supply two regexes. The first is used to identify the record and the second to identify the key of that record.

If you specify a match field in the record regex, you can use a match number (\n) for the key regex. If the key is the whole field, you can use \&.

Choi has an example that shows how to sort quote-delimited strings on a single line and the documentation has an example of sorting lines by the first word that starts with f. The documentation example shows how powerful the method really is.

In any event, this post is partially a reminder to future me and you should bookmark Choi’s post to remind yourself how to do it. It’s another one of those things that you don’t need very often but when you do, you’ll be really glad to have a reminder of how to do it.

Posted in General | Tagged | Leave a comment

Keeping Org Files Sorted

Christian Tietze has an informative post that tells us how to keep an Org file sorted. Your first question should be, “What do you mean by sorted?” Your second question should be, “What does ‘keep sorted’ mean?”

Tietze answers both these questions. The answer to the second question is easier. By “keep sorted” he means that after adding an entry to the file, it will automatically be inserted into its proper “sorted” place without the user having to do anything special.

The answer to the first question is “it depends”. Not very helpful, I know. The precise answer is “whatever sorting order you can describe with org-sort-entries.” Take a look at its documentation to see how many possibilities that entails. You can also provide your own comparison and data extraction functions so the practical answer is “just about any order you desire.”

There is, of course, a bit of configuration that you have to do to have all this take place. Tietze’s post explains how to set things up. The org-sort-entries function is so flexible that it will cover most cases out of the box but there is, as I said, an escape hatch for special needs.

This is another example of how much flexibility is built into Emacs and Org. Most users probably don’t need and aren’t even aware of the functionality that Tietze writes about but it’s there for those who do need it.

As I and others keep telling you, it’s not an editor, it’s a Lisp instance with built in editing commands. You can make just about anything you need happen, usually pretty easily.

Posted in General | Tagged | Leave a comment

Emacs Time Stamps

The Emacs Cat has a post on an Emacs feature that I use but had mostly forgotten about. It concerns the Emacs time stamp that lets you record in a file when it was last modified. I use it at the top of my init.el to record when it was last changed.

It’s pretty simple to use. You just add a Time-stamp: string somewhere in the first few lines of the file, do a tiny bit of Emacs configuration, and Emacs will add a time stamp whenever the file is saved. My impression is that it’s mostly used in init.el files but it can be used in any file that you edit with Emacs. The Cat’s post give some examples of using it with an Elisp file, an Org file, and a C++ file.

Usually you have to have the Time-stamp: as part of a comment but in some cases, as shown in the Org file, it can be part of the actual file data. Almost everything is configurable. You can specify how many lines from the top of the file to look for the Time-stamp, and you can specify what the time stamp itself with look like.

Take a look at the Cat’s post or the documentation for the details

Posted in General | Tagged | Leave a comment

eMacs On The iMac

Well, actually on any Mac but I couldn’t resist the symmetry. You’re probably wondering what this post is all about. It turns out that Apple computers are inclined to autocomplete “Emacs” to “eMacs”. That, apparently, is because Apple once sold a computer—mostly to the educational market—named the “eMac”.

Over at the Emacs subreddit, uamplifier explains this and provides a link to a Wikipedia article that gives the history of the eMac. All this may be marginally interesting to Emacs users on Macs but the comments provide an additional aspect.

The rest of this post is a sort of PSA for Emacs users on the Mac. The comments to uamplifier’s post explain how to eliminate this antisocial behavior. The first thing you can do is replace the Emacs → eMacs completion. That solves the problem but you can also just disable the Apple dictionary in settings. See the comments to uamplifier’s post for the details.

I’ve never had this problem, probably because I don’t use completion very much and never autocompletion. Nevertheless, I’m happy to see a solution because—due to my sensitive nature—I really hate seeing “eMacs” in posts. It always makes me think that the poster has been lobotomized by the eThis and eThat nonsense that is so endemic in our industry. Perhaps it’s Apple and not these people’s brain that are to blame. Regardless, if you’re using Emacs on the Mac and are having Emacs turned into eMacs, take a look at uamplifier’s post to see how to fix it.

Posted in General | Tagged | Leave a comment

Why You Should Stay In Emacs

Here at Irreal and in many other venues, you hear a lot about staying in Emacs. The hardcore among us treat having to leave Emacs as a fail. To outsiders, it can seem a little obsessive but it all goes back to having a uniform interface for dealing with text.

Here’s a delightful meme that expresses that impulse. As usual, the comments are really interesting. For a bit of context—as one of the commenters explains—with CUA the Ctrl+a Ctrl+x Ctrl+s selects everything, deletes it, and saves the file; definitely not what you get from Emacs.

It’s astounding how many of the commenters say that they’ve fallen victim to the same sort of thing. Others complain of deleting browser tabs with Ctrl+w. One said that he had moved even browsing into Emacs despite its being suboptimal. At least the key bindings do what you expect them to.

There’s nothing really profound in the post but it is amusing and, as I said, the comments are interesting. They show that those of us who would prefer to stay in Emacs are not alone.

Posted in General | Tagged | Leave a comment

Avoiding Emacs Pinky

Right after it’s too hard to learn, the second most frequent complaint about Emacs is how hard it is on your hands—especially your left pinky—because of its default keybindings. A lot of that has to do with the placement of the Ctrl and Alt keys on modern keyboards.

Sudoshred has a video that explains his system for avoiding Emacs pinky. The TL;DR is that on the Mac you should swap the left Ctrl and Alt keys. That way, you can press and hold Ctrl with your thumb and avoid stressing your fingers. Sudoshred says that since he began doing that his RSI problems have disappeared. The solution for other operating systems is similar.

He also suggests some hand stretching exercises and keeping your hands off the keyboard when you aren’t actually typing. Notice that his advice differs from the usual suggestion to swap Ctrl and Caps Lock, which is what I do.

Some of the comments claim that Emacs pinky is a made up problem harking back to older keyboards and that swapping Ctrl and Caps Lock is all you really need to do.

Some Irreal readers will beg to disagree. They say, for example, that they have to use Evil mode because of RSI problems. I take them at their word. On the other hand, I’ve been using Emacs virtually everyday, all day for almost 20 years and haven’t had any problems. And, by the way, I do everything wrong. These days, most of my tube time is on my couch with my laptop on my lap and I do keep my hands on the keyboard most of the time.

The takeaway is that I don’t know what the best method of avoiding Emacs pinky is. If you’re lucky like me it’s not a problem. If you’re like Sudoshred, a simple key swap will make the problem disappear. If you’re like many other people, you’ll have to give up the default keybinding and move to Evil mode or perhaps something like Xah Lee’s Fly Keys.

Posted in General | Tagged | Leave a comment

Newsticker

Here at the Irreal bunker we’re trying to recover from an, um, excess of enthusiasm for our Easter dinner with relatives. My torpor is preventing me from putting together a detailed post so here’s a short take on something I’ve been meaning to mention.
When I think about reading RSS feeds from within Emacs, the only things that come to mind are Gnus and Elfeed. You all know by now that I’m a huge Elfeed fan and can’t imagine using anything else.

A couple of weeks ago I can across a post from Ruslan Bekenev about a third option: Newsticker. The interesting thing about it is that it’s builtin. Those of you who like minimal configurations with as few packages as possible may want to check it out. If you think you might be interested, take a look at Bekenev’s post. It looks like a very nice application but as I said, I’m very happy with Elfeed and have no desire to try anything new.

Posted in General | Tagged | Leave a comment