unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* with text file including very long lines, line number field of mode line becomes "??"
@ 2012-11-30  0:38 netjunegg
  2012-11-30 11:13 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: netjunegg @ 2012-11-30  0:38 UTC (permalink / raw)
  To: emacs-devel@gnu.org

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




long lines as long as 20000 characters or more. 
besides that, performance decreases too much.
mode: text or fundamental

 		 	   		  

[-- Attachment #2: Type: text/html, Size: 374 bytes --]

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

* Re: with text file including very long lines, line number field of mode line becomes "??"
  2012-11-30  0:38 with text file including very long lines, line number field of mode line becomes "??" netjunegg
@ 2012-11-30 11:13 ` Andreas Schwab
  2012-11-30 16:47   ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2012-11-30 11:13 UTC (permalink / raw)
  To: netjunegg; +Cc: emacs-devel@gnu.org

See line-number-display-limit and line-number-display-limit-width.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



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

* RE: with text file including very long lines, line number field of mode line becomes "??"
  2012-11-30 11:13 ` Andreas Schwab
@ 2012-11-30 16:47   ` Drew Adams
  2012-12-03  1:23     ` netjunegg
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2012-11-30 16:47 UTC (permalink / raw)
  To: 'Andreas Schwab', 'netjunegg'; +Cc: emacs-devel

> See line-number-display-limit and line-number-display-limit-width.

Maybe the popup menu over the line number could have an item that takes you to
the doc for those vars when `??' is displayed: (emacs) `Optional Mode Line'.

IOW, `??' says only "No idea what the line number is".  It could help to also
point users to info on how to control/fix this.

And/or a popup item could just increase the limit to make it big enough to show
the number of the last line number for the current buffer.




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

* RE: with text file including very long lines, line number field of mode line becomes "??"
  2012-11-30 16:47   ` Drew Adams
@ 2012-12-03  1:23     ` netjunegg
  0 siblings, 0 replies; 4+ messages in thread
From: netjunegg @ 2012-12-03  1:23 UTC (permalink / raw)
  To: Drew Adams, 'Andreas Schwab'; +Cc: emacs-devel@gnu.org

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

Thank you very much. It works. 
I knew line-number-display-limit but didn't know line-number-display-limit-width.

> From: drew.adams@oracle.com
> To: schwab@linux-m68k.org; netjunegg@outlook.com
> Subject: RE: with text file including very long lines,	line number field of mode line becomes "??"
> Date: Fri, 30 Nov 2012 08:47:30 -0800
> CC: emacs-devel@gnu.org
> 
> > See line-number-display-limit and line-number-display-limit-width.
> 
> Maybe the popup menu over the line number could have an item that takes you to
> the doc for those vars when `??' is displayed: (emacs) `Optional Mode Line'.
> 
> IOW, `??' says only "No idea what the line number is".  It could help to also
> point users to info on how to control/fix this.
> 
> And/or a popup item could just increase the limit to make it big enough to show
> the number of the last line number for the current buffer.
> 
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1282 bytes --]

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

end of thread, other threads:[~2012-12-03  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-30  0:38 with text file including very long lines, line number field of mode line becomes "??" netjunegg
2012-11-30 11:13 ` Andreas Schwab
2012-11-30 16:47   ` Drew Adams
2012-12-03  1:23     ` netjunegg

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).