From: rearman Date: Wed, 8 May 2024 19:53:25 +0000 (-0400) Subject: Meeting Template, remove tags from agenda, normal verbatim mode X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=7c4c42d7b251386f7532492df86fe8c1b50ee56c;p=emacsinit.git Meeting Template, remove tags from agenda, normal verbatim mode --- diff --git a/init.org b/init.org index e0fef01..3d5535b 100644 --- a/init.org +++ b/init.org @@ -556,12 +556,13 @@ Add some much-used tags with shortcuts *** Agenda **** General options -Go back to previous view on quit, always start on current day, warn me for 30 days of a deadline, and use the current window for the agenda. +Go back to previous view on quit, always start on current day, warn me for 30 days of a deadline, use the current window for the agenda, and don't show tags. #+BEGIN_SRC emacs-lisp (setq org-agenda-restore-windows-after-quit t org-agenda-start-on-weekday nil org-deadline-warning-days 30 - org-agenda-window-setup 'current-window) + org-agenda-window-setup 'current-window + org-agenda-remove-tags t) #+END_SRC **** Custom View @@ -605,13 +606,20 @@ Resume clocking when emacs restarts, save&load running clock and history on exit Capture Templates per my proclivities. #+BEGIN_SRC emacs-lisp (setq org-capture-templates '(("n" "Note" entry (file org-default-notes-file) - "* %? %u" :clock-in t :clock-resume t) + "* %? %u" + :clock-in t + :clock-resume t) ("t" "TODO" entry (file org-default-notes-file) - "* TODO %?\n%U\n" :clock-in t :clock-resume t) + "* TODO %?\n%U\n" + :clock-in t + :clock-resume t) ("m" "Meeting" entry (file+olp+datetree org-journal-file) - "* MEETING with %? :MEETING:\n%t" :clock-in t :clock-resume t) + "* %? :meeting:%^g \n%t\n** Attendees\n*** \n** Notes\n** Action Items\n*** TODO " + :clock-in t + :clock-resume t) ("a" "Appointment" entry (file+olp+datetree org-journal-file) - "* APPT %?\nSCHEDULED: %t" :time-prompt t) + "* APPT %?\nSCHEDULED: %t" + :time-prompt t) ("j" "Journal" entry (file+olp+datetree org-journal-file) "* %?\n%U\n"))) #+END_SRC @@ -674,14 +682,16 @@ Start up =abbrev-mode= for org #+END_SRC ***** Meeting properties block +Superceded by [[*Templates][Meeting Capture Template]] #+BEGIN_SRC emacs-lisp -(define-skeleton skel-meeting-properties - "Insert the org title and filetags for a meeting" - "" - "#+TITLE: " - _ - - " Meeting\n" - "#+FILETAGS: meeting date customer city state attendees topics\n") +;; (define-skeleton skel-meeting-properties +;; "Insert the org title and filetags for a meeting" +;; "" +;; "#+TITLE: " +;; _ - +;; " Meeting\n" +;; "#+FILETAGS: meeting date customer city state attend +ees topics\n") #+END_SRC **** Bind the snippets (in the =abbrev-file-name= file) @@ -743,15 +753,6 @@ Stolen from https://github.com/larstvei/dot-emacs." (add-hook 'after-save-hook 'tangle-init) #+END_SRC -*** Emphasis Regexp -For some reason, the org people decided that =verbatim= doesn't actually mean =verbatim=! This attempts to fix that. I found this solution on [[https://emacs.stackexchange.com/questions/13820/inline-verbatim-and-code-with-quotes-in-org-mode][stackexchange]]. -#+BEGIN_SRC emacs-lisp -(eval-after-load "org" '(lambda () - (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\r\n,") - (org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components) - (org-element--set-regexps))) -#+END_SRC - ** Dired configuration Make dired use the same switches I prefer for =ls=, give me a simpler listing, and default to using its current buffer for visiting a file, rather than creating a new one. #+BEGIN_SRC emacs-lisp @@ -1315,7 +1316,6 @@ lb of air." (list sat-water-press hum-ratio gns-water-lb-air))) #+END_SRC - ** Customize system I do not use the customize system. I don't want to see it if I don't have to. #+BEGIN_SRC emacs-lisp