Commit ca58fa73 authored by Glenn Morris's avatar Glenn Morris
Browse files

Misc small frame/window doc

* src/frame.c (frame-alpha-lower-limit, frame-resize-pixelwise):
* src/window.c (window-resize-pixelwise): Doc fixes.

* etc/NEWS: Related edits.
This including unmarking some items marked as ---, where it it not
clear to me that no doc updates are needed.
parent 612c3e46
...@@ -193,26 +193,22 @@ bound to <f11> and M-<f10>, respectively. ...@@ -193,26 +193,22 @@ bound to <f11> and M-<f10>, respectively.
*** New hooks `focus-in-hook', `focus-out-hook'. *** New hooks `focus-in-hook', `focus-out-hook'.
These are normal hooks run when an Emacs frame gains or loses input focus. These are normal hooks run when an Emacs frame gains or loses input focus.
--- *** Emacs can now change frame sizes in units of pixels, rather than
*** Emacs can now change frame sizes pixelwise. text rows or columns. When maximizing a frame or making it fullscreen,
When maximizing a frame or making it fullscreen, remaining extra pixels remaining extra pixels are no longer given to the minibuffer, the rightmost
are no more given to the minibuffer, the rightmost fringe, or other fringe, or other unusable space, but are distributed among the text
unusable space, but are distributed among the text areas of the frame's areas of the frame's windows. If the new option `frame-resize-pixelwise'
windows. The new option `frame-resize-pixelwise', when non-nil, makes is non-nil, all frame size changes happen pixelwise and set the
all frame size changes happen pixelwise and sets the corresponding size corresponding size hints for the window manager.
hints for the window manager.
*** Emacs can now change window sizes in units of pixels.
--- Mouse-dragging a mode line or window divider now changes the size of
*** Emacs can now change window sizes pixelwise. adjacent windows pixelwise. If the new option `window-resize-pixelwise'
Mouse-dragging a modeline or window divider now changes the size of is non-nil, functions like `balance-windows-area' and `fit-window-to-buffer'
adjacent windows pixelwise. The new option `window-resize-pixelwise', resize windows pixelwise. Most functions for changing or accessing
when non-nil, automatically makes functions like `balance-windows-area' window sizes now have an additional argument that allows changes to apply,
or `fit-window-to-buffer' resize windows pixelwise. Most functions for or values to be returned, in pixels instead of lines/columns.
resizing or accessing sizes of windows now have an additional argument
which allows to apply changes or return values in pixels instead of
lines/columns.
---
*** Emacs can now draw dividers between adjacent windows. To put *** Emacs can now draw dividers between adjacent windows. To put
dividers between side-by-side/vertically stacked windows customize the dividers between side-by-side/vertically stacked windows customize the
frame parameters `right-divider-width' and `bottom-divider-width' to frame parameters `right-divider-width' and `bottom-divider-width' to
......
2014-02-22 Glenn Morris <rgm@gnu.org> 2014-02-22 Glenn Morris <rgm@gnu.org>
* frame.c (frame-alpha-lower-limit, frame-resize-pixelwise):
* window.c (window-resize-pixelwise): Doc fixes.
* process.c (Finternal_default_process_filter) * process.c (Finternal_default_process_filter)
(Finternal_default_process_sentinel): Doc tweaks. (Finternal_default_process_sentinel): Doc tweaks.
......
...@@ -4597,8 +4597,7 @@ is a reasonable practice. See also the variable `x-resource-name'. */); ...@@ -4597,8 +4597,7 @@ is a reasonable practice. See also the variable `x-resource-name'. */);
DEFVAR_LISP ("frame-alpha-lower-limit", Vframe_alpha_lower_limit, DEFVAR_LISP ("frame-alpha-lower-limit", Vframe_alpha_lower_limit,
doc: /* The lower limit of the frame opacity (alpha transparency). doc: /* The lower limit of the frame opacity (alpha transparency).
The value should range from 0 (invisible) to 100 (completely opaque). The value should range from 0 (invisible) to 100 (completely opaque).
You can also use a floating number between 0.0 and 1.0. You can also use a floating number between 0.0 and 1.0. */);
The default is 20. */);
Vframe_alpha_lower_limit = make_number (20); Vframe_alpha_lower_limit = make_number (20);
#endif #endif
...@@ -4736,8 +4735,8 @@ is non-nil, no rounding occurs, hence frame sizes can increase/decrease ...@@ -4736,8 +4735,8 @@ is non-nil, no rounding occurs, hence frame sizes can increase/decrease
by one pixel. by one pixel.
With some window managers you have to set this to non-nil in order to With some window managers you have to set this to non-nil in order to
fully maximize frames. The default of this option is nil. To resize fully maximize frames. To resize your initial frame pixelwise,
your initial frame pixelwise, set this option in your init file. */); set this option to a non-nil value in your init file. */);
frame_resize_pixelwise = 0; frame_resize_pixelwise = 0;
staticpro (&Vframe_list); staticpro (&Vframe_list);
......
...@@ -7309,11 +7309,10 @@ respectively are not installed by `window-state-put'. */); ...@@ -7309,11 +7309,10 @@ respectively are not installed by `window-state-put'. */);
Vwindow_persistent_parameters = list1 (Fcons (Qclone_of, Qt)); Vwindow_persistent_parameters = list1 (Fcons (Qclone_of, Qt));
DEFVAR_BOOL ("window-resize-pixelwise", window_resize_pixelwise, DEFVAR_BOOL ("window-resize-pixelwise", window_resize_pixelwise,
doc: /* Non-nil means resizing windows works pixelwise. doc: /* Non-nil means resize windows pixelwise.
Functions currently affected by this option are `split-window', This currently affects the functions: `split-window', `maximize-window',
`maximize-window', `minimize-window', `fit-window-to-buffer' and `minimize-window', `fit-window-to-buffer' and `fit-frame-to-buffer', and
`fit-frame-to-buffer' and all functions symmetrically resizing a all functions that symmetrically resize a parent window.
parent window.
Note that when a frame's pixel size is not a multiple of the Note that when a frame's pixel size is not a multiple of the
frame's character size, at least one window may get resized frame's character size, at least one window may get resized
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment