bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28248: 26.0.50; display-line-numbers does not affect window-width /


From: Eli Zaretskii
Subject: bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width
Date: Sun, 27 Aug 2017 17:37:14 +0300

> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Sun, 27 Aug 2017 11:15:16 +0200
> Cc: 28248@debbugs.gnu.org
> 
> The display of the line separating todo and done items in Todo mode
> (part of Emacs) is also affected by this.  (However, with the default
> setup of Todo mode displaying line numbers is unnecessary and even
> distracting, since Todo mode already numbers the items by default.)
> 
> > I note that turning off fringes *does* correctly adjust
> > window-text-width, so it seems that display-line-numbers-mode should do
> > the same.
> 
> I never tried that before with Todo mode but did just now and see that
> it doesn't quite work here: the left side is fine but on the right there
> is a continuation character in the last column, so the separator line
> breaks on the last character (this is with overflow-newline-into-fringe
> set to t, the default).

It's not clear to me whether you think that display-line-numbers-mode
makes sense together with Todo mode.  If it doesn't, one solution is
to turn the display-line-numbers-mode off locally in the buffer when
Todo mode is turned on.  If you want to fix your separator line so it
works when line numbers are displayed, please let me know if you need
help doing that, given the information I just posted in this thread.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]