Re: Either zero or two newlines with org-agenda-block-separator, cannot seem to get one?
Am Thu, 09 Feb 2023 11:53:16 -0500 schrieb TRS-80 : > Hello List, > > I had sent original email to the list some time ago, never received a > reply. > > Hopefully I have set the correct headers for proper threading; if not > the OP can be found at (either of) these URLs: > > https://yhetil.org/orgmode/33fe6d20c0591fedbdd8c6ea78e34...@isnotmyreal.name/ > > https://list.orgmode.org/33fe6d20c0591fedbdd8c6ea78e34...@isnotmyreal.name/ > > I just looked at latest master(main) and It looks like this part of > the function `org-agenda-prepare' (in org-agenda.el) remains the same: > > #+begin_src emacs-lisp > (insert "\n" > (if (stringp org-agenda-block-separator) > org-agenda-block-separator > (make-string (window-max-chars-per-line) > org-agenda-block-separator)) "\n")) > #+end_src > > This results in problem mentioned in title. > > I guess no one else is affected/bothered by this? > > I have been patching it locally, it would be nice not to have to > manage that any longer. > FWIW, I'm bothered, too. Would like to see that in main! Detlef
Re: Either zero or two newlines with org-agenda-block-separator, cannot seem to get one?
Hello List, I had sent original email to the list some time ago, never received a reply. Hopefully I have set the correct headers for proper threading; if not the OP can be found at (either of) these URLs: https://yhetil.org/orgmode/33fe6d20c0591fedbdd8c6ea78e34...@isnotmyreal.name/ https://list.orgmode.org/33fe6d20c0591fedbdd8c6ea78e34...@isnotmyreal.name/ I just looked at latest master(main) and It looks like this part of the function `org-agenda-prepare' (in org-agenda.el) remains the same: #+begin_src emacs-lisp (insert "\n" (if (stringp org-agenda-block-separator) org-agenda-block-separator (make-string (window-max-chars-per-line) org-agenda-block-separator)) "\n")) #+end_src This results in problem mentioned in title. I guess no one else is affected/bothered by this? I have been patching it locally, it would be nice not to have to manage that any longer. -- Cheers, TRS-80
Either zero or two newlines with org-agenda-block-separator, cannot seem to get one?
Hallo, I tried to change the value of org-agenda-block-separator variable to many things (including characters and strings, in accordance with the documentation) however I could not seem to achieve the desired result. I was trying to make one blank line between agenda blocks in my custom agenda (defined via org-agenda-custom-commands). However I could only seem to either make two, or zero! :/ Searching for org-agenda-block-separator in org-agenda.el led me to org-agenda-prepare function, where it appears to me that there is no way to accomplish what I want, at least by simply changing a variable. Therefore I ended up commenting out one of the newlines in that function here in my local source, and re-loaded the file. And now I have one blank line between my agenda blocks, just as desired. :) But I thought this would be a good idea to bring to the attention of the mailing list. Cheers! TRS-80