Filtering by Tag in EShell

Howard Abrams has a nifty bit of Elisp that allows you to filter on file tags in eshell. As an example of his idea, suppose I want to list all my blog posts with a tag of “Emacs”. I can use the eshell filtering mechanism with Abrams’ custom code to write

ls ~/org/blog/*.org(T'Emacs')

This will list only those files that have a #+TAGS: line with Emacs as one of the tags.

Abrams has added the code to his EShell Tutorial. I’ve written about that tutorial before but this addition is new. If, like me, you use eshell and work a lot with Org files, you’re apt to find this very useful.

Posted in General | Tagged , | Leave a comment

Congratulations

to Maryam Mirzakhani for winning the Fields Medal, generally considered the highest honor that a mathematician can receive. The fact that Mirzakhani is the first woman to win it makes the award even sweeter.

Posted in General | Tagged | Leave a comment

Message Mode

mbork has a nice post on message-mode. The mode is meant to support email message editing. As mbork explains, there are several functions that make manipulating a message buffer easier. He’s using it with mu4e but notes that it’s handy with any mail client or even related applications. I especially like the quotation blocking function.

I really need to get mu4e working on my machine, at least for my irreal.org domain. Every time I start working on it, I get stuck trying to figure out how to get IMAP working with it. I know about offlineimap. Are there any other good solutions? This is for OS X.

Posted in General | Tagged | 8 Comments

Moving from Vim to Emacs with Evil

Aaron Bieber, an engineer from Wayfair, gave a great talk to the Boston Vim Meetup on his journey from Vim to Emacs. Bieber was a serious Vim user who had about 15 years experience with it. During that time he’d written and rewritten his configuration many times, built the popular plug-in Quicktask, and taught classes in Vim. He was, in short, no dilettante.

After establishing his bona fides as a Vim user, he talks about his reasons for exploring Emacs and subsequent decision to move to it. Although Vim can be a magical editor and is very fast, there are some things it just can’t do easily. When Bieber saw how well Org mode solved the same problems he was addressing with Quicktask, he decided to take a closer look. He also discovered that code navigation was better with Emacs, which was important to him because he works with a very large code base.

What made all this possible for him was Evil mode. He says that it’s an excellent Vim emulation and he felt comfortable immediately. At the end of the talk someone asked him if he thought his move was permanent and he said “yes” and mentioned again how it just felt like he was using Vim in Emacs.

About half way through the talk he gives a demonstration meant to show the (Vim using) audience some of the powers of Emacs. It was very informative and if you’re thinking about trying out Emacs, you should take a look. The entire talk is about 40 minutes so you’ll need to schedule some time.

Posted in General | Tagged , | Leave a comment

I Know the Feeling

Here at the International Irreal Headquarters, we’ve felt this way for some time:

Posted in General | Tagged | Leave a comment

LaTeX Templates

If you’re a beginning or intermediate LaTeX user, you can probably produce pretty nice looking documents as long as the document is one of the standard types. If you want to produce slightly unusual documents—a homework assignment or résumé, say—you’ll need to find (or write) a new document class that supports that type of document.

The LaTeX Templates site may be just what you need. They have all sorts of templates along with examples of what the result looks like. Once you’ve chosen one you like, you just download and put in your tex directory. I use their templates all the time and have found them very useful. Take a look at their examples and see if there’s something you can use.

Posted in General | Tagged | Leave a comment

Prevent Encryption Above All Else

Michael Steinbach, assistant director in the FBI’s Counterterrorism Division, recently testified that law enforcement’s challenge is working with tech companies to prevent encryption above all else. I take that to mean that he’s taking exception to companies like Apple providing their customers with the means to secure their privacy by engineering their encryption systems so only the user can decrypt messages. Steinbach wants the ability to read those messages when the FBI feels it’s necessary. It’s all right, he says, because they would need to get a warrant first. That argument would be more persuasive if we didn’t have the recent example of the FISA court secretly rubber stamping virtually every request that law enforcement or the NSA made.

Steinbach trots out the usual specter of “going dark.” This tired trope is belied by the fact that we are now living in the golden age of surveillance where the government knows more about us than ever before.

There are, of course, technical reasons that backdoors are a terrible idea but even putting those aside for a second, there is no reason at all why we should trust these people with new surveillance powers. Steinbach’s demurral notwithstanding, the government has forfeited any claim to our trust with their secret, abusive, pervasive surveillance of virtually all Americans. The FBI and NSA can invoke the third party doctrine all they want but they know and we know that surveillance of this sort was never envisioned by the Fourth Amendment.

Then there’s the inconvenient fact that the FBI can’t point to a single case of this surveillance playing a role in any major case. Despite not making use of what they already have, the FBI has come back to the trough demanding more.

Posted in General | Tagged | Leave a comment

Why You Shouldn’t Use the Cloud

Karl Voit has a nice post that tells us why we shouldn’t trust or use the cloud. There are lots of reasons why we might want to use the cloud and most of us are familiar with them: lots of (perhaps “free”) storage that’s backed up regularly by professionals who know what they’re doing and who can provide industrial strength security. At least that’s the theory.

It’s a cliche but no less true that if you aren’t paying for the product, you are the product. That’s the usual argument used against companies like Google but the problems run deeper. Read Voit’s post for some of those problems and why you shouldn’t fall prey to them. The alternatives are often hard and you may have to forego really useful things like syncing your data across all your devices.

You might consider the benefits worth the downsides but you should at least know what those downsides are. Reading Voit’s post will help you decide how to balance your risks and benefits.

Posted in General | Tagged , | Leave a comment

Writing a Master Thesis in Org Mode

One way or another, I end up using Org mode for almost all my writing. Blog posts are easy to write in Org and then export with org2blog, and Org brings all the power of LaTeX with an easier interface. I’m fascinated with how people use Org for their writing so I’m always on the lookout for examples. Here’s one I just stumbled across:

It’s nice because the link takes you to the Org source code, which serves as an excellent go-by for anyone wanting to do the same. Notice what Breitmoser has to say about the experience: “Would recommend.”

Posted in General | Tagged , | 4 Comments

A System Wide Org Capture Key

Over at Think *NIX, PRJ2 has a nice post on setting up a system wide key to invoke Org capture. The idea is that even if Emacs isn’t running it will be launched and Org capture automatically called. He assigns this to 【F9】 on all his systems so that no matter where he is or what application he’s using, he’s only one keystroke away from a capture buffer. If, like me, you always have Emacs running, this process should be instantaneous.

The post tells you how to do this on Windows, Unix/Linux systems, and OS X. Even if you have to work on multiple platforms, you can always capture a thought or some data quickly and easily by pressing the same key. Very nice.

Posted in General | Tagged , | Leave a comment