diff options
| author | Karoly Lorentey | 2005-12-03 14:25:50 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-12-03 14:25:50 +0000 |
| commit | 9ef706664e98e37e9633712126bae99869904677 (patch) | |
| tree | 193bce7424700e4c7d70f54b04f7f81d64525554 /lispref | |
| parent | 950bed4bb96d2a580818bdaab64a164c7c9a1c1e (diff) | |
| parent | 9f6efa0c78099f2f028c4db1db5a58567a1cfb4e (diff) | |
| download | emacs-9ef706664e98e37e9633712126bae99869904677.tar.gz emacs-9ef706664e98e37e9633712126bae99869904677.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 659-663)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-659
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-660
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-661
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-662
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-663
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-445
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | lispref/windows.texi | 36 |
2 files changed, 29 insertions, 11 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 12fb6e42460..64c676d759f 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-11-27 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * windows.texi (Resizing Windows): Add adjust-window-trailing-edge. | ||
| 4 | |||
| 1 | 2005-11-21 Juri Linkov <juri@jurta.org> | 5 | 2005-11-21 Juri Linkov <juri@jurta.org> |
| 2 | 6 | ||
| 3 | * customize.texi (Common Keywords): Update links types | 7 | * customize.texi (Common Keywords): Update links types |
diff --git a/lispref/windows.texi b/lispref/windows.texi index 56ec80b9a24..efb7cf32326 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -1216,6 +1216,9 @@ forms. But that value is hard to find. | |||
| 1216 | @defun set-window-point window position | 1216 | @defun set-window-point window position |
| 1217 | This function positions point in @var{window} at position | 1217 | This function positions point in @var{window} at position |
| 1218 | @var{position} in @var{window}'s buffer. It returns @var{position}. | 1218 | @var{position} in @var{window}'s buffer. It returns @var{position}. |
| 1219 | |||
| 1220 | If @var{window} is selected, and its buffer is current, | ||
| 1221 | this simply does @code{goto-char}. | ||
| 1219 | @end defun | 1222 | @end defun |
| 1220 | 1223 | ||
| 1221 | @node Window Start | 1224 | @node Window Start |
| @@ -1702,7 +1705,7 @@ scrolling value explicitly. The value you specify serves as a lower | |||
| 1702 | bound for automatic scrolling, i.e. automatic scrolling will not | 1705 | bound for automatic scrolling, i.e. automatic scrolling will not |
| 1703 | scroll a window to a column less than the specified one. | 1706 | scroll a window to a column less than the specified one. |
| 1704 | 1707 | ||
| 1705 | @deffn Command scroll-left &optional count | 1708 | @deffn Command scroll-left &optional count set-minimum |
| 1706 | This function scrolls the selected window @var{count} columns to the | 1709 | This function scrolls the selected window @var{count} columns to the |
| 1707 | left (or to the right if @var{count} is negative). The default | 1710 | left (or to the right if @var{count} is negative). The default |
| 1708 | for @var{count} is the window width, minus 2. | 1711 | for @var{count} is the window width, minus 2. |
| @@ -1710,20 +1713,23 @@ for @var{count} is the window width, minus 2. | |||
| 1710 | The return value is the total amount of leftward horizontal scrolling in | 1713 | The return value is the total amount of leftward horizontal scrolling in |
| 1711 | effect after the change---just like the value returned by | 1714 | effect after the change---just like the value returned by |
| 1712 | @code{window-hscroll} (below). | 1715 | @code{window-hscroll} (below). |
| 1713 | @end deffn | ||
| 1714 | |||
| 1715 | @deffn Command scroll-right &optional count | ||
| 1716 | This function scrolls the selected window @var{count} columns to the | ||
| 1717 | right (or to the left if @var{count} is negative). The default | ||
| 1718 | for @var{count} is the window width, minus 2. | ||
| 1719 | |||
| 1720 | The return value is the total amount of leftward horizontal scrolling in | ||
| 1721 | effect after the change---just like the value returned by | ||
| 1722 | @code{window-hscroll} (below). | ||
| 1723 | 1716 | ||
| 1724 | Once you scroll a window as far right as it can go, back to its normal | 1717 | Once you scroll a window as far right as it can go, back to its normal |
| 1725 | position where the total leftward scrolling is zero, attempts to scroll | 1718 | position where the total leftward scrolling is zero, attempts to scroll |
| 1726 | any farther right have no effect. | 1719 | any farther right have no effect. |
| 1720 | |||
| 1721 | If @var{set-minimum} is non-@code{nil}, the new scroll amount becomes | ||
| 1722 | the lower bound for automatic scrolling; that is, automatic scrolling | ||
| 1723 | will not scroll a window to a column less than the value returned by | ||
| 1724 | this function. Interactive calls pass non-@code{nil} for | ||
| 1725 | @var{set-minimum}. | ||
| 1726 | @end deffn | ||
| 1727 | |||
| 1728 | @deffn Command scroll-right &optional count set-minimum | ||
| 1729 | This function scrolls the selected window @var{count} columns to the | ||
| 1730 | right (or to the left if @var{count} is negative). The default | ||
| 1731 | for @var{count} is the window width, minus 2. Aside from the direction | ||
| 1732 | of scrolling, this works just like @code{scroll-left}. | ||
| 1727 | @end deffn | 1733 | @end deffn |
| 1728 | 1734 | ||
| 1729 | @defun window-hscroll &optional window | 1735 | @defun window-hscroll &optional window |
| @@ -2032,6 +2038,14 @@ It could be defined as follows: | |||
| 2032 | @end example | 2038 | @end example |
| 2033 | @end deffn | 2039 | @end deffn |
| 2034 | 2040 | ||
| 2041 | @defun adjust-window-trailing-edge window delta horizontal | ||
| 2042 | This function makes the selected window @var{delta} lines taller or | ||
| 2043 | @var{delta} columns wider, by moving the bottom or right edge. This | ||
| 2044 | function does not delete other windows; if it cannot make the | ||
| 2045 | requested size adjustment, it signals an error. On success, this | ||
| 2046 | function returns @code{nil}. | ||
| 2047 | @end defun | ||
| 2048 | |||
| 2035 | @defun fit-window-to-buffer &optional window max-height min-height | 2049 | @defun fit-window-to-buffer &optional window max-height min-height |
| 2036 | This function makes @var{window} the right height to display its | 2050 | This function makes @var{window} the right height to display its |
| 2037 | contents exactly. If @var{window} is omitted or @code{nil}, it uses | 2051 | contents exactly. If @var{window} is omitted or @code{nil}, it uses |