2022-01 Austin Emacs Meetup

Last week there was another meeting of EmacsATX, the Austin Emacs Meetup.

I discovered that the two most recent write-ups were included in Sacha Chua’s Emacs news roundup. I guess that makes me the unofficial scribe.

If you have read any of these recent write-ups, you will not be surprised to read there was no set agenda. Do not make this a drinking game. However, The Organizer [Note 1] did ask for topics at the beginning rather than at the end.

Member #1 [Note 2] spoke about sockets and domain sockets for about ten minutes. When we decided to start talking about Emacs, there was some silence.

Member #2 started talking about projects in Doom Emacs. Their Org file had different level in different font sizes. Their Emacs terminal looked like a tag cloud. I do not know much about projects in Emacs. I will add that to my ever-growing to-do list in my ever-growing Org file. I have worked with projects before (Maven, Gradle, Rails, etc), but I am just not sure what Emacs has to offer. Perhaps there is an EmacsConf video that talks about projects. I just started going through the EmacsConf videos; I am on the third for 2013.

Member #2 also talked about circadian. It is a mode that changes your theme based on the time of day.

Members #2 and #3 started talking about themes. Both of them worked on themes. Member #3 pointed out that many themes do things differently, and if you switch themes that some of the attributes of the first theme are still in the system. Perhaps something could be done about the process of making themes.

Lastly people started comparing Clojure to Emacs Lisp. The consensus was most people liked Clojure better, mostly due to its data structures and destructuring abilities. The Organizer implemented the Clojure comment macro in Emacs Lisp.

You’re welcome.

Note 1: “The Organizer” does sound like it could be a cool nickname if you know how to work it. “I am here to kick ass and run through our agenda, and as usual we don’t have an agenda.”

Note 2: I give people numbers since I do not know if they want their names in this write-up. Think of it as the stoner’s version of the Chatham House Rule. I figured that numbers are a little clearer than “someone said this, and someone else said that, and a third person said something else”. For the record, there were about seven people there.

Image from Gospels Codex 56, a 9th-century manuscript of the Archbishop’s Diocesan and Cathedral Library in Cologne, Germany, assumed allowed under CC BY-NC 4.0.

2021-12 Emacs Meetup and Other Thoughts

It is time for another update on Austin Emacs, along with some observations.

There was a meeting of the Austin Emacs Meetup early in the month. As always, there was no set topic.

There was some discussion of the Emacs Docs website. Generally the feedback was positive.

One guy started demonstrating Org Roam. It looks pretty interesting, but for now I am still getting the hang of plain Org. He also showed us a couple of packages: gh-notify for managing GitHub notifications (I have no idea if it works with git outside of GitHub) and code-review.

There was also a lot of discussion around zettelkasten. Here is the Wikipedia page. Here is a site telling you how to do it; it’s hosted in Germany, so I guess it’s the official zettlekasten site. Zettlekasten.org is a site by a group that tried to put a knowledge management system on the blockchain. It does not look like there has been any activity for a while. Perhaps you can use your coins to buy a non-fungible Olive Garden.

I mentioned again I plan on going through the EmacsConf videos from prior years, as well as for 2021. None of us had started looking at the 2021 videos. Some of them look interesting. I mentioned that there were two that I thought I would not find interesting: The use of Org mode syntax outside of GNU/Emacs by Karl Voit, who has a few good pages/posts about Emacs and Org on his site, and Extending the “model” of Emacs to other applications. An Emacs conference discouraging the use of Emacs seems a bit odd. I will give them all a chance, but on the surface I don’t think I will like those two.

Every time there is a thread about Org mode on Hacker News, there is always some jackass complaining that Org does not work on mobile. Frankly, I have little interest in mobile. I like the bigger keyboard and bigger screen on my laptop. I hate typing on a phone, and I do not want to clutter my phone with a lot of apps. I do use the clock/stopwatch app a lot, but that is it. I don’t need to use it for banking, credit cards, paying utility bills, paying for gas, or getting an app for every store I walk into. And while I am interested in technology, I have no desire to ever do any job on my phone.

I think doing Org on a phone is stupid. Yes, you have to learn Emacs, but that also yields benefits. There was a thread on Hacker News asking why so many coders still use Vim and Emacs. A few comments pointed out that in the past decade, we have seen a few editors come and go: Sublime, Atom, Light Table. Now it’s VS Code, but who knows how long it will last? (And frankly I do not trust Microsoft one bit.) Meanwhile, while everybody else was changing their workflow every couple of years, the Vim and Emacs people kept doing what they were doing. On a phone, you will always be limited by the small screen, and whatever limitations Apple, Google or Microsoft put on you. With Emacs, the sky is the limit.

I think people should stop trying to get Org working on mobile, and just use it where it does work. Sort of like everybody should learn how to read S-expressions and stop trying to make Lisp into Python (see here and here). A lot of people want the capabilities that S-expressions give you without using S-expressions, so they create wrappers and languages around it. It just seems like it would be easier to use S-expressions.

Like Lisp, Emacs is different than everything else, takes a lot of effort at first to get comfortable with, but after a point continues to yield dividends. As opposed to a lot of GUI and mobile apps, which seem easy at first, but eventually you hit a wall. Maybe I am trying to live life on hard mode, but I think this is the way to go. Although I am not doing accounting in plain text (see Hacker News posts about plain text here, here, here, here, and here is a link to the Plain Text Project).

At the Emacs meetup I mentioned a thread I saw on the website for Obsidian, which is another knowledge management system using Markdown. The thread starting with someone asking why they chose obsidian over Emacs. One person said that they couldn’t use Emacs on mobile. They needed seven apps to replace Emacs. That is the point of learning Emacs, and why I am not interested in mobile.

I am still converting all my text files into org files, and choosing where to put headings and how to group them. This is taking longer than I thought. I have a lot of deep thoughts. But I am in org mode every day. Ideally I would like a job where I am in Emacs all day. I am getting really tired of using MS Office, or MS anything.

You’re welcome.

Image from “Evangelia quattuor [Les quatre Évangiles, en latin]”, a 10th-century manuscript housed at the Bibliothèque nationale de France. Source gallica.bnf.fr / BnF; image assumed allowed under Public Domain.

2021-11 Emacs Meetup

There was a meeting of EmacsATX, the Austin Emacs meetup, last week. There was no set agenda.

I started off by mentioning that while I have not continued working through Rainer Konig’s Org tutorial, I was using Org a lot more. I am using it to keep track of tasks. I am converting a lot of text files into org files, since a lot of topics in the files appear and re-appear. I also mentioned that I had started using the Emacs Desktop to save sessions (see this page in the Emacs manual). A lot of people were not familiar with that term. I don’t know why Emacs calls the file that saves session information the “Desktop”. Perhaps that is a holdover from the PDP-11 days. I used to keep an instance of JEdit open, and I am slowly phasing that over to an instance that uses the desktop. I also made an alias with “–no-desktop” so other instances to not try to use the desktop file. Since a lot of email is happening on GMail and Outlook, and the Emacs browser is not the greatest, it might be hard to do everything in Emacs these days. But I am using it more and more.

I am also using Org to write this post.

Anyway, one guy ranted about MELPA. He might make a blog post about it. I know some people do not think that Emacs handles packages and dependencies very well, but from what I have read, it used to be worse than it is today.

A few people talked about using LSP, the Language Server Protocol with Emacs. It started with VSCode. I think the idea is to make it easier for an editor to work with different programming languages. I don’t know if this makes language modes unnecessary in Emacs.

There is nothing planned for the next meeting. I pointed out that since EmacsConf 2021 is between now and then, we could watch the videos on our own and talk about them. A few people seemed to like that idea. I have a task tree in an Org file to watch the videos from prior years. This was the first meeting in a few months in which Sacha Chua, the organizer of EmacsConf, was not present.

You’re welcome.

Image from Add Ms 28815, a 10th-century manuscript housed at the British Library; image assumed allowed under Public Domain.

2020-12-28 Update

There was another Emacs meetup in early December. The turnout was pretty good. I think there were six or seven people online.

One of the presentations was about building regular expressions in Emacs. A few people were frustrated that Emacs reg-exes are not compatible with Perl or Java reg-exes. I don’t remember too much about the other presentation topic. I am not really interested in dealing with package managers right now.

I pointed out after the presentations that the 2020 EmacsConf had just happened the week before. I asked if anyone knew about it, but nobody did. I only knew about it because I had looked at Sacha Chua’s website a couple of days before the meetup. At some point I will go through some of the videos that look interesting to me. Many of them are 10 minutes long. There are quite a few on org-mode.

On the front page there are links to EmacsConfs for prior years.

One of the 2020 talks was a guy who used Emacs to write a novel. I wonder if it has or will get published. I have never written or published a book; I thought that the publishing industry revolves around MS Word (which I hate). Norman Richards was at the meetup, and he has published a few books (a page about him on O’Reilly’s site, and a couple of books at Manning that he contributed to here and here). He said that not all human editors require MS Word.

Afterwards, I ordered the org-mode course from Udemy. It was on sale and they said it never expires, so why not?

You’re welcome.

Image from the T’oros Roslin Gospels, a 13th-century Armenian manuscript housed at The Walters Art Museum, manuscript information here, image from World Document Library, image assumed allowed under Public Domain.

2020-11-29 Update

I attended the local Emacs meetup a few weeks ago.

I mentioned I am getting into Org mode. Someone said I should look at Org-Agenda. There is also Org-roam which attempts to replace Roam in Org-mode. It looks interesting. I will put it on my ever-expanding to-do list.

We also talked about how there are a lot of emacs start kits out there, like Prelude, Doom Emacs and Spacemacs. I think there are a few others. I noticed that a high percentage are based on evil-mode. The appropriately named Evil mode is a vi emulator running in Emacs. I wonder if there was a push a few years ago to get vi people to move to Emacs, or if something happened in the vi world to make some people look for an alternative.

I first got into Emacs about 20 years ago at my first programming job. All the developers had Sun workstations. Someone showed me vi, and it was (and still is) bizarre. I think the idea of modes is stupid (at least the way vi implements them; “modes” in Emacs are more like add-ons or plug-ins for other apps, and you can run several at once). Someone showed me Emacs. I said “What happens in Emacs when you press the ‘a’ key?” The guy said: “The letter ‘a’ is added to the file wherever the cursor is. Just like almost ever other text editor on the planet.” I told him to show me more Emacs.

If you had to toggle a database between read-mode and write-mode, you would quickly find another database. Vi is like the Unix version of the Microsoft paper clip: “I see you are editing text. Do you want the text to actually appear in this file?” Yes, that would be great. And to all the people who say they use vi because it is on all Unix systems, that is not too different than people using Windows because that’s what the computer came with, or using Office because everybody else does. That’s not better, that’s just inertia.

WRT which is better: Emacs can emulate vi, but vi cannot emulate Emacs. I think that settles it.

I did start making a few tables in org-mode. My tire pressure sensor kept going off, but it does not tell me which tire. So every time I filled my tires up, I would fill up a tire, turn my car back on, and see if the sensor was still flashing. I would repeat that for each tire until I was clear. It only took a couple of times to figure out it was the same tire. But I made a list with the date and which tire. I realized one way to learn org-mode is that every time you have a problem, ask yourself if org-mode can help. So now I know a little about tables in org-mode.

I still have an org-file that I am using as a to-do list. I think that every month I will update it by getting rid of all the tasks that are done, and archive it.

There is another Emacs meetup this week. Perhaps knowing more Emacs users will help me in my goal of finding a job where I do not have to use any Microsoft software every. Keep in mind I am not an Apple person; I have realized that when I tell people I do not want to deal with MS, they just assume that I am an Apple fanboy.

I am almost done with the Go tutorials on Pluralsight. I have one more to go through, then it is back to Spring and on to Kotlin. But I might take a detour into the one Elixir course. I am still tired of typing “if err != nil”, but I found my chi-balls, so typing does not hurt as much.

One of them took me a while. The instructor was using MySql, and I decided to use Postgres. I went to the list of Go SQL drivers and I used pq for a while, but since it is deprecated I switched to pgx. I had to upgrade my version of Go, and I had to change some of the code for the driver. With pq I could just use the standard Go libraries, but with pgx your code has to become pgx-specific.

At some point, I plan on writing more about why I am interested in Lisp, and also thoughts on my ideal job. Before I got the job I am at now, I interviewed with National Instruments. I thought it went well, up until the final question. He asked me to describe what I thought would be an ideal job within the company. How can you get that wrong? Maybe I was supposed to say that I would have to work there and see what they have to offer and what it is like before I could answer that question. Or maybe I did, and for some reason that was the wrong answer. Or maybe I said something that made him think I was crazy. But lately I have been thinking about that question, and I will start writing down some answers.

You’re welcome.

Image from “Coislin 195”, a 10th-century manuscript housed at the Bibliothèque nationale de France. Source gallica.bnf.fr / BnF; image assumed allowed under Fair Use.