[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.
From: |
Ihor Radchenko |
Subject: |
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/)] |
Date: |
Tue, 19 Apr 2022 11:16:26 +0800 |
"N. Jackson" <nljlistbox2@gmail.com> 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 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 returns a wrong value. You can
see it yourself by running (insert (make-string (window-width) ?=)) in
scratch buffer with and without your fringe settings.
Probably, you should report this as Emacs bug.
Best,
Ihor
- [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/)], N. Jackson, 2022/04/18
- 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/)], Ihor Radchenko, 2022/04/18
- 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/)], N. Jackson, 2022/04/18
- 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/)],
Ihor Radchenko <=
- Re: [BUG] Off-by-one error in width of Agenda window?, N. Jackson, 2022/04/19
- Re: [BUG] Off-by-one error in width of Agenda window?, Ihor Radchenko, 2022/04/20
- Re: [BUG] Off-by-one error in width of Agenda window?, N. Jackson, 2022/04/20
- [PATCH] org-agenda: Use `window-max-chars-per-line' instead of `window-width', Ihor Radchenko, 2022/04/21
- Re: [PATCH] org-agenda: Use `window-max-chars-per-line' instead of `window-width', N. Jackson, 2022/04/21
- Re: [PATCH] org-agenda: Use `window-max-chars-per-line' instead of `window-width', N. Jackson, 2022/04/21
- [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width, Ihor Radchenko, 2022/04/22
- Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width, N. Jackson, 2022/04/22
- Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width, Ihor Radchenko, 2022/04/22
- Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width, N. Jackson, 2022/04/22