Tabs in Emacs master

06.10.2019 10:02

Some huge Emacs news landed this week. I first saw it on Reddit through @eli: Emacs 27 will support tabs, it is currently in master.

For those who are not familiar with Emacs, a buffer is a file, something that isn’t saved to a file yet or some other thing like an interactive UI. But a buffer can be open without being visible in the UI. This is very different from most editors. Some other details you should know is that what most people call a window is called a frame in Emacs, and a frame can be divided into multiple windows.

There are two different types of tab bars in emacs 27. One is per frame and the other is per window.

The per window tab bar just shows buffers you open and let you switch between them, close them (without closing the buffer). This is called tab-line-mode. While the per frame tab line let you switch between frame configurations. A frame configuration is just how you have split and resized the windows in your frame.

It currently looks like shit. Seriously. It looks horrible. But I think this is a great change that makes a lot of stuff much easier to do in emacs. Especially if you have a lot of buffers with different stuff that you want to organize in different ways.


04.10.2019 19:15


27.09.2019 21:01

Giving flickr a shot.

22.09.2019 09:01

How to share photos is a common struggle for me. I want something that does not require a lot of work or management. I just want to give it a bunch of JPEGs and let it do its job. I have tried making my own thing, multiple times, I have tried to use Micro.blog. Nothing have been what I wanted.

I tried uploaded a few photos to Flickr, because @jack, and the process was fast effortless. So I decided to give it a shot and upgraded my account, before I exported my entire Photos library and see how well it works. And I’m pretty happy about it this far. But I’m not 100% sure how I’m going to share that I upload new photos.

Maybe I’ll add the Flickr RSS feed, or maybe I’ll just post link to an album when I upload new stuff. I’m not 100% sure yet.


20.09.2019 20:33

A month without podcasts

18.09.2019 18:51

It have gone over a month since I deleted Overcast and decided to at least take a break from podcasts, and maybe quit them forever. It was a result of a slowly removing a lot of podcasts from my subscriptions over 15 months.

What I have noticed this far over this period is that I listen to a lot more music and I am discovering a lot of music I haven’t been listening to before. And of course a lot more audiobooks.

I have not missed podcasts at all, but I do feel very disconnected from the communities like the Apple Tech Podcast / Relay.fm / 5by5 world that I have been following for so long. I think the change is good, but I’m still trying to work out how things will be for me in this post podcasts phsae of my life.

Emacs: how and when

15.09.2019 12:37

How and when I use Emacs is a complicated question. I use Emacs for a lot of different things, and I use it when it is the thing that works best. In some periods I use Emacs for JavaScript development, and in other periods I use Rider and VS Code instead.

I try to set as much of the stuff I use up in a way where it is easy to use different tools together. All my editors have been configured to auto save and auto load from disk. This makes it easy to use for example VS Code and Rider at the same time.

Also: I have configured every IDE or other editor I have to use Emacs keybindings in order to make it easier to change.

If I’m writing or typing a lot, I’ll probably use Emacs, but if I’m iterating a lot, for example when writing tests / improving test coverage or doing something that some VS Code plugin makes easier I’ll use that that.

In an ideal world I’d prefer to only use Emacs. But while a lot of the tooling unfortunatly are tied to specific editors or IDE’s I chose to do things in the way that has the least friction. How I work would probably confuse most people, but it works for me.


14.09.2019 08:49

I’m going back to likes, because I didin’t like (pun intended) the “Linkes worth a click” name. I’ll see if I find a better name.

Redux like pattern with ClojureScript and Reagent

08.09.2019 10:28

I’ve written about my redux like pattern with ClojureScript and Reagent on my wiki.

Links worth a click

06.09.2019 18:05

Trying out a new name for my “Like” posts. They have really never been stuff I liked but rather links I think are worth checking out.