Yep, I had seen that whitespace is the issue in my initial email, but I had not noticed that tabs are used. So here's a third attempt, sorry for the hiccups.
Whitespace should be consistent now. :) And yes, attachments are much better, but I wasn't sure about the policy here and I have not setup git send-email properly... Tim On Fri, 2023-03-10 at 19:32 +0700, Max Nikulin wrote: > On 10/03/2023 18:48, Ihor Radchenko wrote: > > Tim Ruffing writes: > > > > > * org-agenda.el (org-prepare-agenda): Don't reset > > > `org-todo-keywords-for-agenda' when org-agenda-multi. > > > Unfortunately, it does not apply. > > - @@ lines are wrapped by mail user agent > - tabs are converted to spaces > > https://list.orgmode.org/orgmode/55a16edf3c8e04e9f1f7be7ab281ddacac81d9c1.ca...@timruffing.de/raw > > While some people find it convenient to send patches as messages (and > some projects require such format), for others it is easier to add an > attachment than setting up mail client to avoid unintended > modifications > of patches.
From fe9a35bf46e800325d6b8cc435524486ff15e509 Mon Sep 17 00:00:00 2001 From: Tim Ruffing <cry...@timruffing.de> Date: Thu, 9 Mar 2023 13:38:28 +0100 Subject: [PATCH] Don't reset `org-todo-keywords-for-agenda' when org-agenda-multi * org-agenda.el (org-prepare-agenda): Don't reset `org-todo-keywords-for-agenda' when org-agenda-multi. Fixes a bug with TODO keywords that came to light in org-modern, see https://github.com/minad/org-modern/issues/26. This is very similar to cd2d138883a55cad48394a3f473da8b973a99a5e, which fixed the same for `org-done-keywords-for-agenda` (to fix a similar styling issue). TINYCHANGE --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 7e54121dc..3da0967f0 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3956,7 +3956,6 @@ FILTER-ALIST is an alist of filters we need to apply when (message "Sticky Agenda buffer, use `r' to refresh") (or org-agenda-multi (org-agenda-fit-window-to-buffer)) (throw 'exit "Sticky Agenda buffer, use `r' to refresh")) - (setq org-todo-keywords-for-agenda nil) (if org-agenda-multi (progn (setq buffer-read-only nil) @@ -3969,6 +3968,7 @@ FILTER-ALIST is an alist of filters we need to apply when (make-string (window-max-chars-per-line) org-agenda-block-separator)) "\n")) (narrow-to-region (point) (point-max))) + (setq org-todo-keywords-for-agenda nil) (setq org-done-keywords-for-agenda nil) ;; Setting any org variables that are in org-agenda-local-vars ;; list need to be done after the prepare call -- 2.39.2