GNU bug report logs -
#35338
Line numbers lost despite line-number-display-limit
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35338 in the body.
You can then email your comments to 35338 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35338
; Package
emacs
.
(Sat, 20 Apr 2019 12:23:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 20 Apr 2019 12:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
We read
line-number-display-limit is a variable defined in ‘C source code’.
Its value is nil
Documentation:
Maximum buffer size for which line number should be displayed.
If the buffer is bigger than this, the line number does not appear
in the mode line. A value of nil means no limit.
$ perl -wle 'print "中華民國萬歲" x 99 for 9..99;' >| /tmp/9
$ wc /tmp/9
91 91 162253 /tmp/9
$ emacs -nw -q /tmp/9
C-v
C-v
C-v...
About halfway through the file it loses track of the line number, which
becomes "L??". No value of LC_ALL will help either.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35338
; Package
emacs
.
(Sat, 20 Apr 2019 13:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 35338 <at> debbugs.gnu.org (full text, mbox):
> From: 積丹尼 Dan Jacobson
> <jidanni <at> jidanni.org>
> Date: Sat, 20 Apr 2019 14:33:30 +0800
>
> $ perl -wle 'print "中華民國萬歲" x 99 for 9..99;' >| /tmp/9
> $ wc /tmp/9
> 91 91 162253 /tmp/9
> $ emacs -nw -q /tmp/9
> C-v
> C-v
> C-v...
>
> About halfway through the file it loses track of the line number, which
> becomes "L??". No value of LC_ALL will help either.
Does "C-h f line-number-display-mode RET" tell something that helps to
understand what's going on?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35338
; Package
emacs
.
(Sat, 20 Apr 2019 13:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 35338 <at> debbugs.gnu.org (full text, mbox):
> From: 積丹尼 Dan Jacobson
> <jidanni <at> jidanni.org>
> Date: Sat, 20 Apr 2019 14:33:30 +0800
>
> $ perl -wle 'print "中華民國萬歲" x 99 for 9..99;' >| /tmp/9
> $ wc /tmp/9
> 91 91 162253 /tmp/9
> $ emacs -nw -q /tmp/9
> C-v
> C-v
> C-v...
>
> About halfway through the file it loses track of the line number, which
> becomes "L??". No value of LC_ALL will help either.
Does "C-h f line-number-mode RET" tell something that helps to
understand what's going on?
(In the previous mail I mistakenly used line-number-display-mode;
sorry for the typo.)
Added tag(s) notabug.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 20 Apr 2019 17:32:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
35338 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 20 Apr 2019 17:32:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#35338
; Package
emacs
.
(Sat, 20 Apr 2019 22:01:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 35338 <at> debbugs.gnu.org (full text, mbox):
Users who do C-f v line-number-display-limit will never learn about
line-number-display-limit-width, and vice versa. 100%!
Therefore each docstring needs to mention the other.
Else the user won't know about the secret second hidden factor,
and will be sure it is a bug.
By the way, line-number-display-limit-width's docstring should say what
nil will do, and/or how to always/never get numbers.
P.S., "If the average length of the lines near point is bigger than
this, then the line number may be omitted from the mode line."
"near", "may" ??! Well all I know is if we do
$ { perl -wle 'print "中華民國萬歲" x 99 for 9..99;' ; seq 1111;} > /tmp/9
we start out with fat lines, and then end up with thin lines,
and we get line numbers for the first few screens, and then it gives up.
If at the bottom we do (what-line) then it remembers again, until we go
back to the fat lines, where it forgets, even if we do (what-line).
Anyway I bet these days the rest of emacs' brain is actually rather
quite aware of what line we are actually on, and just this
line-number-display-limit-width is left over from some older era...
less -M and more's '=' have no problem.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 19 May 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 341 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.