my 2026 take on emacs
Table of Contents
1. I was advised to write a find-init-file
(defun find-init-file () (interactive) (find-file user-init-file))
2. Some of my customizations
2.1. Imperative
(customize-variable 'package-archives)
("nongnu" . "https://elpa.nongnu.org/nongnu/")
("melpa" . "https://melpa.org/packages/")
(customize-variable 'org-tags-exclude-from-inheritance)
— add tag `crypt'
(customize-save-variable 'desktop-save-mode 't) (customize-save-variable 'undelete-frame-mode 't) (customize-save-variable 'display-battery-mode 't) (customize-push-and-save 'org-mode-hook '(visual-line-mode)) (customize-push-and-save 'org-mode-hook '(org-indent-mode)) (package-install 'eglot) (package-install 'fontify-face) (package-install 'haskell-mode) (package-install 'haskell-tab-indent) (package-install 'htmlize) (package-install 'mason) (package-install 'mini-frame) (package-install 'pdf-tools) (package-install 'tree-sitter-langs) (package-install 'treemacs) (package-install 'typst-ts-mode) (package-install 'web-mode) (customize-save-variable 'speedbar-default-position 'left) (customize-save-variable 'which-key-mode 't)
3. init.el pastes
(mason-setup)
(add-hook 'pdf-view-mode-hook #'auto-revert-mode)
(setq auto-revert-interval 0.5) ;; optional faster polling
(setq auto-revert-verbose nil)
(setq revert-without-query '(".*\\.pdf$"))
(setenv "PATH" (concat (getenv "PATH") ":" (expand-file-name "~/.ghcup/bin")))
(setq exec-path (append exec-path '(expand-file-name "~/.ghcup/bin")))
4. yet to explore
- https://www.orgroam.com/manual.html
- "emacs default completions, i swear!"
- https://codeberg.org/akib/emacs-eat terminal emulator
- https://github.com/rnkn/olivetti a prose mode
- note: melpa stable lacks half the packages
- mini-frame, mini-posframe