Niklas Eklund

Emacs and Lisp enthusiast

Bring Zuul into Emacs

The Emacs package zuul.el provides functionality to conveniently browse Zuul build logs from within Emacs. It utilizes Zuul’s REST API to query for builds and buildsets. The idea behind using Emacs, instead of a browser, is that we have alot of built in functionality available to enhance the experience. The package essentially transform the build log into a compilation buffer, which has run remotely, but now acts as if it would have been run locally....

August 31, 2022 · 3 min · Niklas Eklund

Dtache Consult

The user interface of the dtache package just got an upgrade. The package now features the dtache-consult.el, which provides integration of dtache with the excellent consult package. The command dtache-consult-session is provided, and its intended to be used as replacement of dtache-open-session for consult users. The reason to favor the dtache-consult-session is to leverage consult's ability to support multiple candidate sources. In the dtache context this means that by default all session candidates are shown, but by using the narrow feature of consult we can change the source to only display a subset....

April 24, 2022 · 2 min · Niklas Eklund

Dtache Eshell

I have created a package, which I have named dtache. The name originates from dtach and Emacs, where dtach describes itself as “a simple program that emulates the detach feature of screen”. The package makes it possible to dispatch shell commands which, under the hood, becomes completely detached from the Emacs session. Which means closing Emacs has no effect on the launched shell command. The dtache package implements a user interface which is highly integrated, despite the disconnection that happens underneath....

April 24, 2022 · 2 min · Niklas Eklund

Dtache Vterm

A recent addition to my dtache package, which is the packaged for detached shell commands, is a configuration example for integration with vterm. The vterm package is a “fully-fledged terminal emulator inside of GNU Emacs” which is an excellent alternative for those who are note satisified with eshell and shell. Since vterm is not part of Emacs I haven’t added a dedicated integration file for users but instead added an entry to the README adding a use-package configuration which implements the necessary functions....

April 24, 2022 · 1 min · Niklas Eklund

Gerrit in Emacs

At work, I am daily using the Gerrit Code Review. For those not familiar with the tool, it is a web interface in which one can review patches, before they are merged to a git repository. As an Emacs user I have always felt there would be potential in being able to perform the reviews directly from within Emacs. I looked around for a package, this was around 2 years ago, but I couldn’t find any that met my needs....

April 24, 2022 · 6 min · Niklas Eklund