diff options
| author | Richard M. Stallman | 2003-12-29 21:53:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-12-29 21:53:46 +0000 |
| commit | 4d25144d00a10b580fbbbb708f19a5199a497a30 (patch) | |
| tree | 991e8a0c81220ed6271d1f98314cd4d5ee62b4d3 /lispref | |
| parent | dbcd9cd756728dcc2fca63b3357a080aff5a96fc (diff) | |
| download | emacs-4d25144d00a10b580fbbbb708f19a5199a497a30.tar.gz emacs-4d25144d00a10b580fbbbb708f19a5199a497a30.zip | |
(Choosing Window): Add same-window-p, special-display-p.
(Window Configurations): Add window-configuration-frame.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/ChangeLog | 50 | ||||
| -rw-r--r-- | lispref/windows.texi | 27 |
2 files changed, 73 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 1b9aabffe46..f591037daab 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,53 @@ | |||
| 1 | 2003-12-29 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * windows.texi (Choosing Window): Add same-window-p, special-display-p. | ||
| 4 | (Window Configurations): Add window-configuration-frame. | ||
| 5 | |||
| 6 | * variables.texi (Creating Buffer-Local): Add local-variable-if-set-p. | ||
| 7 | |||
| 8 | * text.texi (Examining Properties): Add get-char-property-and-overlay. | ||
| 9 | Change arg name in get-char-property. | ||
| 10 | (Special Properties): Update handling of keymap property. | ||
| 11 | |||
| 12 | * strings.texi (Modifying Strings): Add clear-string. | ||
| 13 | (Text Comparison): Add assoc-string and remove | ||
| 14 | assoc-ignore-case, assoc-ignore-representation. | ||
| 15 | |||
| 16 | * os.texi (Time of Day): Add set-time-zone-rule. | ||
| 17 | |||
| 18 | * numbers.texi (Math Functions): asin, acos, log, log10 | ||
| 19 | report domain-error errors. | ||
| 20 | |||
| 21 | * nonascii.texi (Converting Representations): | ||
| 22 | Add multibyte-char-to-unibyte and unibyte-char-to-multibyte. | ||
| 23 | (Encoding and I/O): Add file-name-coding-system. | ||
| 24 | |||
| 25 | * modes.texi (Search-based Fontification): Explain that | ||
| 26 | face specs are symbols with face names as values. | ||
| 27 | |||
| 28 | * minibuf.texi (Minibuffer Misc): Add set-minibuffer-window. | ||
| 29 | |||
| 30 | * lists.texi (Building Lists): remq moved elsewhere. | ||
| 31 | (Sets And Lists): remq moved here. | ||
| 32 | (Association Lists): Refer to assoc-string. | ||
| 33 | |||
| 34 | * internals.texi (Garbage Collection): Add memory-use-counts. | ||
| 35 | |||
| 36 | * frames.texi (Frames and Windows): Add set-frame-selected-window | ||
| 37 | and frame-root-window. | ||
| 38 | |||
| 39 | * files.texi (Contents of Directories): | ||
| 40 | Add directory-files-and-attributes. | ||
| 41 | |||
| 42 | * display.texi (Refresh Screen): Add force-window-update. | ||
| 43 | (Invisible Text): Explain about moving point out of invis text. | ||
| 44 | (Overlay Properties): Add overlay-properties. | ||
| 45 | (Managing Overlays): Add overlayp. | ||
| 46 | (GIF Images): Invalid image number displays a hollow box. | ||
| 47 | |||
| 48 | * buffers.texi (Buffer Modification): Add restore-buffer-modified-p. | ||
| 49 | (Killing Buffers): Add buffer-live-p. | ||
| 50 | |||
| 1 | 2003-12-25 Markus Rost <rost@mathematik.uni-bielefeld.de> | 51 | 2003-12-25 Markus Rost <rost@mathematik.uni-bielefeld.de> |
| 2 | 52 | ||
| 3 | * display.texi (Fringes): Fix typo "set-buffer-window". | 53 | * display.texi (Fringes): Fix typo "set-buffer-window". |
diff --git a/lispref/windows.texi b/lispref/windows.texi index 158ab354057..425d5601ec9 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -1027,6 +1027,14 @@ list is the regular expression, and the rest of the list says how to | |||
| 1027 | create the frame. See above, under @code{special-display-buffer-names}. | 1027 | create the frame. See above, under @code{special-display-buffer-names}. |
| 1028 | @end defopt | 1028 | @end defopt |
| 1029 | 1029 | ||
| 1030 | @defun special-display-p buffer-name | ||
| 1031 | This function returns non-@code{nil} if displaying a buffer | ||
| 1032 | named @var{buffer-name} with @code{display-buffer} would | ||
| 1033 | create a special frame. The value is @code{t} if it would | ||
| 1034 | use the default frame paramaters, or else the specified list | ||
| 1035 | of frame parameters. | ||
| 1036 | @end defun | ||
| 1037 | |||
| 1030 | @defvar special-display-function | 1038 | @defvar special-display-function |
| 1031 | This variable holds the function to call to display a buffer specially. | 1039 | This variable holds the function to call to display a buffer specially. |
| 1032 | It receives the buffer as an argument, and should return the window in | 1040 | It receives the buffer as an argument, and should return the window in |
| @@ -1075,6 +1083,12 @@ the regular expressions in this list, @code{display-buffer} handles the | |||
| 1075 | buffer by switching to it in the selected window. | 1083 | buffer by switching to it in the selected window. |
| 1076 | @end defopt | 1084 | @end defopt |
| 1077 | 1085 | ||
| 1086 | @defun same-window-p buffer-name | ||
| 1087 | This function returns @code{t} if displaying a buffer | ||
| 1088 | named @var{buffer-name} with @code{display-buffer} would | ||
| 1089 | put it in the selected window. | ||
| 1090 | @end defun | ||
| 1091 | |||
| 1078 | @c Emacs 19 feature | 1092 | @c Emacs 19 feature |
| 1079 | @defvar display-buffer-function | 1093 | @defvar display-buffer-function |
| 1080 | This variable is the most flexible way to customize the behavior of | 1094 | This variable is the most flexible way to customize the behavior of |
| @@ -2163,10 +2177,15 @@ regards configurations as unequal if they differ in any respect, even a | |||
| 2163 | saved point or mark. | 2177 | saved point or mark. |
| 2164 | @end defun | 2178 | @end defun |
| 2165 | 2179 | ||
| 2166 | Primitives to look inside of window configurations would make sense, | 2180 | @defun window-configuration-frame config |
| 2167 | but none are implemented. It is not clear they are useful enough to | 2181 | This function returns the frame for which the window configuration |
| 2168 | be worth implementing. See the file @file{winner.el} for some more | 2182 | @var{config} was made. |
| 2169 | operations on windows configurations. | 2183 | @end defun |
| 2184 | |||
| 2185 | Other primitives to look inside of window configurations would make | ||
| 2186 | sense, but are not implemented because we did not need them. See the | ||
| 2187 | file @file{winner.el} for some more operations on windows | ||
| 2188 | configurations. | ||
| 2170 | 2189 | ||
| 2171 | @node Window Hooks | 2190 | @node Window Hooks |
| 2172 | @section Hooks for Window Scrolling and Changes | 2191 | @section Hooks for Window Scrolling and Changes |