Org Entities

Today I saw this tweet about Org entities:

I didn’t realize how much I needed org-entities-help. It’s pretty easy to enter many of the common Unicode characters into an Org buffer but I usually didn’t know or had forgotten their names. With org-entities-help you get a nice (Org) buffer with the entity, its Org code, its \(\LaTeX\) code, and its HTML code.

I’ve been maintaining bookmarks to Xah Lee’s HTML/XML Entity List and a \(\LaTeX\) cheat sheet for the last two encodings but didn’t have a handy reference for the Org codes. Now I have all three in a single handy listing that I can bring up at will. If you do a lot of writing in Org mode you really should check it out.

Posted in General | Tagged , | 5 Comments

The New Luddites Strike Again

What do you get when you mate an Apple hater with a luddite? This.

If you’re one of those people who yearns for earlier, simpler times when there were no cell phones, feel free to throw yours away. Feel free to drop off the grid. Feel free to move to a cabin in the woods. But in the name of all that’s holy, please leave the rest of us alone. Stop being that guy in a tunic carrying a sign that says, “R E P E N T” and accosting hapless strangers with your message of doom.

Most of us actually like our smart phones and the digital life they enable. What we don’t like is being associated with Ted Kaczynski. And what do you want to bet that Chapman is one of those annoying people who is always speaking loudly on his cell phone in public places?

I’m sure Chapman is a decent enough guy but he really should stop writing profoundly silly articles like this one.

UPDATE [2017-09-20 Wed 19:29]: should → should stop.

Posted in General | Tagged | 3 Comments

Graphviz and Org Mode

Over at The Joy of Programming there’s a nice introductory post on using Graphviz’s dot command to draw graphs and how you can make the process almost interactive by calling dot from within an Org source block. The dot command language is pretty straightforward, at least for relatively simple graphs, so it’s easy to learn.

I almost always use dot when I want to draw a graph. There’s an excellent manual that shows how to make arbitrarily complex graphs. Page through the manual to get an idea of what you can do. If you don’t use dot very often you may forget the details. For simple graphs there are tools that make the process easier. One example is Org Mind Map that I wrote about the other day. It draws the graph from the structure of an Org tree. That may seem limiting but as the examples show, you can make reasonably complicated graphs with it.

Posted in General | Tagged , | 1 Comment

Orgmode 9.1.1

Bastien sends word that there’s a new version of Org out:

If, like me, you’re OCD about keeping up to date with Org, it’s already in Melpa. I’m not sure about Melpa-stable.

Posted in General | Tagged , | Leave a comment

Emacs Rocks! #16

After 3 years, Magnar Sveen has smiled upon us with a new episode of Emacs Rocks! For newcomers, Emacs Rocks! episodes are short videos of 2 or 3 minutes that explore some aspect of working with Emacs. If you haven’t already, be sure to spend some time watching them all. There’s a lot to learn.

The newest episode is about Dired. First Sveen shows how to make Dired show less information. This can be handy when you’re working with limited screen space and want to fit everything necessary into the Dired window. Sveen uses the dired-details package for this but you can get almost the same thing by toggling between short and long listings with (.

Next Sveen demonstrates how to easily copy files between directories by setting dired-dwim-target to t and opening another Dired for the target directory in another window. That’s very nice and it reminded me about using o to open a directory in another window.

Finally, Sveen demonstrates what is surely one of the nicest features of Dired: the ability to make the Dired buffer writable. Once made writable, you can make changes to the file names and/or attributes and those changes are reflected in file system when the buffer is saved. I use this all the time and it makes dealing with file changes so easy it would be reason enough by itself to use Dired.

This episode is only 1 minute 35 seconds long so there is no reason not to watch it now. Just follow the link.

Posted in General | Tagged | 1 Comment

The ed Editor

If you’re a Vim or Emacs user, you’ve seen a lot of jokes like this one from XKCD:

real_programmers.png

They usually end the chain with cat but sometimes, like the above, they go all the way to butterflies.

All that’s good fun if a bit whimsical, but you sometimes see serious assertions that “real programmers” use ed. If you’ve never used ed, as most of today’s programmers probably haven’t, it’s no doubt hard to understand how silly that argument is. If you’re working on a teletype, ed is just the thing. If not, it’s just masochism.

Or so I thought. Others disagree:

Dominic van der Zypen makes the case that ed is great for everyday use. I’m not convinced but you can read it and judge for yourself. I will say, though, that just because a lot of Unix development was done with ed doesn’t mean much because that development was also done on, you know, teletypes. It’s like saying that just because Sun Tzu fought with swords, today’s armies should use them too.

Regardless, it’s fun, if a bit surprising, to see someone champion ed for everyday use. If you’re running on some sort of Unix/Linux system, including macOS, you’ve almost certainly got ed installed so fire it up and see what you think.

Posted in General | Tagged | 15 Comments

A Double Helping of Schadenfreude

Can’t. Stop. Laughing.

I especially like the part about hurting consumers.

After years of giving users the middle finger, the advertising industry starts whining the second someone makes it harder for them to track us and snoop on our online activities.

The schadenfreude is strong in this one.

Posted in General | Tagged | Leave a comment

Emacs as a Cloud Service

Yeah, this is probably a joke but if there is one thing I don’t want
from Emacs, this is it.

Posted in General | Tagged | 1 Comment

Emacs 25.3

Jeez! A guy can’t be away from the Internet for a couple of days without everything changing. One of those changes is that a new version of Emacs, version 25.3, has been released. This is an emergency release to fix a security issue with Enriched Text mode.

You can read the details in the announcement but it’s probably a good idea to upgrade even if, like me, you aren’t using the X support. I did my usual compile-from-source dance without any problems.

Posted in General | Tagged | Leave a comment

Irma After Action Report

I’m writing this Monday night after Irma came visiting. First off, thanks to the many people who wrote—either directly or through Disqus—to send their well wishes. I appreciate your concern and good thoughts.

At the last moment, Irma shifted east onto the mainland and went up the middle of the Florida peninsula rather than up the west coast. For those of you not as intimately familiar with hurricanes as we in Florida are, that’s important because hurricanes are basically heat pumps (technically a Carnot heat engine) and once over land they lose access to the warm coastal waters that are their source of energy. The result for Tampa was a routine Category 1 or 2 hurricane rather than the devastating monster storm that Irma was promising to be.

We did lose power Sunday night and it still hasn’t been restored. Once it is, I will publish this post. I could, I suppose, connect to WordPress with my iPad and write the post directly into the control panel but once you’ve experienced the joy of writing and publishing your blog posts from Emacs, you never want to do that.

Florida officialdom is actually pretty good at dealing with these things so I expect you’ll be seeing this post soon.

Posted in General | Tagged | 1 Comment