Word versus LaTeX Again

Remember that silly paper purporting to compare the efficiency of Word versus LaTeX that I wrote about a couple of times? Daniel Lemire has a nice followup on the paper that incorporates some of the original authors’ responses to its critics. The TL;DR is that LaTeX users are an irrational sect that is anti-scientific. As Lemire says, the paper is an opinion piece not science. Read the comments too.

Posted in General | Tagged | Leave a comment

Narrowing with Multiple Cursors

Grant Rettke points to a discussion in the comments from a Sacha Chua post. It turns out that when you’re in multiple cursors you can narrow the view to just those lines having a cursor. That’s something I didn’t know.

All you need do is turn on hide-unmatched-lines-mode. You can do that by typing 【Ctrl+'】. This is nice because it eliminates a lot of clutter and allows you to concentrate on the text you’re changing. Where is really shines, though, is with a large buffer where you normally wouldn’t be able to see all the cursors.

Actually, hide-unmatched-lines-mode will provide some context—2 lines above and below each cursor, by default—but, of course, you can configure that. This is another great enhancement to one of my favorite packages. Another gift from Magnar Sveen.

Posted in General | Tagged | 1 Comment

A Hydra Video

If you took my advice and starting following (or emacs you’ll be familiar with abo-abo’s hydra package. It started out as a relatively simple macro, def-rep-command, that allows a command with a prefix to be repeated by merely pressing the last key. That got a lot of favorable attention so he refactored it into an ELPA package.

Then Sacha picked it up and made a small enhancement that allowed her to use it to control window switching. Since then, abo-abo has made continuous enhancements to the package making it a very flexible tool. Now abo-abo has produced a video that demonstrates its power. The video shows hydra being used for a variety of different tasks and will be sure to give you some ideas.

If you follow the link above, it will take you to a post by abo-abo that, in turn, has a link to the video. It also shows the current version of his window switching code. You’ll see that it now handles most of usual window handling chores including calling ido for another buffer and loading frequently used files with a single key by bookmark+. You can also call executable code so it has about the same power as John Kitchin’s Emacs/Helm hotspots setup that I wrote about previously.

I have to say that I’m really tempted by this. It seems like a nice way of loading frequently used files and switching between, swapping, and deleting windows. It has the advantage over Kitchin’s solution of loading hydra, which can be useful for other chores. On the other hand, the same can be said of Helm. A fine example of Buridan’s ass.

Posted in General | Tagged | Leave a comment

The Guardian on Cursive

Since we’re talking about cursive, let’s take a look at what the Guardian has to say. They report that in Britain and the United States handwriting of all types—printing as well as cursive—is rapidly disappearing. Of course, we all write more than we think. We sign our names, fill out forms, and maybe jot a quick note to ourselves but mostly all our writing is done at a keyboard. Except for the usual suspects, this is mostly regarded as a good thing.

The Guardian’s piece is relatively evenhanded. They make the obvious case for why cursive is dying and then consider why it might not be a good thing. First they trot out the usual nonsense: we won’t be able to read the constitution in the original; it’s a traditional art form that must be preserved at all cost; and, of course, children won’t be able to develop fine motor skills without it. None of those arguments need be considered seriously.

Then they discuss several studies that, on their face, appear to make a case for learning handwriting. These mostly have to do with cognitive and learning side effects. My problem with those studies is that it’s hard to see why the putative benefits of cursive don’t apply just as well to printing. Despite the first paragraph no one is saying that kids shouldn’t be taught handwriting; only that we shouldn’t waste their time by making them learn something—cursive—that they won’t need or use.

I’m sticking with my original curmudgeonly conclusion: the real reason these people are insisting on the teaching of cursive is “I had to learn it so why should these little blighters get off?” I’m also sticking with my conclusion: the dissenters may be able to delay the inevitable but it’s still inevitable.

Posted in General | Leave a comment

Google It

Via Magnar, here are some tips on fine tuning a Google search:

Posted in General | Leave a comment

Vox on Cursive

I haven’t written about cursive handwriting in a while so here’s some red meat for those, like me, who hope to see its elimination from the curriculum. Vox.com posted an article with the provocative title Cursive handwriting is useless, but politicians want students to learn it anyway.

The title tells you the tenor of their argument: cursive is well past its expiration date and is only holding on because some politicians have chosen to make it a beachhead in the culture wars. Sadly, some state legislatures are passing laws mandating that cursive be taught. Vox concludes that these laws will delay but not prevent the demise of cursive.

Vox concludes that the arguments in favor of cursive—fine motor control and enabling students to read the constitution and Declaration of Indenpence—are pretty weak and ultimately unpersuasive. The other major argument is that “well, I had to learn it so…”

The Vox article has an interesting history of the teaching of handwriting that you might enjoy. I’m hoping that it won’t be too long before posts like this are beside the point.

Posted in General | Leave a comment

Help GNUPG

Here’s why. If you can chip in a few dollars to keep this absolutely vital project going, please do. Kock’s a hero and deserves our thanks and help. You can donate here.

Posted in General | Tagged | Leave a comment

Kitchin on Using helm to Ease Navigation

John Kitchin, who in addition to being a professor with all the work that that entails, has been busy showing us how to leverage Emacs to ease our work flows. If you’re a helm user, Kitchin has some nice Elisp that makes it easy to go wherever he needs to go for his normal tasks.

That includes things like reading email, his elfeed feed, his calendar, and so on. He has shortcuts to all his frequently used files as well as his recently used files.

The amazing thing about the code is how simple it is. If you steal it, you’ll want to adjust it for your particular work flow but the simplicity of the code should make that easy for anyone with even modest Elisp skills.

I do a lot of this with bookmarks (which Kitchin also handles) and by just leaving my frequently used files in buffers. If I had helm installed, I’d have already stolen his code. It might be enough to get me to embrace helm. I hear nothing but good things about it but ido and smex are working well for me and seem natural by now. I’d be happy to hear from anyone who has some wisdom on the matter. Leave a comment. It’s free.

Posted in General | Tagged | 3 Comments

The Answer to Blogging Friction

Although regular readers are familiar with it, here is a quick review of the history of my blogging work flow. In my old blog on Blogger, I was already using Org-mode but I exported the Org to HTML and pasted it into the Blogger editor. That worked OK except for embedding pictures. That process was sufficiently complicated that I posted a couple of essays explaining how to do it. I couldn’t get the code block scrolling to work either so it was a constant effort to juggle line and display size.

A bit later I moved to WordPress and starting using org2blog. I can’t tell you how much easier it was. I can still remember the first time I posted a jpeg and was amazed that it just worked. org2blog took care of transferring the jpeg to my hosting site and changing the links in the blog post to reflect the jpeg’s new location. It really did make blogging much more frictionless and I haven’t looked back.

As I’ve said many times, I like to read about how other people handle their writing and blogging work flows so of course I had to check out a post entitled Writing For Hypotheses in Org-mode by Michael Piotrowski. He starts out recounting how he didn’t really like blogging and put off writing a post he had been thinking of for months because he couldn’t face all the overhead. Now, Piotrowski says, he’s blogging up a storm and the reason is that he’s using org2blog. Like me, he’s found that it removes much of the friction involved with blogging.

If you’re blogging with WordPress1 and not using org2blog, you really should give it a try. Even if you’re not an Emacs user, you should give it a try. I’ve been blogging everyday for two and a half years and I know I couldn’t do it if I had to use something like the WordPress editor.

The point is, for most people writing is hard enough without making it harder by using suboptimal tools. Org, of course, is a go-to tool for most types of writing. Add org2blog and you have the perfect blogging tool.

Footnotes:

1

If you’re using Blogger, there’s an org2blog for you too. It’s not by the same author and is completely unrelated except for the name. I haven’t tried it but hear good things about it. If I were still on Blogger I’d almost certainly be using it.

Posted in Blogging | Tagged , | 4 Comments

Uncommon Bigrams

Recently, Sacha Chua wrote about how she leveraged abo-abo’s def-repeat-command to easily call windmove and ace-window. She bound the function to the prefix key-chord of yy. That seemed an odd choice to me but I just shrugged and moved on.

Now it appears that she was on to something. John Cook has a nice post that looks at rare bigrams to use as a key-chord. The idea is that if you choose a rare combination, you’re less likely to activate a key-chord by mistake. As it happens, yy is one of those rare combinations making it a perfect prefix for her window switching commands. I use a QWERTY keyboard so yy has the additional advantage of being easy to type even though it’s not on the home row. I know Chua uses a Dvorak keyboard but that has y in roughly the same place so, again, it’s a win for ease of typing.

I have no idea whether Chua was aware that yy is a rare combination, used her intuition that it wasn’t very likely, or just chose a random key-chord but it turned out to be an excellent choice. If you like using key-chords, take a look at Cook’s post for some ideas on which ones are apt to keep you out of trouble.

Posted in General | Tagged | 1 Comment