emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/doc/lispref ChangeLog windows.texi


From: Martin Rudalics
Subject: [Emacs-diffs] emacs/doc/lispref ChangeLog windows.texi
Date: Sun, 10 May 2009 07:13:34 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Martin Rudalics <m061211>       09/05/10 07:13:34

Modified files:
        doc/lispref    : ChangeLog windows.texi 

Log message:
        (Choosing Window): Fix rewrite of window splitting section.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/ChangeLog?cvsroot=emacs&r1=1.270&r2=1.271
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/windows.texi?cvsroot=emacs&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/ChangeLog,v
retrieving revision 1.270
retrieving revision 1.271
diff -u -b -r1.270 -r1.271
--- ChangeLog   9 May 2009 09:10:07 -0000       1.270
+++ ChangeLog   10 May 2009 07:13:33 -0000      1.271
@@ -1,3 +1,8 @@
+2009-05-10  Martin Rudalics  <address@hidden>
+
+       * windows.texi (Choosing Window): Fix rewrite of window
+       splitting section.
+
 2009-05-09  Eli Zaretskii  <address@hidden>
 
        * nonascii.texi (Default Coding Systems): Document

Index: windows.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/windows.texi,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- windows.texi        9 May 2009 07:19:48 -0000       1.29
+++ windows.texi        10 May 2009 07:13:34 -0000      1.30
@@ -974,7 +974,7 @@
 cannot (or shall not) be split.
 
 The default value of @code{split-window-preferred-function} is the
-function @code{split-window-sensibly} described below.  When you
+function @code{split-window-sensibly} described below.  If you
 customize this option, bear in mind that the @code{display-buffer}
 routines may call your function up to two times when trying to split a
 window.  The argument of the first call is the largest window on the
@@ -983,55 +983,59 @@
 with the least recently used window on that frame (as returned by
 @code{get-lru-window}).
 
-The function assigned to this option may also try to split any other
-window instead of the argument window.  Note that the window selected at
-the time @code{display-buffer} was invoked is still selected when your
+The function specified by this option may try to split any other window
+instead of the argument window.  Note that the window selected at the
+time @code{display-buffer} was invoked is still selected when your
 function is called.  Hence, you can split the selected window (instead
 of the largest or least recently used one) by simply ignoring the window
 argument in the body of your function.  You can even choose to not split
 any window as long as the return value of your function specifies a live
-window or nil, but you are not encouraged to do so unconditionally.  If
-you want @code{display-buffer} to never split any windows, set
address@hidden to @code{nil}.
+window or @code{nil}, but you are not encouraged to do so
+unconditionally.  If you want @code{display-buffer} to never split any
+windows, set @code{pop-up-windows} to @code{nil}.
 @end defvar
 
address@hidden split-window-sensibly
address@hidden split-window-sensibly window
 This function takes a window as argument and tries to split that window
 in a suitable way.  The two variables described next are useful for
 tuning the behavior of this function.
 @end defun
 
 @defopt split-height-threshold
-This variable specifies whether @code{split-window-sensibly} may split
-its argument window vertically.  If this variable is set to an integer,
address@hidden splits the window only if it has at least
-this many lines.  If the value of this variable is @code{nil},
address@hidden tries to split the window horizontally,
-subject to restrictions of @code{split-width-threshold} (see below).  If
-splitting horizontally fails too, @code{split-window-sensibly} will try
-to split the window vertically disregarding the value of this variable.
-
address@hidden does not split a window vertically whose
-height is fixed (@pxref{Resizing Windows}).  Moreover, it splits a
-window vertically only if the space taken up by that window can
-accommodate two windows one above the other that are both at least
address@hidden lines tall.  Finally, if the window that shall
-be split has a mode line, @code{split-window-sensibly} makes sure that
-the new window can accomodate a mode line as well.
+This variable specifies whether @code{split-window-sensibly} is allowed
+to vertically split the window passed to it as argument.  If the value
+of this variable is an integer, @code{split-window-sensibly} tries to
+vertically split that window only if it has at least this many lines.
+If the window has less lines, splitting fails, or the value of this
+variable is @code{nil}, @code{split-window-sensibly} will try to split
+the window horizontally, subject to restrictions of
address@hidden (see below).  If splitting horizontally
+fails too and the window is the only window on its frame,
address@hidden will try to split the window vertically
+disregarding the value of @code{split-height-threshold}.  If this fails
+as well, @code{split-window-sensibly} returns @code{nil}.
+
address@hidden does not split vertically a window whose
+height is fixed (@pxref{Resizing Windows}).  Also, it vertically splits
+a window only if the space taken up by that window can accommodate two
+windows one above the other that are both at least
address@hidden lines tall.  Moreover, if the window that shall
+be split has a mode line, @code{split-window-sensibly} does not split
+the window unless the new window can accomodate a mode line too.
 @end defopt
 
 @defopt split-width-threshold
-This variable specifies whether @code{split-window-sensibly} may split
-its argument window horizontally.  If this variable is set to an
-integer, @code{split-window-sensibly} splits the window only if it has
-at least this many columns.  If the value of this variable is
address@hidden, @code{split-window-sensibly} will not split the window
-horizontally.  (It still might split the window vertically, though, see
-above.)
+This variable specifies whether @code{split-window-sensibly} is allowed
+to horizontally split the window passed to it as argument.  If the value
+of this variable is an integer, @code{split-window-sensibly} tries to
+horizontally split that window only if it has at least this many
+columns.  If the value is @code{nil}, @code{split-window-sensibly} will
+not split the window horizontally.  (It still might split the window
+vertically, though, see above.)
 
address@hidden does not split a window horizontally if
address@hidden does not split horizontally a window if
 that window's width is fixed (@pxref{Resizing Windows}).  Also, it
-splits a window horizontally only if the space that window takes up can
+horizontally splits a window only if the space that window takes up can
 accommodate two windows side by side that are both at least
 @code{window-min-width} columns wide.
 @end defopt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]