From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: david.ponce@wanadoo.fr Newsgroups: gmane.emacs.devel Subject: windows.texi doc fix Date: Tue, 19 Oct 2004 12:11:39 +0200 (CEST) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <17344638.1098180698886.JavaMail.www@wwinf0802> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098180750 5623 80.91.229.6 (19 Oct 2004 10:12:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2004 10:12:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 19 12:12:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CJqyT-000692-00 for ; Tue, 19 Oct 2004 12:12:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJr5n-0005aT-LT for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2004 06:19:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJr5Q-0005Z8-HG for emacs-devel@gnu.org; Tue, 19 Oct 2004 06:19:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJr5P-0005Yc-FX for emacs-devel@gnu.org; Tue, 19 Oct 2004 06:19:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJr5P-0005YL-6k for emacs-devel@gnu.org; Tue, 19 Oct 2004 06:19:23 -0400 Original-Received: from [193.252.22.23] (helo=mwinf0801.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJqxx-0006UI-KQ for emacs-devel@gnu.org; Tue, 19 Oct 2004 06:11:42 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0801.wanadoo.fr (SMTP Server) with SMTP id 89E0B1800054 for ; Tue, 19 Oct 2004 12:11:39 +0200 (CEST) Original-Received: from wwinf0802 (wwinf0802 [172.22.139.29]) by mwinf0801.wanadoo.fr (SMTP Server) with ESMTP id F18581800126 for ; Tue, 19 Oct 2004 12:11:38 +0200 (CEST) Original-To: emacs-devel@gnu.org X-Originating-IP: [194.2.245.141] X-Priority: 5 (Lowest) X-WUM-FROM: |~| X-WUM-TO: |~| X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28596 Hi, Following is a small patch to the Elisp manual that fixes the missing documentation of the `preserve-before' optional argument of the functions `enlarge-window' and `shrink-window'. I just added the description I found in doc strings. David 2004-10-19 David Ponce * windows.texi (Resizing Windows): Document the `preserve-before' argument of the functions `enlarge-window' and `shrink-window'. Index: windows.texi =================================================================== RCS file: /cvsroot/emacs/emacs/lispref/windows.texi,v retrieving revision 1.75 diff -c -r1.75 windows.texi *** windows.texi 24 Jul 2004 15:33:15 -0000 1.75 --- windows.texi 19 Oct 2004 09:57:54 -0000 *************** *** 1922,1928 **** window size. Emacs does not permit overlapping windows or gaps between windows, so resizing one window affects other windows. ! @deffn Command enlarge-window size &optional horizontal This function makes the selected window @var{size} lines taller, stealing lines from neighboring windows. It takes the lines from one window at a time until that window is used up, then takes from another. --- 1922,1928 ---- window size. Emacs does not permit overlapping windows or gaps between windows, so resizing one window affects other windows. ! @deffn Command enlarge-window size &optional horizontal preserve-before This function makes the selected window @var{size} lines taller, stealing lines from neighboring windows. It takes the lines from one window at a time until that window is used up, then takes from another. *************** *** 1950,1955 **** --- 1950,1959 ---- than the minimum size (@code{window-min-height} and @code{window-min-width}), @code{enlarge-window} deletes the window. + Optional third arg @var{preserve-before}, if non-@code{nil}, means do + not change the size of the siblings above or to the left of the + selected window. Only siblings to the right or below are changed. + @code{enlarge-window} returns @code{nil}. @end deffn *************** *** 1965,1971 **** @end example @end deffn ! @deffn Command shrink-window size &optional horizontal This function is like @code{enlarge-window} but negates the argument @var{size}, making the selected window smaller by giving lines (or columns) to the other windows. If the window shrinks below --- 1969,1975 ---- @end example @end deffn ! @deffn Command shrink-window size &optional horizontal preserve-before This function is like @code{enlarge-window} but negates the argument @var{size}, making the selected window smaller by giving lines (or columns) to the other windows. If the window shrinks below *************** *** 1973,1978 **** --- 1977,1986 ---- If @var{size} is negative, the window is enlarged by @minus{}@var{size} lines or columns. + + Optional third arg @var{preserve-before}, if non-@code{nil}, means do + not change the size of the siblings above or to the left of the + selected window. Only siblings to the right or below are changed. @end deffn @deffn Command shrink-window-horizontally columns