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: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#1497: marked as done (emacs -nw loses display of line number 
 with long lines)
[Message part 1 (text/plain, inline)]
Your message dated Fri, 05 Dec 2008 09:40:16 -0500
with message-id <87ej0meldb.fsf <at> cyd.mit.edu>
and subject line emacs -nw loses display of line number with long lines
has caused the Emacs bug report #1497,
regarding emacs -nw loses display of line number with long lines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
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: 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


[Message part 3 (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.


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.