Re: [BUG] Off-by-one error in width of Agenda window?

2022-04-20 Thread N. Jackson
At 12:01 +0800 on Wednesday 2022-04-20, Ihor Radchenko wrote: > > "N. Jackson" writes: > >> It seems that Org maybe should be using window-max-chars-per-line >> rather than window-width. >> >> [Unfortunately w-m-c-p-l is not a drop in replacement for >> window-width; it doesn't just fix the

Re: [BUG] Off-by-one error in width of Agenda window?

2022-04-19 Thread Ihor Radchenko
"N. Jackson" writes: > It turns out there is already an Emacs bug for this (Bug 19395: > Setting left fringe to 0 messes up window-width > (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19395)). > > My understanding of the discussion is that the bug is caused by > window-width including in its

Re: [BUG] Off-by-one error in width of Agenda window?

2022-04-19 Thread N. Jackson
At 11:16 +0800 on Tuesday 2022-04-19, Ihor Radchenko wrote: > > Thanks! I was able to reproduce the problem. > > I believe that it is not Org's fault. Org is trusting (window-width) > return value to calculate the width of the separator line. However, with > you settings, (window-width) apparently

Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)]

2022-04-18 Thread Ihor Radchenko
"N. Jackson" writes: > No, it doesn't happen just with emacs -Q. > > I have bisected my init file and narrowed it down to this setting in > my custom-set-variables: > > '(fringe-mode '(nil . 0) nil (fringe)) > > > Here is a recipe to reproduce the problem from emacs -Q: Thanks! I was able to

Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)]

2022-04-18 Thread N. Jackson
At 21:39 +0800 on Monday 2022-04-18, Ihor Radchenko wrote: > "N. Jackson" writes: > >> Recently it seems as if Org Agenda thinks its window is one >> character wider than it actually is. The incorrect behaviour I >> observe is: > > I do not see any issues on both stable bugfix and main branches.

Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)]

2022-04-18 Thread Tory S. Anderson
"N. Jackson" writes: > Recently it seems as if Org Agenda thinks its window is one > character wider than it actually is. The incorrect behaviour I > observe is: > > 1. Tags in Agenda are all wrapped to the next line even though there > is plenty of space to display them on the same > line.

Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)]

2022-04-18 Thread Ihor Radchenko
"N. Jackson" writes: > Recently it seems as if Org Agenda thinks its window is one > character wider than it actually is. The incorrect behaviour I > observe is: I do not see any issues on both stable bugfix and main branches. Are you able to reproduce starting from emacs -Q? (see

[BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)]

2022-04-18 Thread N. Jackson
Recently it seems as if Org Agenda thinks its window is one character wider than it actually is. The incorrect behaviour I observe is: 1. Tags in Agenda are all wrapped to the next line even though there is plenty of space to display them on the same line. (org-agenda-tags-column is set to its