1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 13:11:14 -08:00
emacs/etc
Martin Rudalics 8e0ebb9a3c Handle persistence of windows' scroll bar and fringes settings (Bug#36193)
* doc/lispref/display.texi (Fringe Size/Pos): Document new
argument PERSISTENT of 'set-window-fringes'.
(Scroll Bars): Document new argument PERSISTENT of
'set-window-scroll-bars'.  Mention that HORIZONTAL-TYPE must
be 'bottom' to show a horizontal scroll bar on mini windows.
* lisp/window.el (window-min-pixel-height): For mini windows the
minimum height is one line.
(window--min-size-1): Use value returned by
'window-min-pixel-height' when dealing with mini windows.
(window--resize-mini-window): Try to handle horizontal scroll
bars and size restrictions more accurately.
(window--state-put-2): Handle persistence of scroll bar
settings.
* src/frame.c (make_frame): Allow horizontal scroll bars in
mini windows.
(adjust_frame_size): Drop PIXELWISE argument in
'resize_frame_windows' calls.
* src/window.c (set_window_buffer): Don't override WINDOW's
scroll bar and fringe settings when marked as persistent.
(resize_frame_windows): Drop fourth argument PIXELWISE - SIZE
is always specified in terms of pixels.  Try to handle height
of mini windows more accurately.
(grow_mini_window, shrink_mini_window): Use body height of
mini window when calculating expected height change.  Take
horizontal scroll bars into account.
(struct saved_window): Two new members to handle persistence
of window fringes and scroll bars.
(Fset_window_configuration, save_window_save): Handle
persistence of fringes and scroll bars.
(set_window_fringes, set_window_scroll_bars): New arguments
PERSISTENT.  Make dimension checks more accurate.
(Fset_window_fringes): New argument PERSISTENT.
(Fwindow_fringes, Fwindow_scroll_bars): Add PERSISTENT to
return values.
(Fset_window_scroll_bars): New argument PERSISTENT.  In
doc-string mention that 'bottom' must be specified to get a
horizontal scroll bar in mini windows.
(compare_window_configurations): Add checks for persistence of
fringes and scroll bars.
* src/window.h (struct window): New boolean slots
'fringes_persistent' and 'scroll_bars_persistent'.
(WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Allow horizontal scroll bars
for mini windows.
(resize_frame_windows): Remove fourth argument of
'resize_frame_windows' in external declaration.
* src/xdisp.c (resize_mini_window): Use box text height to
tell whether mini window height changed.
(set_horizontal_scroll_bar): Set mini window's horizontal
scroll bar when its type is specified as 'bottom'.
* etc/NEWS: Mention new options for 'set-window-fringes' and
'set-window-scroll-bars'.
2019-07-22 09:19:18 +02:00
..
charsets
e
forms
gnus
images
nxml
org
refcards Update author/maintainer info 2019-05-26 01:00:16 -07:00
schema
srecode Update author/maintainer info 2019-05-26 01:00:16 -07:00
themes Tweak misterioso header line background color 2019-07-11 16:42:16 +02:00
tutorials Fixes for "Maintainer:" and related lines 2019-05-19 21:34:27 -07:00
AUTHORS * etc/AUTHORS: Update. 2019-04-11 21:57:49 +02:00
CALC-NEWS ; * etc/CALC-NEWS: Update header for 2015/11 maintainer change. 2019-03-05 22:37:21 -08:00
ChangeLog.1 Update author/maintainer info 2019-05-26 01:00:16 -07:00
compilation.txt
COPYING
DEBUG Improve UBSan discussion in etc/DEBUG 2019-04-22 17:26:25 -07:00
DEVEL.HUMOR
DISTRIB
edt-user.el Remove Maintainer: when it duplicates Author: 2019-05-26 01:00:15 -07:00
emacs-buffer.gdb
emacs.appdata.xml
emacs.desktop
emacs.icon
emacs.service Don't override SSH_AUTH_SOCK in the example emacs.service file 2019-07-21 17:11:59 +02:00
enriched.txt
ERC-NEWS
ETAGS.EBNF
ETAGS.README
future-bug
gnus-tut.txt
grep.txt
HELLO * etc/HELLO: Fix name of Georgian language 2019-07-14 09:29:56 +03:00
HISTORY * etc/HISTORY: Update for Emacs 26.2 release. 2019-04-11 21:59:28 +02:00
JOKES
MACHINES
MH-E-NEWS
NEWS Handle persistence of windows' scroll bar and fringes settings (Bug#36193) 2019-07-22 09:19:18 +02:00
NEWS.1-17 * lisp/help-fns.el (help-fns-describe-variable-functions): New hook 2019-04-12 12:37:00 -04:00
NEWS.18
NEWS.19
NEWS.20
NEWS.21
NEWS.22
NEWS.23
NEWS.24 * etc/NEWS.24: Belatedly announce delete-consecutive-dups. 2019-05-01 22:17:10 -04:00
NEWS.25
NEWS.26 Merge from origin/emacs-26 2019-04-21 07:51:38 -07:00
NEXTSTEP
NXML-NEWS
ORG-NEWS
package-keyring.gpg * etc/package-keyring.gpg: Add the 2019 key (backport) 2019-05-08 13:19:36 -04:00
PROBLEMS Merge from origin/emacs-26 2019-02-08 09:20:40 -08:00
ps-prin0.ps
ps-prin1.ps
publicsuffix.txt
README
rgb.txt
ses-example.ses
spook.lines Add more spook.lines 2019-07-13 05:09:45 +02:00
TERMS
TODO Remove gnus-bug from report-emacs-bug TODO entry 2019-06-27 00:14:36 +01:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2019 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)