# HG changeset patch # User Luke Hoersten # Date 1759423527 18000 # Node ID 79c72453f70d6287534c450eb1a27574a3f84986 # Parent c4c346aa93abd7f995b9be64eaad5c406152c089 Added emacs server mode. Random fixes. diff -r c4c346aa93ab -r 79c72453f70d README.md --- a/README.md Thu Oct 02 10:54:52 2025 -0500 +++ b/README.md Thu Oct 02 11:45:27 2025 -0500 @@ -32,6 +32,7 @@ ### Development - **company** - Auto-completion - **flycheck** - Syntax checking +- **jinx** - Fast spell-checking (requires enchant) - **treesit-auto** - Tree-sitter modes with automatic grammar installation - **magit** - Git interface - **forge** - GitHub/GitLab integration for magit @@ -81,6 +82,20 @@ ## Installation +### Prerequisites + +**macOS:** +```bash +brew install enchant pkg-config +``` + +**Ubuntu/Debian:** +```bash +sudo apt install libenchant-2-dev pkg-config +``` + +### Setup + 1. Clone this repository: ```bash git clone git@github.com:lukehoersten/emacs.d.git ~/.emacs.d @@ -88,7 +103,9 @@ 2. Launch Emacs - packages will auto-install on first run -3. For tree-sitter modes, grammars install automatically when first opening a file +3. Jinx spell-checker will compile its native module on first launch (requires enchant) + +4. For tree-sitter modes, grammars install automatically when first opening a file ## Tree-sitter Support diff -r c4c346aa93ab -r 79c72453f70d init.el --- a/init.el Thu Oct 02 10:54:52 2025 -0500 +++ b/init.el Thu Oct 02 11:45:27 2025 -0500 @@ -54,6 +54,7 @@ ring-bell-function 'ignore mac-command-modifier 'meta ns-pop-up-frames nil + dired-use-ls-dired nil ; macOS ls doesn't support --dired ispell-program-name "/usr/local/bin/aspell")) @@ -128,6 +129,11 @@ (setq ibuffer-show-empty-filter-groups nil) +;;; emacs server (for emacsclient) +(require 'server) +(unless (server-running-p) + (server-start)) + ;;; shell (global-set-key (kbd "C-c s") 'eshell) ; start shell (exec-path-from-shell-copy-env "PYTHONPATH") @@ -193,10 +199,6 @@ (setq-default show-paren-style 'expression show-paren-delay 0) -(set-face-attribute - 'show-paren-match nil - :background (face-background 'highlight) - :foreground (face-foreground 'highlight)) (show-paren-mode t)