Emacs Resources for Writers

Recently, James Gill tweeted about a collection of Emacs resources for writers that he’s curated into a GitHub repository. There are two parts to the collection:

  1. Tips and examples for writing with Emacs, and
  2. Writing a book with Emacs.

As you’d expect, most of the articles are about leveraging Org-mode for writing. That’s no surprise, of course, because Org excels at that. Indeed, almost any type of writing from memos or blog posts—such as Irreal’s—to journal articles or books is easily accomplished with Org. I’ve reached the point were virtually everything I write is done with Org-mode.

Sadly, the literary writing market runs on Word so if that’s your niche, you’re going to have to deal with conversion. Org, of course, has built in tools for that and if those don’t meet your needs, the excellent Pandoc almost certainly will.

If you’re a writer who’d like to escape from the pain that is Word and give Emacs a try, be sure to read the articles in Gill’s list. I’ve discussed several of them in Irreal previously but a few are new to me. A handful of the resources are videos but most are short blog posts or articles that are easy and quick to read.

It’s not always obvious how to use Emacs for writing effectively so the articles and videos collected by Gill, which distill a lot of hard won wisdom, can be a real help.

Posted in General | Tagged , | Leave a comment

Remote Debugging With Tramp

Matt Ray gave a very nice presentation to EmacsConf 2019 on Interactive Remote Debugging and Development with TRAMP Mode. One of the frequent complaints about Emacs is that it’s hard to work with remote files. Mostly that’s because the person complaining doesn’t know about Tramp. There are, of course, some situations where Tramp is not the best solution but it’s usually an excellent way of working with remote files.

It’s easy to think of Tramp simply as a way of editing remote files but it’s actually much more powerful than that. Ray demonstrates some of that power first by using Tramp to open a shell on a remote system and then by showing how he uses it to work with virtual machines on his own workstation. He uses the freely available tools Chef, Vagrant, and Kitchen to spin up a virtual instance of Debian and work with it all from the comfort of Emacs.

Even command-line aficionados will enjoy his video because although he stays in Emacs, he does a lot of the work using the shell command. He begins the video by showing why using the shell from Emacs can be a win over firing up a separate terminal. During the rest of the presentation, he just opens a shell on the remote machine—or virtual machine—when he needs to make a change to the remote environment.

The video is about 35 and half minutes so you’ll probably have to schedule some time but I found it worth the time.

Posted in General | Tagged | Leave a comment

List Commits to Dired-Marked Files

Via Wilfred Huges we have this useful tip:

Apparently, it’s not widely known.

I just tried it—I’m running dired+—and it worked perfectly. It’s easy to see how the magit-dired-log command could be very useful.

Posted in General | Tagged | Leave a comment

Digital Payments in India

I’ve written several times about how the Chinese, through apps like WeChat, can pay for almost anything with their smartphones (1, 2, 3, 4, 5). One of the things that have helped make digital payments ubiquitous in China is the use of QR codes. All it takes to accept a digital payment is a QR code that the buyer can scan with their phone. It’s cheap and easy and just about every merchant—at least in urban areas—participates.

Paytm is bringing similar functionality to India. You can get an Uber ride, buy a railway ticket, send money to a friend, pay utility bills, and all the other things you’d expect from a digital cash service. India is still predominately a cash-centric society so, unlike China, digital payments has not replaced cash. Paytm has about 400 million users out of the 600 million Internet users but there’s plenty of room for growth because another 800 million Indians have never been online. Paytm is moving in the same direction as WeChat as they add new services to their app.

The driving force behind Paytm is Vijay Shekhar Sharma, who is making plans to bring Paytm to the United States. The US is far behind in digital payments and represents a huge market for Paytm and other services. Of course, Apple and Google have been trying to bring this functionality to the US for the past few years but have met some resistance. Still, Apple is making headway and the market does seem to be developing. It will be interesting to see what happens.

I, of course, would be delighted if everyone would start accepting Apple Pay but perhaps a QR-code-based system can break through merchant reluctance.

Posted in General | Tagged , | Leave a comment

Project and Org Mode

Karl Voit has an interesting post in which he explores ways of defining projects in Org-mode. Note that by “project” Voit doesn’t mean the type of object handled by an app such as Projectile, but a set of tasks meant to achieve a common goal. If you’re like me, the answer seems obvious: add a project tag to the header defining the project.

Of course, things aren’t that simple, especially for someone like Voit who on the one hand has exacting standards for how things should appear in, say, his agenda but on the other hand wants very fluid Org files. By “fluid” I mean that projects aren’t necessarily top level items or even second level items. They can appear anywhere in the tree. I’m inclined to be more rigid in my Org file layout so I avoid some of the problems that Voit has.

Voit discusses several possibilities along with their pros and cons. I’ll let you read his post to see what solution he finally settled on. If you’re trying to impose a project structure on top of Org, it’s definitely worth taking a look at his discussion.

Posted in General | Tagged , | Leave a comment

PayPal Says the Death of Cash Is Here

I recently wrote a couple of posts, here and here, about how we are moving to an essentially cashless society and the problems and backlash it’s bringing. The TL;DR is that it’s now possible to live your life pretty much without handling actual cash—I know I do—and that many merchants started adopting a “no cash” policy. Those policies were met with resistance for a variety of reasons that are discussed in the two posts.

Having written those posts, I keep seeing, in accordance with Baader-Meinhoff, articles about going cashless and the backlash against it. The latest is a CNBC article on PayPal CFO John Rainey who says that the death of cash has arrived. It was killed, he says, by the rise of digital payments and smart phones. PayPal sees itself as a enabler—through such services as Venmo—of the new cashless society.

If you recall my previous posts, you know that the principal argument against a cashless society is that many poor people don’t have access to banks1 or credit cards. Rainey notes that 70% of these people do have a mobile device and says that PayPal is going to solve the cashless problem by bringing the power of a bank branch and its financial services to those devices. It’s not clear from Rainey’s remarks exactly how this would work without a bank or bank-like institution holding the funds to be transferred. It will be interesting to hear more details.

Footnotes:

1

As soon as Irreal achieves world domination, use of the term “unbanked” or any of its derivatives will be a capital offense.

Posted in General | Tagged , | Leave a comment

What Would a Digital Society Look Like?

Those of you who have been following along for a while, know that I try to live a digital lifestyle as much as I can. In the US, the meaning of “digital lifestyle” is essentially trivial. It means I eschew paper and pens, use Apple Pay for my credit card purchases, do my banking on-line, and minimize the size of my wallet by putting as much as possible into my iPhone Wallet app. If the State of Florida would stop futzing around, I could add a digital drivers license to my iPhone and get rid of my physical wallet altogether.

I could do a bit more. I could build out a “smart home” but that technology is still young and has a lot of problems. Our next car will almost certainly have the door locks and ignition tied to my phone but then what?

What would a true digital society look like? China sort of has one on the “front end” in that (at least urban) citizens can conduct a lot of their business digitally but I don’t think they qualify as a digital society yet. If we look to Science Fiction for an answer, we find things like Iain M. Banks Culture novels, which represent an extreme view of a digital society.

It turns out that we don’t have to guess. There is already a truly digital society: Estonia. In a Quartz article by Kersti Kaljulaid, the president of Estonia, we learn that when Estonia regained its freedom after the fall of the Soviet Union, they were a poor country with no government infrastructure. Estonians made the difficult and risky decision to build a digital society from the ground up. Today, they are enjoying the fruits of that decision. There are very few things that can’t be done digitally. Kaljulaid offers getting married and buying property as examples.

Everyone has a digital ID that they can use to transact virtually all their business. That’s a situation ripe for abuse, of course, but Estonia has taken specific steps to protect their citizens. A citizen’s data belongs to the citizen, not the state and they can see who has accessed it. The article has some further details so be sure to take a look if you’re interested in the subject.

Kaljulaid recounts a revealing vignette that illustrates how accustomed Estonians have become to doing things digitally. At one point a flaw was discovered with the digital IDs so before it could be exploited, the government replaced them. That meant that people had to go to a police station to get their replacement. Kaljulaid says that social media exploded with horror stories about people having to stand in line for the replacements. They should try out American DMVs to see what real pain is.

There’s a lot more information in the article, including the steps Estonia has taken to safeguard their citizens’ data, so be sure to take a look. If you’re wondering what a digital society could look like, Estonia gives you a good example. You might also want to take a look at their e-estonia website for a bit more information.

Posted in General | Tagged | Leave a comment

The Horrors of Word

From Eric Fraga we have this long and screamingly funny Twitter thread about the horrors of using Word.

I long ago wrote about my own experiences using a Word clone. It’s hard to overstate how much I hated having to use Word or any of its evil siblings. It appears from the thread that things haven’t improved much.

I’ve always had the uneasy feeling that maybe it’s just me and that no one else had these problems. But no. According those responding to the tweet, everyone has them and no one can figure out how to get a decently formatted list. I kept wondering as I was reading the tweets why, if people find it so hard to use, they don’t dump Word for a better tool. The answer, of course, is that for most people there is no other choice.

Unless you’re willing to learn Emacs/Org-mode or some other editor/Markdown and perhaps how to use Pandoc to convert your files to docx, you’re pretty much stuck. That’s too bad because it’s only increasing the rage in the world.

Posted in General | Tagged , | Leave a comment

Moving Icons Between Smartphone Screens

A year ago, I wrote about a trick I learned from Karl Voit’s Twitter feed on how to move the iOS cursor. It’s been extraordinarily useful to me and, I’m sure, others. Now, Voit has retweeted another very useful trick:

I’ve always found moving an icon from screen to screen to be very frustrating and error prone, so of course I tried it out immediately. I’m happy to report it worked just as advertised. If you follow the conversation, you’ll see that Schroeder says it works on (at least some) Android phones too but I don’t have an Android phone to try it out with. There’s also a short video that shows the operation in action.

This isn’t earth shattering, of course, but it does eliminate one more annoyance in my life so I’m happy to have learned it.

Posted in General | Tagged | Leave a comment

Searching Your Personal Data

I’m an inveterate data collector and recorder. I keep records of everything to the point that my wife was making fun of me last week when I used my phone to recall a piece of obscure information that I’d stored away. If you’re like me, there are two problems to solve: capturing and retrieval.

First you have to have an efficient way of capturing information. For me, that’s mostly Org-mode although I do use the Apple Notes app too. I have keyboard shortcuts on my computer that take me directly to an Org-mode capture buffer so I can capture events or ideas as frictionlessly as possible even if I’m not in Emacs when I want to capture the data.

My searching strategies are not particularly sophisticated. I mainly search by tags or by using counsel-rg, an Ivy/Counsel interface to ripgrep. Using them, I can retrieve almost any piece of my information quickly and easily. Some folks, however, are more demanding.

Over at beepb00p, Karlicoss has a long and interesting post on how he searches his personal data. Like me, he uses tag searches and ripgrep but his system is much more comprehensive and he has several scripts that extract data from things like reddit, his twitter feed, and basically anywhere he comments or adds data. The extracted data is usually imported into Org for easy handling but he has other strategies as well.

If you’re interested in collecting, storing, and retrieving data, Karlicoss has a bunch of good ideas in his post. It’s a long post with lots of links but definitely worth spending a bit of time on.

Posted in General | Tagged , | Leave a comment