Tuesday, March 22, 2022

Emacs Font Size

 Emacs (on Mac OS) font size kept changing on me. I finally figured out what was causing it.

CTRL-OPT + two-finger swipe up/down

And the status line, where it shows the file type, actually shows +1, +2, etc when the font size increases by one or two steps, etc.

This was driving me crazy. I'm going to blame this, like everything else, on the enormous trackpad.

Monday, March 07, 2022

Emacs for Mac and Full Disk Access

 I know Apple is just trying to protect us. Locking down file access was surely the right thing to do from a security point of view. But it does make life a little complicated.

And so why not require that an app like Emacs needs to be explicitly granted Full Disk Access in order to do its job? This ensures that an app that has not been granted such access will not be able to have its way with your file system.

But there's a catch, in some cases. And in this case, if you've granted access to Emacs, you still can't access to the Downloads folder. Now I don't know about you, but I accumulate quite a bit in my Downloads folder, and if I download something from the browser from the email, I often want to look at it in Emacs before I do anything else with it. But you can't, not with Emacs.

Not unless you grant access to Ruby, that is. In order for Emacs to access the Downloads folder, you actually have to grant Full Disk Access to /usr/bin/ruby. I have no idea why. And does granting this access sound like a good idea to you? Yeah, no - me neither. But if you don't know, now you know. And at least you can make a choice about it now.