GNU bug report logs - #1497
emacs -nw loses display of line number with long lines

Previous Next

Package: emacs;

Reported by: Paul R <paul.r.ml <at> gmail.com>

Date: Fri, 5 Dec 2008 11:25:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Paul R <paul.r.ml <at> gmail.com>
Subject: bug#1497 closed by Chong Yidong <cyd <at> stupidchicken.com> (emacs 
 -nw loses display of line number with long lines)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1497: emacs -nw loses display of line number with long lines

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
1497: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1497
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Paul R <paul.r.ml <at> gmail.com>
Cc: 1497-done <at> debbugs.gnu.org
Subject: emacs -nw loses display of line number with long lines
Date: Fri, 05 Dec 2008 09:40:16 -0500
This is not a bug.  From the Emacs manual:

     Line-number computation can also be slow if the lines in the buffer
  are too long.  For this reason, Emacs doesn't display line numbers if
  the average width, in characters, of lines near point is larger than
  the value of `line-number-display-limit-width'.  The default value is
  200 characters.

[Message part 3 (message/rfc822, inline)]
From: Paul R <paul.r.ml <at> gmail.com>
To: submit <at> debbugs.gnu.org
Subject: emacs -nw loses display of line number with long lines
Date: Fri, 05 Dec 2008 12:15:17 +0100
To reproduce, open emacs -nw -Q, then type a very long line, for example
typing around 100 random characters, then C-a C-k to kill the string
then maintain C-y to past many times to get a line taking 4 or 5 display
lines. This is your long line. Then hit C-j.

Repeat operation ten times or more to have many such long lines.

Monitor line number in mode-line while operating. At a point, it will
print L??

M-: (line-number-at-pos (point)) will return correct value so it is
likely to be a display problem.

Tested on Linux with emacs 23 cvs -nw in gnome-terminal.

Can't reproduce in X version.

-- 
  Paul



This bug report was last modified 16 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.