all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* split-height-threshold?
@ 2005-10-18 22:05 Stefan Monnier
  2005-10-20  4:54 ` split-height-threshold? Richard M. Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2005-10-18 22:05 UTC (permalink / raw)



What's up with split-height-threshold?
Has anybody ever used it?

It's compared to windw_height(window) and should thus be expressed in number
of lines, but its default value of 500 is then basically equivalent to
most-positive-fixnum.  I.e. "never split".  Was that really the intention?
I see no comment of it, and since this code dates back to revision 1.1,
there's no ChangeLog info either.


        Stefan

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

* Re: split-height-threshold?
  2005-10-18 22:05 split-height-threshold? Stefan Monnier
@ 2005-10-20  4:54 ` Richard M. Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard M. Stallman @ 2005-10-20  4:54 UTC (permalink / raw)
  Cc: emacs-devel

    It's compared to windw_height(window) and should thus be expressed in number
    of lines, but its default value of 500 is then basically equivalent to
    most-positive-fixnum.  I.e. "never split".  Was that really the intention?

I think so.  This large value means, in effect, "Don't split a window
unless it is the whole frame."

However, it is ugly and not 100% reliable to use 500 to mean that.
In theory, someone might have a frame more than 500 lines tall.  It
would be cleaner to use the largest positive fixnum, or perhaps define
nil to have this meaning and use nil.

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

end of thread, other threads:[~2005-10-20  4:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-18 22:05 split-height-threshold? Stefan Monnier
2005-10-20  4:54 ` split-height-threshold? Richard M. Stallman

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.