Run (doom) emacs as a daemon

Run (doom) emacs as a daemon
Sometimes systemd doesn’t autostart emacs correctly as a daemon and i have to restart the emacs server when i have logged in, this is annoying. I use GNOME so i have taken advantage of it’s autostart feature. I am loosing a couple of features, but i gain the one thing i want: i don’t need to to anything manually when i do a login
Read more →

DOOM yasnippets

DOOM yasnippets
how to add a custom yasnippets to your DOOM installation, YAY
Read more →

How to compile emacs 28 on Fedora

How to compile emacs 28 on Fedora
In this post i want to describe how i compile emacs from source on Fedora
Read more →

A simple way of checking what system you are currently on

A simple way of checking what system you are currently on
A quick example on how to guess what system (Windows, mac, Linux) and then execute some lisp based upon that
Read more →

Howto configure irc in doom emacs with circe and pass

Howto configure irc in doom emacs with circe and pass
Configure irc in emacs with circe and pass (installed with NixOS)
Read more →

Search and replace in multiple files in doom emacs

Search and replace in multiple files in doom emacs
Search and replace in many files with doom emacs
Read more →

Doom emacs

Doom emacs
DOOM emacs: emacs done right. Læs indlægget for at se hvordan man installerer emacs på WSL 2.
Read more →

Notetagning på et splitsekund

Notetagning på et splitsekund
Hvis du har installeret emacs server, så kommer her et lille tip, som kan gøre din hverdagsnote tagning lidt lettere (har du ikke sat din emacs op i daemon mode så læs min guide her). Mangler du en snizzle setup, som er gearet imod at tage noter (og udvikling), så læs mit indlæg her. Jeg vil anbefale at du starter med at smide org-mode på som default når du åbner spacemacs
Read more →

Emacs server

Emacs server
Opstartstid er altid trættende. Åbner man en fil i fx VS eller VS Code, kan godt tage et par sekunder eller fem, og det er irriterende. Med emacs server kan man reducere opstartstiden væsentligt. Lad mig demonstrere. Jeg har en rimelig plain og lille C# fil using System; namespace console { class Program { static void Main(string[] args) { Console.WriteLine("Hello"); while(true) { System.Threading.Thread.Sleep(5000); Console.WriteLine(" world!"); } } } } Jeg har lavet en simpel "tæl høj"-test, til stor forvirring for min familie, med følgende:
Read more →