aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2014-03-09 12:36:51 +0100
committerMartin Rudalics2014-03-09 12:36:51 +0100
commit7e940b654669e8b1f4fc92ef541c165f68873248 (patch)
tree846f832b899356a1f77c1b89b2b4a144c2f37d51 /src
parente7db54476d83d155fffb25fdec89f09224970a44 (diff)
downloademacs-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/ChangeLog8
-rw-r--r--src/xdisp.c16
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 @@
12014-03-09 Martin Rudalics <rudalics@gmx.at>
2
3 * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.
4
12014-03-08 Jan Djärv <jan.h.d@swipnet.se> 52014-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
82014-03-08 Eli Zaretskii <eliz@gnu.org> 122014-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
9600defaults to the maximum accessible position of the buffer. If TO is t, 9600defaults to the maximum accessible position of the buffer. If TO is t,
9601use the maximum accessible position that is not a newline character. 9601use the maximum accessible position that is not a newline character.
9602 9602
9603The optional argument X_LIMIT, if non-nil, specifies the maximum text 9603The optional argument X-LIMIT, if non-nil, specifies the maximum text
9604width that can be returned. X_LIMIT nil or omitted, means to use the 9604width that can be returned. X-LIMIT nil or omitted, means to use the
9605pixel-width of WINDOW's body; use this if you do not intend to change 9605pixel-width of WINDOW's body; use this if you do not intend to change
9606the width of WINDOW. Use the maximum width WINDOW may assume if you 9606the width of WINDOW. Use the maximum width WINDOW may assume if you
9607intend to change WINDOW's width. 9607intend to change WINDOW's width. In any case, text whose x-coordinate
9608is beyond X-LIMIT is ignored. Since calculating the width of long lines
9609can take some time, it's always a good idea to make this argument as
9610small as possible; in particular, if the buffer contains long lines that
9611shall be truncated anyway.
9608 9612
9609The optional argument Y_LIMIT, if non-nil, specifies the maximum text 9613The optional argument Y-LIMIT, if non-nil, specifies the maximum text
9610height that can be returned. Text lines whose y-coordinate is beyond 9614height that can be returned. Text lines whose y-coordinate is beyond
9611Y_LIMIT are ignored. Since calculating the text height of a large 9615Y-LIMIT are ignored. Since calculating the text height of a large
9612buffer can take some time, it makes sense to specify this argument if 9616buffer can take some time, it makes sense to specify this argument if
9613the size of the buffer is unknown. 9617the size of the buffer is unknown.
9614 9618
9615Optional argument MODE_AND_HEADER_LINE nil or omitted means do not 9619Optional argument MODE-AND-HEADER-LINE nil or omitted means do not
9616include the height of the mode- or header-line of WINDOW in the return 9620include the height of the mode- or header-line of WINDOW in the return
9617value. If it is either the symbol `mode-line' or `header-line', include 9621value. If it is either the symbol `mode-line' or `header-line', include
9618only the height of that line, if present, in the return value. If t, 9622only the height of that line, if present, in the return value. If t,