diff options
| author | Martin Rudalics | 2014-03-09 12:36:51 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-03-09 12:36:51 +0100 |
| commit | 7e940b654669e8b1f4fc92ef541c165f68873248 (patch) | |
| tree | 846f832b899356a1f77c1b89b2b4a144c2f37d51 /src | |
| parent | e7db54476d83d155fffb25fdec89f09224970a44 (diff) | |
| download | emacs-7e940b654669e8b1f4fc92ef541c165f68873248.tar.gz emacs-7e940b654669e8b1f4fc92ef541c165f68873248.zip | |
Update docs for window dividers and `window-text-pixel-size'.
* xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.
* elisp.texi (Top): Rename section "Width" to "Size of Displayed
Text".
* text.texi (Primitive Indent):
* strings.texi (String Basics):
* sequences.texi (Sequence Functions): Update references
accordingly.
* display.texi (Size of Displayed Text): Rename section from
"Width". Add description for `window-text-pixel-size'.
(Window Dividers): Reword description of window dividers.
* frames.texi (Layout Parameters): Improve description of window
divider parameters.
* windows.texi (Window Sizes): Add descriptions of
`window-mode-line-height' and `window-header-line-height'.
(Coordinates and Windows): Mention window dividers.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/xdisp.c | 16 |
2 files changed, 16 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5b75161f91c..af8cd0e492b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,9 +1,13 @@ | |||
| 1 | 2014-03-09 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string. | ||
| 4 | |||
| 1 | 2014-03-08 Jan Djärv <jan.h.d@swipnet.se> | 5 | 2014-03-08 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 6 | ||
| 3 | * nsterm.h (MAC_OS_X_VERSION_10_9): Add. | 7 | * nsterm.h (MAC_OS_X_VERSION_10_9): Add. |
| 4 | 8 | ||
| 5 | * nsterm.m (constrainFrameRect:toScreen:): Constrain normally when frame | 9 | * nsterm.m (constrainFrameRect:toScreen:): Constrain normally |
| 6 | is only on one screen (Bug#14713). | 10 | when frame is only on one screen (Bug#14713). |
| 7 | 11 | ||
| 8 | 2014-03-08 Eli Zaretskii <eliz@gnu.org> | 12 | 2014-03-08 Eli Zaretskii <eliz@gnu.org> |
| 9 | 13 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index 0216aaea116..b7821eb5048 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -9600,19 +9600,23 @@ character. TO, if non-nil, specifies the last text position and | |||
| 9600 | defaults to the maximum accessible position of the buffer. If TO is t, | 9600 | defaults to the maximum accessible position of the buffer. If TO is t, |
| 9601 | use the maximum accessible position that is not a newline character. | 9601 | use the maximum accessible position that is not a newline character. |
| 9602 | 9602 | ||
| 9603 | The optional argument X_LIMIT, if non-nil, specifies the maximum text | 9603 | The optional argument X-LIMIT, if non-nil, specifies the maximum text |
| 9604 | width that can be returned. X_LIMIT nil or omitted, means to use the | 9604 | width that can be returned. X-LIMIT nil or omitted, means to use the |
| 9605 | pixel-width of WINDOW's body; use this if you do not intend to change | 9605 | pixel-width of WINDOW's body; use this if you do not intend to change |
| 9606 | the width of WINDOW. Use the maximum width WINDOW may assume if you | 9606 | the width of WINDOW. Use the maximum width WINDOW may assume if you |
| 9607 | intend to change WINDOW's width. | 9607 | intend to change WINDOW's width. In any case, text whose x-coordinate |
| 9608 | is beyond X-LIMIT is ignored. Since calculating the width of long lines | ||
| 9609 | can take some time, it's always a good idea to make this argument as | ||
| 9610 | small as possible; in particular, if the buffer contains long lines that | ||
| 9611 | shall be truncated anyway. | ||
| 9608 | 9612 | ||
| 9609 | The optional argument Y_LIMIT, if non-nil, specifies the maximum text | 9613 | The optional argument Y-LIMIT, if non-nil, specifies the maximum text |
| 9610 | height that can be returned. Text lines whose y-coordinate is beyond | 9614 | height that can be returned. Text lines whose y-coordinate is beyond |
| 9611 | Y_LIMIT are ignored. Since calculating the text height of a large | 9615 | Y-LIMIT are ignored. Since calculating the text height of a large |
| 9612 | buffer can take some time, it makes sense to specify this argument if | 9616 | buffer can take some time, it makes sense to specify this argument if |
| 9613 | the size of the buffer is unknown. | 9617 | the size of the buffer is unknown. |
| 9614 | 9618 | ||
| 9615 | Optional argument MODE_AND_HEADER_LINE nil or omitted means do not | 9619 | Optional argument MODE-AND-HEADER-LINE nil or omitted means do not |
| 9616 | include the height of the mode- or header-line of WINDOW in the return | 9620 | include the height of the mode- or header-line of WINDOW in the return |
| 9617 | value. If it is either the symbol `mode-line' or `header-line', include | 9621 | value. If it is either the symbol `mode-line' or `header-line', include |
| 9618 | only the height of that line, if present, in the return value. If t, | 9622 | only the height of that line, if present, in the return value. If t, |