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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1497 in the body.
You can then email your comments to 1497 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1497; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Paul R <paul.r.ml <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Paul R <paul.r.ml <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 1497-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1497; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul R <paul.r.ml <at> gmail.com>, 1497 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#1497: emacs -nw loses display of line number with long lines
Date: Fri, 05 Dec 2008 17:52:19 +0200
> From: Paul R <paul.r.ml <at> gmail.com>
> Package: emacs
> Version: 23
> Date: Fri, 05 Dec 2008 12:15:17 +0100
> Cc: 
> 
> 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.

Could it be due to the value of line-number-display-limit-width?

    line-number-display-limit-width is a variable defined in `C source code'.
    Its value is 200

Did you perhaps exceed the 200-character limit?





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1497; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 03 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

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.