all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* line-number-display-limit-width
@ 2008-01-09 14:55 stephenb
  2008-01-10  4:45 ` line-number-display-limit-width Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: stephenb @ 2008-01-09 14:55 UTC (permalink / raw)
  To: Help-gnu-emacs


using emacs 21.3 on windows:

the help file claims I can set var "line-number-display-limit-width", but
there is no such variable.
direct editing produces no match and browsing the "Display" group also does
not show such a variable.

do I need to setup that variable?
I saw the linum.el, but it displays line numbers in the buffer instead of
the mode line at the bottom.

Thanks everybody.
-- 
View this message in context: http://www.nabble.com/line-number-display-limit-width-tp14713431p14713431.html
Sent from the Emacs - Help mailing list archive at Nabble.com.

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

* Re: line-number-display-limit-width
  2008-01-09 14:55 line-number-display-limit-width stephenb
@ 2008-01-10  4:45 ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2008-01-10  4:45 UTC (permalink / raw)
  To: help-gnu-emacs

stephenb wrote:
> using emacs 21.3 on windows:
> 
> the help file claims I can set var "line-number-display-limit-width", but
> there is no such variable.
> direct editing produces no match and browsing the "Display" group also does
> not show such a variable.
> 
> do I need to setup that variable?
> I saw the linum.el, but it displays line numbers in the buffer instead of
> the mode line at the bottom.
> 
> Thanks everybody.

I'm using 22.1, and here's what's in my ~/.emacs:

(setq line-number-display-limit-width 1024)

-- 
Kevin Rodgers
Denver, Colorado, USA

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

* Re: line-number-display-limit-width
@ 2008-01-10  6:42 martin rudalics
  0 siblings, 0 replies; 3+ messages in thread
From: martin rudalics @ 2008-01-10  6:42 UTC (permalink / raw)
  To: help-gnu-emacs

 > using emacs 21.3 on windows:
 >
 > the help file claims I can set var "line-number-display-limit-width", but
 > there is no such variable.

With Emacs 21.3 typing C-h v RET line-number-display-limit-width RET
should give you

line-number-display-limit-width's value is 200

Documentation:
*Maximum line width (in characters) for line number display.
If the average length of the lines near point is bigger than this, then the
line number may be omitted from the mode line.

 > do I need to setup that variable?

Only if computing the line-number slows down Emacs.  With Emacs 22.1
this variable is customizable.

 > I saw the linum.el, but it displays line numbers in the buffer instead of
 > the mode line at the bottom.

Indeed.  linum.el is not related to this.

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

end of thread, other threads:[~2008-01-10  6:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 14:55 line-number-display-limit-width stephenb
2008-01-10  4:45 ` line-number-display-limit-width Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2008-01-10  6:42 line-number-display-limit-width martin rudalics

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.