From 1e0da1267f0a071373468fcb236470a53ff05d3e Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 9 Mar 2026 09:59:58 +0100 Subject: [PATCH] Update CLAUDE.md: simplify tangle command to use emacsclient --- CLAUDE.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5157eaa..fee2960 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,14 +18,9 @@ Each `.org` file contains source code blocks like: The `:tangle ` header arg specifies the destination file. When tangled from Emacs, the code blocks are extracted and written to those paths. -**To tangle a single file** (from within Emacs): -``` -M-x org-babel-tangle (or C-c C-v t) -``` - -**To tangle all files** (from the command line): +**To tangle a single file:** ```bash -emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "file.org")' +emacsclient -e '(org-babel-tangle-file "/home/thomas/.config/literate-dotfiles/file.org")' ``` ## Key Conventions