The TSA: Keeping Us Safe From Cash

One, not so bad, consequence of covid19 is that we haven’t heard much from the TSA and its shenanigans. That doesn’t mean, however, that they haven’t been busy violating people’s rights.

You’d think that traveling domestically with cash is legal and you’d be right. If you call the government and ask them, they’ll tell you it’s legal and there are no restrictions on carrying any amount of cash. Apparently, the TSA didn’t get the memo. If the TSA screeners discover you’re carrying (more than pocket) cash, they will detain you and turn you over to law enforcement who will confiscate the money without any accusation of illegal activity. It turns out to be very difficult to get it back—usually by filing suit—and typical takes 6 months or longer. Again, all this happens with no charges being filed. They just take your money and won’t give it back unless you force them to.

The Institute for Justice, an organization that fights intrusive government actions like these, has filed suit to put an end to this piracy and has just achieved its first victory. The US District Court rejected the government’s attempt to squash their suit and the case is proceeding. One can only hope that the IJ will manage to put an end to this disgraceful practice.

I first became aware of the IJ when they intervened in the infamous Kelo Decision and helped get laws passed in 43 states prohibiting such dubious takings. If you’re an American who cares about your rights, the IJ is an apolitical organization doing excellent work that could use your support.

Posted in General | Tagged | Leave a comment

Reading PDF Files with DocView

Emacs-Elements has a nice demonstration on using Emacs’ DocView to read PDF files. One of the nice things about DocView—as opposed to PDF Tools—is that it can read PS, DVI, Djvu, and ODF files as well as PDF files. The downside, of course, is the way it works. When you open a document with DocView, it uses an external tool to render it as one or more PNG files. That can take a few seconds for a long document but more importantly—for me, at least—is that the PNGs are cached. That makes it speedy to reopen the document but it clutters up your file system unless you manually delete the cache.

The video shows how to configure DocView and integrate it with Bookmarks+ to make it easy to locate and open documents. It turns out that you can use any of three external programs to render PDFs into PNGs and the video has some advice on which to use.

Most of the rest of the video demonstrates how to navigate through a document and do things like extracting a rectangular region. DocView is surprisingly featureful and you can see some of that in the video.

If you can’t get PDF Tools working or don’t want to bother trying, DocView is a builtin solution that works well. Its main deficiency, as compared to PDF Tools, is that you can’t annotate the PDF.

Posted in General | Tagged | Leave a comment

An Org Workflow

Luca Cambiaghi, a data scientist from Copenhagen, has a post on his Org-mode workflow. He’s got three problems to solve:

  1. He doesn’t know when a particular task needs to be worked on.
  2. He forgets to check on tasks that need his attention
  3. He needs a convenient way of capturing tasks when he’s not at his computer

His post describes how he uses Org (and Drafts) to solve these problems. He also discusses how he uses Beorg to check his tasks when he’s not at his computer.

All Org users will immediately know the answer to the first two problems. It’s a simple matter to add “scheduled” and “deadline” dates to a task so that you will be alerted when to start and when you need to finish a task. Similarly, the Org Agenda will give you a nice list of tasks and let you know when there is a deadline approaching.

If you’re already familiar with Org-mode, the most interesting part of the post is how he manages tasks when he’s out and about. The details are in the post but the TL;DR is that he uses beorg to see his agenda on his iPhone and Drafts to capture tasks when he’s not at his computer.

If you have similar requirements, be sure to take a look at Cambiaghi’s post. You may find some helpful ideas.

Posted in General | Tagged , | Leave a comment

Red Meat Friday: Text Editors in Lord of the Rings

If editors were places from Lord of the Rings, what would they be? Kieran Healy has an amusing answer.

My only complaint is that Word is not a text editor. Still, its assigned place is apt.

Posted in General | Tagged , | Leave a comment

The Interactive Declaration and Modes

Something that every Emacser knows is that learning Emacs is a lifelong journey. Even after years of use, we’re always discovering something new. Marcin ‘mbork’ Borkowski is always discovering new things and, happily, sharing them with the rest of us.

His latest discovery actually is something new. So new it hasn’t been officially released yet. Borkowski, being more courageous than I, doesn’t bother with releases; he simply compiles Master every once in while. The discovery is that the interactive declaration can now take extra arguments that specify which modes the function is valid for.

Functions with such a declaration appear in the describe-mode listing for any of the specified modes and it’s easy to arrange for the function not to be considered for completion when not in one of the specified modes.

Head on over to Borkowski’s post for the full story. He says that it should be in 27.2 but as far as I can tell, it isn’t. It looks as if it will be a helpful addition to the Emacs toolset.

Posted in General | Tagged | Leave a comment

The Info Index

Being an old time Unix head, I had a hard time warming up to the GNU Info system. I preferred the man pages when they were available and found the info utility hard to use. That’s probably because I was using Vi at the time and the key bindings were unfamiliar. The ironical twist that you had to read the Info manual to learn how to use info didn’t help.

That changed when I started using Emacs and Info became a natural and extraordinarily useful feature. Now I get annoyed when some tool I’m using doesn’t have an Info node. At this point, I’ve been using it for almost a decade and half and am pretty familiar with its ins and outs but Marcin Borkowski (mbork) taught me something new.

It turns out that if you use I instead of i to access the index, Emacs will build a virtual node that that has an entry for every term in the index that matches what you’re searching for. You can see this in action by bringing up the Elisp node and then searching (with I) for car.

That’s pretty useful and mbork has a bit more so be sure to take a look at his post.

Posted in General | Tagged | Leave a comment

Deleting Git Branches

Over at Emacs Redux, Bozhidar Batsov has a nice post on deleting Git branches. Batsov says that no one really knows how to do it and those who say they do are lying. That may be ever-so-slightly hyperbolic but probably captures a general truth.

The thing is, the operation is trivial with Magit. Those who are already Magit users probably don’t need any other reasons for using it but the operation is a striking example of how Magit makes using Git easier. It’s a small thing but it’s useful to know how to perform a commonly needed operation. See Batsov’s post for the details. It’s a short post and the process is pretty simple so click on over right now while you’re thinking about it.

Posted in General | Tagged , | Leave a comment

A New Version of Mu/Mu4e Is Coming

Dirk-Jan C. Binnema (DJCB), the developer of the mu/mu4e suite, has announced that version 1.6 of the programs are coming. The current stable version, 1.4.X, was released a year ago and since then development has been taking place in the 1.5.X branch. DJCB says that they’ve frozen 1.5 to just bug fixes and documentation so that they can release the new stable version, 1.6.

His announcement includes a links to the version 1.5 News file so you can see what’s coming if you can’t wait to see. At this point, the programs are mature software so the update is basically polishing and small UX improvements. One significant change is that the gnus-based message viewer is now the default, although you can, of course, keep the old viewer if you like. Other than that, the indexing has been improved as has support for S/MIME, faster crypto, syntax highlighting, and calendar invitations.

I’ve been using mu/mu4e since (I think) the 0.9.6 version and have never looked back. It’s easy to organize and read your emails and for those that really depend on HTML, a quick key press will pop them up in EWW or your browser. This is GREAT software and I wouldn’t want to live without it.

Posted in General | Tagged , | Leave a comment

Org Mode 9.4.5 Released

Bastien Guerry tweets that Org 9.4.5 is out:

It’s a bug-fix release so don’t expect any new or changed functionality.

Perhaps more important is the news that after the upcoming Org 9.5, releases will no longer be available on the Org ELPA. Stable version will be available on GNU and non-GNU ELPAs. Also after 9.5, the point releases will be reserved for bug fixes and the whole number releases will be for major releases. You can read about these changes here.

Posted in General | Tagged , | Leave a comment

More’s Law

Here’s a light moment to brighten your day. It doesn’t rise to Red Meat Friday status but it is amusing.

And, of course, its humor derives from its essential truth.

Posted in General | Tagged | Leave a comment