Org 9.0.5

There’s a new (bug fix) version of Org Mode out:

At the time of this post, it’s not yet in Melpa but doubtless will be soon.

UPDATE [2017-02-12 Sun 11:05]: I just refreshed my packages and version 9.0.5 is in Melpa now.

Posted in General | Tagged , | Leave a comment

Zamansky 28: Rectangles

Mike Zamansky has posted number 28 in his Using Emacs video series. This one is about rectangle editing. As Zamansky says, you don’t often need this but when you do it’s really handy.

My problem with it is that because I use it so infrequently, I can never remember the key strokes. There are three solutions to that, one of which the video demonstrates: simply call the command by it’s name. If you’re using something like counsel, ido, or helm, that’s pretty easy because they will help you fill in the entire name correctly even if you don’t remember the exact name. Another possibility is to make a hydra for the rectangle commands. I’m always one day away from doing that. Finally, there’s which-key. Once you have that enabled, you can’t really use the “I can’t remember the proper keys” excuse anymore. If you can remember that Ctrl+x r is the prefix for dealing with rectangles, which-key will tell you what to do next.

The video is only 5 and a half minutes so it’s easy to find time to watch it. If you’re not familiar with editing rectangles, you should definitely spend the time so that when you need to use it, you’ll have an idea of what’s available.

Posted in General | Tagged | 8 Comments

MobileOrg Web Site

As I wrote a few days ago, there’s a new version of MobileOrg for iOS. If you’re an Org user and have an iOS device, this is a nice way of taking your Org files with you. You don’t get the full Org experience, of course, but you can take notes, search your Org files, and change the status of items.

I just noticed that there’s a nice MobileOrg Web site that explains what the app can do and how to set it up to sync with either Dropbox or WebDAV. The directions for setting things up are step-by-step so it should be easy to get things going.

I’ve still been too lazy to set mine up but these directions make it seem so easy that I will probably do that shortly. George Moutsopoulos notes that if you are an Android user, you should check out Syncorg or Orgzly. I’m not an Android user so I don’t know anything about them except that I have heard good things about Orgzly.

Posted in General | Tagged , | Leave a comment

Emacs 25.2 RC1

Emacs 25.2 is on its way. Nicolas Petton has announced that Emacs 25.2 RC1 is out.

Posted in General | Tagged | Leave a comment

Imenu and Use-package

A couple of years ago, I wrote about Jordon Biondo’s gist that allowed imenu to locate use-package blocks in your .emacs or init.el files. It’s really useful and I recommended it to everyone who spent any time editing their Emacs configuration.

Today, Fran Burstall commented that use-package now has built in support for this. All you need to do is set use-package-enable-imenu-support non-nil before use-package is loaded. The code looks very similar to Biondo’s gist except that it works for both use-package and require. Burstall isn’t sure when the capability was added and I can’t tell from the code. All I can tell you for sure is that it’s in the current version (2.3).

Posted in General | Tagged | Leave a comment

Scaling Git at Microsoft

Brian Harry has a fascinating post that discusses Microsoft’s use of Git. At first blush that may seem profoundly uninteresting but consider: for various reasons Microsoft maintains very few repositories so, for example, all of Windows core is in a single repository containing millions of files. The scaling problems are obvious. Not least is the fact that Git wants to maintain a copy of the repository on each user machine, an obvious problem considering that the repository is held on more than 40 different Windows Source Depot servers.

They solved the scaling problems by implementing what they call the Git Virtual File System. That made it possible to provide the Git experience to their huge repositories with minimal changes to Git itself. Harry’s article provides more details so you should definitely take a look.

If, like me, your career has been spent with smaller or medium size companies, it’s easy to underestimate the problems that a huge code base can bring. Harry’s post describes some of those problems and what they’re doing to bring them under control. Even those of us who aren’t Windows users will find Harry’s discussion interesting. Read it and you’ll probably stop complaining about your own repository problems.

Posted in General | Tagged , | Leave a comment

Happy Birthday Ken

Today is Ken Thompson’s birthday. There are few people in our industry that have had a bigger effect. Unix, regular expressions, chess, UTF-8, Go: the list goes on and on. He’s a giant and at 74 still going strong.

Posted in General | Tagged | Leave a comment

Choosing Emacs

Chris Siebenmann has made up his mind1. He was deliberating whether or not to give up Emacs and switch to Vim. He does a lot of sysadmin work and prefers Vim for that (although I think Tramp would go a long way towards meeting the needs that he thinks Vim resolves). He decided to stay with Emacs for reasons that you can read in his post.

One of those reasons is that he really likes the ease and coverage of the package system and it’s hard to argue with that. Oddly, to my mind, he doesn’t mention Org mode, which just about everyone considers the killer Emacs feature. Still, it’s interesting to see his reasoning for sticking to Emacs.

If you’re currently using both Emacs and Vim regularly and, like me, two separate sets of key bindings makes your head explode, you may enjoy reading his post. As I’ve said before, they’re both really good editors but they meet two different needs. If you want a really fast editor and you want it to be only an editor, Vim is a good choice. If you’re looking for a programming (or work) environment—especially a Lispy one—then Emacs is the editor for you.

Footnotes:

1

Actually, he made it up six months ago but his post has been sitting in my blog queue for that long.

Posted in General | Tagged | 1 Comment

Dumb Phones and the New Luddites

Vlad Savov1 over at The Verge has another of those annoying articles in which he complains that smart phones are too distracting and considers dropping back to a “dumb phone.” I’ve seen a lot of articles like this lately and, really, they’re very tiresome.

If you think Twitter is too distracting, GET THE HELL OFF OF TWITTER. If you lack the will power to stop checking it, delete your account. Same with Facebook and all the rest of it. But please, I beg you, stop trying to drag the rest of us into your problems. Most of us are very happy with our phones and wouldn’t consider dumping them. I’m not on Twitter or Facebook but I use my iPhone all the time and it’s almost never to call someone. Don Knuth famously gave up email but he didn’t walk away from computers; he just stopped using email.

The New Luddites are always complaining about technology even as they use that technology to do the complaining. The first few articles on smart phones being distracting might have been marginally interesting as a study of peoples’ workflows and preferences but now they’re just old Mrs. Crabapple from down the street complaining that the kids are too noisy.

If you want to leave abandon the modern world in favor a kinder, gentler past that you think you remember, God’s speed but, please, don’t try to involve the rest of us in a co-dependency.

Footnotes:

1

I don’t know Savov and he seems sincere but, unfortunately, it was his article that made me snap. Consider this post an article complaining about the whole genre of “smart phones are distracting” complaints rather than an attack on Savov.

Posted in General | Tagged | Leave a comment

The auth-source Manual

Today, I saw this amusing, but doubtlessly true, quote in a tweet

The link points to the Emacs auth-source library manual from which Collins got the quote. If you’d like to automate password lookup in Emacs, this manual tells you how. Definitely worth a look.

Posted in General | Leave a comment