Hasty Briefsbeta

Using Emacs as a TUI

a day ago
  • #Systemd
  • #Emacs
  • #Terminal
  • Emacs in the terminal can have keybinding issues due to terminal emulator handling.
  • The Kitty Keyboard Protocol (KKP) and ghostty terminal emulator improve Emacs terminal usage.
  • Setting `$EDITOR` to a shell function avoids issues with spaces in the command.
  • Using `emacsclient` with a systemd service allows for faster startup and background Emacs daemon.
  • Linux `.desktop` files enable GUI integration and system shortcuts for Emacs.
  • Separate systemd services for GUI and TUI (terminal) Emacs clients allow different configurations.
  • Themes and packages can be loaded conditionally based on GUI or TUI mode.
  • Arch Linux's Emacs documentation is useful regardless of distribution.