From: rush Date: Thu, 25 Jun 2026 19:03:32 +0000 (-0400) Subject: Add back in features as needed X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=a2e9a0faad93361b14821e6eeba8363a3f1c4021;p=emacsinit.git Add back in features as needed --- diff --git a/config.org b/config.org index fd2aff5..3d303ad 100644 --- a/config.org +++ b/config.org @@ -201,31 +201,29 @@ Sly really doesn't play well with elodc in the minibuffer, so here are some sett (setq org-M-RET-may-split-line nil org-cycle-inline-images-display t org-cycle-separator-lines -1 - org-ellipsis "↴" + ;; org-ellipsis "↴" + org-ellipsis "->" org-enforce-todo-checkbox-dependencies t org-enforce-todo-dependencies t - org-fold-catch-invisible-edits 'show-and-error + org-goto-interface 'outline-path-completion + org-outline-path-complete-in-steps nil + org-src-fontify-natively nil org-return-follows-link t org-reverse-note-order t org-special-ctrl-a/e t org-special-ctrl-k t + org-src-preserve-indentation t org-startup-folded 'fold org-tags-column 0 org-yank-adjusted-subtrees t - org-refile-targets '((nil :maxlevel . 9) - (org-agenda-files :maxlevel . 9)) org-refile-use-outline-path 'file org-refile-allow-creating-parent-nodes 'confirm) #+END_SRC -**** Testing without these options +**** Testing without these setq options #+BEGIN_SRC emacs-lisp :tangle no org-fontify-done-headline nil org-goto-auto-isearch nil - org-goto-interface 'outline-path-completion org-list-allow-alphabetical t - org-outline-path-complete-in-steps nil - org-src-fontify-natively nil - org-src-preserve-indentation t org-src-window-setup 'current-window) #+END_SRC *** Time Clocking @@ -240,15 +238,23 @@ Sly really doesn't play well with elodc in the minibuffer, so here are some sett *** Agenda and Capture **** Agenda settings #+BEGIN_SRC emacs-lisp -(setq org-agenda-files (append '("~/org/") + (setq org-agenda-files (append '("~/org/") (file-expand-wildcards "~/projects/*/")) - org-todo-keywords '((sequence "TODO(t)" "WAITING(w@)" "|" "DONE(d)" "BELAYED(b@)" "GIVEN(g@)")) - org-todo-keyword-faces '(("WAITING" :foreground "#e85400" :weight bold)) ; alert orange - org-read-date-prefer-future 'time - org-log-done 'time - org-log-redeadline 'time - org-log-reschedule 'time - org-log-state-notes-insert-after-drawers t) + org-refile-targets '((nil :maxlevel . 9) + (org-agenda-files :maxlevel . 9)) + org-todo-keywords '((sequence "TODO(t)" "WAITING(w@)" "|" "DONE(d)" "BELAYED(b@)" "GIVEN(g@)")) + org-todo-keyword-faces '(("WAITING" :foreground "#e85400" :weight bold)) ; alert orange + org-agenda-prefix-format '((agenda . " %?-12t%? s") + (todo . " ") + (tags . " ") + (search . " ")) + org-agenda-start-on-weekday nil + org-read-date-prefer-future 'time + org-log-done 'time + org-log-redeadline 'time + org-log-reschedule 'time + org-log-state-notes-insert-after-drawers t + org-agenda-window-setup 'current-window) #+END_SRC ***** Testing without these options #+BEGIN_SRC emacs-lisp :tangle no @@ -262,61 +268,51 @@ Sly really doesn't play well with elodc in the minibuffer, so here are some sett ("errand" . ?e) ("vps" . ?v) (:endgroup)) - org-agenda-start-on-weekday nil org-agenda-span 'day - org-agenda-window-setup 'current-window org-agenda-restore-windows-after-quit t org-agenda-time-grid '((daily today require-timed) (800 1000 1200 1400 1600 1800 2000) " -----" "") - org-agenda-prefix-format '((agenda . " %?-12t% s") - (todo . " ") - (tags . " ") - (search . " ")) org-agenda-scheduled-leaders '("Booked: " "Booked %dd. ago: ") org-agenda-deadline-leaders '("Deadline: " "In %dd.: " "Died %dd. ago: ") org-agenda-start-with-log-mode t org-agenda-log-mode-items '(closed clock state)) #+END_SRC **** Custom Agendas -#+BEGIN_SRC emacs-lisp :tangle no -(defvar *re/org-agenda-inbox* - '(tags "CATEGORY=\"inbox\"" ((org-agenda-overriding-header "INBOX:")))) +#+BEGIN_SRC emacs-lisp + (defvar *re/org-agenda-inbox* + '(tags "CATEGORY=\"inbox\"" ((org-agenda-overriding-header "")))) -(defvar *re/org-agenda-todo* - '(tags-todo "-recurring/TODO" ((org-agenda-overriding-header "NEXT:")))) + (defvar *re/org-agenda-todo* + '(tags-todo "-recurring/TODO" ((org-agenda-overriding-header "")))) -(defvar *re/org-agenda-undertakings* - '(tags "CATEGORY=\"undertakings\"" ((org-agenda-skip-function - '(org-agenda-skip-entry-if 'notregexp "^\\* ")) - (org-agenda-overriding-header "UNDERTAKIŊS:")))) + (defvar *re/org-agenda-undertakings* + '(tags "CATEGORY=\"undertakings\"" ((org-agenda-skip-function + '(org-agenda-skip-entry-if 'notregexp "^\\* ")) + (org-agenda-overriding-header "")))) -(defvar *re/org-agenda-waiting* - '(todo "WAITING" ((org-agenda-overriding-header "WAITIŊ:")))) + (defvar *re/org-agenda-waiting* + '(todo "WAITING" ((org-agenda-overriding-header "")))) -(setq org-agenda-custom-commands `(("i" "Inbox" ,@*re/org-agenda-inbox*) - ("n" "Next Actions" ,@*re/org-agenda-todo*) - ("u" "Undertakings" ,@*re/org-agenda-undertakings*) - ("w" "Waiting" ,@*re/org-agenda-waiting*) - ("o" "Overview" (,*re/org-agenda-inbox* - ,,*re/org-agenda-todo* - ,,*re/org-agenda-waiting* - ,,*re/org-agenda-undertakings*)))) + (setq org-agenda-custom-commands `(("i" "Inbox" ,@*re/org-agenda-inbox*) + ("n" "Next Actions" ,@*re/org-agenda-todo*) + ("u" "Undertakings" ,@*re/org-agenda-undertakings*) + ("w" "Waiting" ,@*re/org-agenda-waiting*))) #+END_SRC **** Capture Templates -#+BEGIN_SRC emacs-lisp :tangle no -(setq org-capture-templates '(("i" "Inbox" entry +#+BEGIN_SRC emacs-lisp + (setq org-capture-templates '(("i" "Inbox" entry (file "inbox.org") "* %^{Description}\n%U\n%?" :prepend t) ("n" "Next Action" entry (file "next.org") - "* TODO %^{Description}\n%U\n%?" + "* TODO %^{Description}\nTaken: %T\n%?" :prepend t) ("u" "Undertaking" entry (file "undertakings.org") - "* %^{Description} [/]\n%U\n%?" + "* %^{Description} [/]\nTaken: %T\n%?" :prepend t) ("m" "Meeting" entry (file "meetings.org") @@ -324,7 +320,7 @@ Sly really doesn't play well with elodc in the minibuffer, so here are some sett :prepend t) ("p" "Phone Call" entry (file "inbox.org") - "* %^{Description} :call:\n%U\n%?" + "* %^{Description} :call:\n%T\n%?" :prepend t) ("t" "Note" entry (file "notes.org") @@ -429,7 +425,6 @@ Libraries Not from the package manager (dolist (file '(eng-paper-theme sedit-mouse)) (require file)) #+END_SRC - * UNIX/vi-like bindings =C-h=, =C-w=, =C-u=, et. al to work as I expect (like acme). Some functions get re-bound when these take over a default. #+BEGIN_SRC emacs-lisp