From ebd439a84180b6f3258be43ac3ce3788cbe21b6d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 5 Nov 2025 01:00:38 -0600 Subject: feat: Configure scratch buffer for org-mode with cursor at end MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set initial-major-mode to org-mode for *scratch* buffer - Add emacs-startup-hook to position cursor at end of buffer - Update greeting message comment syntax from ;; to # for org-mode - Re-enable debug flag reset on startup in early-init.el This makes the scratch buffer immediately ready for org-mode note-taking with cursor positioned for typing, eliminating manual mode switching and cursor movement. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- early-init.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'early-init.el') diff --git a/early-init.el b/early-init.el index 6fa3e0b2..c1cd54c8 100644 --- a/early-init.el +++ b/early-init.el @@ -51,10 +51,10 @@ (setq debug-on-error t) ;; default nil. turn on to debug issues only. (setq debug-on-quit t) ;; debug on C-g (breaking out of hangs/freezes) -;; (add-hook 'emacs-startup-hook -;; (lambda () -;; (setq debug-on-error nil) -;; (setq debug-on-quit nil))) +(add-hook 'emacs-startup-hook + (lambda () + (setq debug-on-error nil) + (setq debug-on-quit nil))) ;; ------------------------------ Bug Workarounds ------------------------------ -- cgit v1.2.3