unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1497: emacs -nw loses display of line number with long lines
@ 2008-12-05 11:15 ` Paul R
  2008-12-05 14:50   ` bug#1497: marked as done (emacs -nw loses display of line number with long lines) Emacs bug Tracking System
  2008-12-05 15:52   ` bug#1497: emacs -nw loses display of line number with long lines Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Paul R @ 2008-12-05 11:15 UTC (permalink / raw)
  To: submit

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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1497: marked as done (emacs -nw loses display of line number  with long lines)
  2008-12-05 11:15 ` bug#1497: emacs -nw loses display of line number with long lines Paul R
@ 2008-12-05 14:50   ` Emacs bug Tracking System
  2008-12-05 15:52   ` bug#1497: emacs -nw loses display of line number with long lines Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-12-05 14:50 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]


Your message dated Fri, 05 Dec 2008 09:40:16 -0500
with message-id <87ej0meldb.fsf@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@donarmstrong.com
immediately.)


-- 
1497: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1497
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2899 bytes --]

From: Paul R <paul.r.ml@gmail.com>
To: submit@emacsbugs.donarmstrong.com
Subject: emacs -nw loses display of line number with long lines
Date: Fri, 05 Dec 2008 12:15:17 +0100
Message-ID: <87abba7u0q.fsf@gmail.com>

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



[-- Attachment #3: Type: message/rfc822, Size: 1300 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Paul R <paul.r.ml@gmail.com>
Cc: 1497-done@emacsbugs.donarmstrong.com
Subject: emacs -nw loses display of line number with long lines
Date: Fri, 05 Dec 2008 09:40:16 -0500
Message-ID: <87ej0meldb.fsf@cyd.mit.edu>

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1497: emacs -nw loses display of line number with long lines
  2008-12-05 11:15 ` bug#1497: emacs -nw loses display of line number with long lines Paul R
  2008-12-05 14:50   ` bug#1497: marked as done (emacs -nw loses display of line number with long lines) Emacs bug Tracking System
@ 2008-12-05 15:52   ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2008-12-05 15:52 UTC (permalink / raw)
  To: Paul R, 1497; +Cc: bug-gnu-emacs

> From: Paul R <paul.r.ml@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?






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-05 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87ej0meldb.fsf@cyd.mit.edu>
2008-12-05 11:15 ` bug#1497: emacs -nw loses display of line number with long lines Paul R
2008-12-05 14:50   ` bug#1497: marked as done (emacs -nw loses display of line number with long lines) Emacs bug Tracking System
2008-12-05 15:52   ` bug#1497: emacs -nw loses display of line number with long lines Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).