unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: david.ponce@wanadoo.fr
Subject: windows.texi doc fix
Date: Tue, 19 Oct 2004 12:11:39 +0200 (CEST)	[thread overview]
Message-ID: <17344638.1098180698886.JavaMail.www@wwinf0802> (raw)

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  <david@dponce.com>

	* 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

             reply	other threads:[~2004-10-19 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19 10:11 david.ponce [this message]
2004-10-21  1:46 ` windows.texi doc fix Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2004-10-21 10:31 David PONCE
2004-10-22 10:46 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17344638.1098180698886.JavaMail.www@wwinf0802 \
    --to=david.ponce@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).