A blog about everything, by Jack Baty

Devil-mode for Emacs

BSAG posted recently about an Emacs mode I’d never heard of called Devil mode and it looked like a fun thing to try, so I did.

Devil mode trades your comma key in exchange for a modifier-free editing experience in Emacs. Yes, the comma key! The key you would normally wield for punctuation in nearly every corner of text. Yes, this is twisted! It would not be called the Devil otherwise, would it?

Installation using use-package was pretty straightforward.

(use-package devil
  :ensure t
  :config
  (global-devil-mode)
  (global-set-key (kbd "C-;") 'global-devil-mode)
  (devil-set-key (kbd ";")))

Note that I changed the binding to use ; rather than the default comma because I found that the default configuration messed with the default Howm bindings and I’m not changing those yet. Also, all my text expansion shortcuts start with , so that would be a pain to change.

After the first hour or so, I’m not sure if this will work for me. I need to give it a few days, to be sure. It’s great having some optional, nicer bindings for certain things. For example, I don’t like any C-x chords on my HHKB keyboard (or any, really). It feels awkward, even after a decade of use. Using ; x instead feels better already.

The problem for me is getting used to it. Right now it feels like every time I need to invoke some command, I need to decide if I want to use the native bindings or Devil mode. That friction is going to be a problem for a while.

Another issue is that the which-key package doesn’t fire when using the ; binding. The BSAG post mentioned a which-key fork that fixes this, but I’d prefer to avoid forks for things as important as which-key.

I’ll let you know how I’m feeling after using Devil mode for a few more days.

Saturday, July 20, 2024

I noticed that I had an Emacs function named jab/blot-new-journal so I ran it and here we are. Why do I do all the work of streamlining and optimizing a process just to abandon it later? It’s a mystery.

However, I don’t know that using Blot for daily note (aka journal) posts makes sense. Feels less integrated than with the Kirby or Tinderbox sites. Still, it would be nice typing into an Emacs buffer throughout the day rather than a web form.

Ethicswishing - Robin Berjon

Ethicswishing

Pointing out ongoing problems is important — Rosa Luxembourg went so far as to say that the most revolutionary thing one can do is always to proclaim loudly what is happening” — but it is dangerously easy to live just there.

How about a Blot post?

I mean, I’m already in Emacs, so why not just run a quick M-x jab/blot-new-post and start typing? So that’s what I’ve done here.

Hi! 👋🏻.

File Management Fatigue

It’s possible that I’m losing my willingness to constantly deal with naming, organizing, managing, and backing up hundreds or thousands of files. I think what’s happening is that I’m suffering from File Management Fatigue.

How many of my daily interactions with computers involve a file dialog of some sort? Too many! Save As…”, Open…”, Move to…” and friends are a constant interruption. I have entire workflows built around managing files using Emacs.

I spent the past month organizing files using yet another system1.

My photos are in a carefully constructed hierarchy of folders. Each photo has been precisely named using one of about 35 different naming conventions I’ve switched to over the years. They are a well-organized mess, is what they are.

I guess I’m just tired of thinking about it. It’s embarrassing to think about how much time I’ve spent managing files. Or worse, how much time I’ve spent thinking about managing files.

And for what? In a couple years Spotlight or Siri or whatever will probably do all of this for me. Hey Siri, please summarize, organize, tag, and rename all of the files here based on content and context, thanks.” What do you bet that the results of that will be plenty good enough?

A side effect of this feeling has been a shift toward apps that abstract away file names. I’ve been putting stuff again into TiddlyWiki. I’ve been taking notes using Bear. I’ve been blogging with Scribbles and Pika2. I’m even journaling again with Day One. Each of those abstracts away the file names, but allow me to easily get at” the underlying files via export. There’s some comfort in that.

What will likely happen is that after a week I’ll become twitchy about not having a Reveal in Finder” option and so I’ll fall back into my comfort zone full of files. That’s OK too. I know how to deal with files. I’m just tired of doing it.


  1. If you must pick a system, Johnny Decimal is a good one.↩︎

  2. You’ll notice this post is using Blot, which means it’s a Markdown file that I had to create myself and put in the correct place using the correct name. See what I mean?↩︎

Photography as a record makes less sense as I grow old

I love looking through really old photos. Photographs, to me, are a record. They show me how things were back then”.

I’ll be 60 years old in July. It occurred to me that I’ll be dead before the photographs I take today are interesting as a record of life. Back then” isn’t going to be that far back, so what, then, are any new photographs for? This uncomfortable question has introduced a sort of nihilism into my attitude towards photography.

What about your kids and grandkids and so on? Won’t they enjoy seeing things as they were?” I don’t know, will they?

I kept 24 of my grandfather’s photo albums. No one else wanted them after he passed. Every photo is captioned with a date, place, and the names of the people in it. They are priceless, and yet, they are sitting in storage. As important and treasured as I claim that they are to me, I sometimes wonder why I keep them. Would anyone even notice if I tossed them into the bin? Would I?

My daughter has heard me preaching Print and save your precious photos!” her entire life. And yet, it wouldn’t surprise me if she tossed all of my stuff as soon as I’m gone. I hope she doesn’t, but she might. Who wants to drag all that crap around forever? It’s just a bunch of old photos.

No Thanks - iA

No Thanks

We can be both critical and appreciative of new technology without categorically accepting or rejecting it.

Most of what I see online either categorically accepts or rejects nearly everything. My wish is that each of us is able to gain a more nuanced perspective about things…and only then start writing about them.

Reading Wise again

I signed up for Readwise again. The idea is that I’d like it to be easier to save, read, annotate, and archive articles. I have fancy ways to do that already, but they’re too fancy, if you know what I mean. I’m hoping to just click something and go find it later, without the need to figure out where to put it or what to name it or where I might want to read it.

I’d like to work on a long-form article->reMarkable tablet workflow, but haven’t begun looking at that yet.

Kobo book highlights are imported automatically, for books purchased via Kobo. Any sideloaded books require a small app on my Mac.

I kind of missed the daily highlight summary emails, too.

It’s $8.99/month and I’m paying monthly because I change my mind a lot and in the end it’s often cheaper to pay monthly.

Taking a break from complicated blogs

Yesterday, I thought I’d try building a movie review bluebrint and templates for baty.net. Kirby CMS makes things like that relatively easy to implement. And I even had a giant leg up from Kev Quirk, who had shared his book review templates with me earlier. All I had to do was tweak them and integrate them into my site.

After a short time, I lost energy for it. It’s not that it was terribly difficult, but I just didn’t feel like doing it. I didn’t feel like remembering how Kirby’s controllers and collections and templates and snippets and models worked. I set up my original Kirby site using their starter template and after a week or so of figuring things out, I stopped messing with it and just posted stuff. I lost interest in how it worked. I would type and hit the Post button.

But Kirby is so flexible it’s nearly impossible to resist trying to build something with it. I don’t feel like building something with it right now, so I’m writing this on my Blot.im blog instead. Although Blot does have a templating system and can do some clever things, for some reason I’m only rarely tempted to change or add anything.

I’m having similar feelings about daily.baty.net, which is built using Tinderbox. It’s powerful, flexible, and I break stuff in there kind of regularly. Not in the mood.

So here we are, typing a simple Markdown file in a Dropbox folder using Obsidian and letting Blot deal with the rest this morning. Tomorrow I may use Emacs instead. Or maybe BBEdit. Point is, it feels uncomplicated and that’s what I’m looking for right now.

Test from Obsidian

Since I’m already typing in Obsidian this morning, I figured I would test my Blot workflow in the new vault. If you’re reading this, it worked.

Yeah, I’m still trying to wrest some of my writing free of Emacs’ gravitational pull, but it’s not easy. And I’m not convinced I even want to.