diff options
| author | Martin Rudalics | 2017-10-09 09:29:52 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2017-10-09 09:29:52 +0200 |
| commit | 62e5c119af2b2620f2df441d4deae1c2d5b18f4c (patch) | |
| tree | bfc786113911e8acae701a8558d9190bf7627784 | |
| parent | e2150d994a66c580ff9fabeed44b8fa5146c7e65 (diff) | |
| download | emacs-62e5c119af2b2620f2df441d4deae1c2d5b18f4c.tar.gz emacs-62e5c119af2b2620f2df441d4deae1c2d5b18f4c.zip | |
Describe how window dividers can replicate vertical borders (Bug#27830)
* doc/emacs/frames.texi (Scroll Bars): Describe how window
dividers can be used to replicate vertical borders when scroll
bars are disabled (Bug#27830).
* doc/emacs/frames.texi (Window Dividers): Mention their use
in replicating vertical borders.
| -rw-r--r-- | doc/emacs/frames.texi | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index b168effb3a0..8c08f51825c 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -1002,6 +1002,20 @@ when the entire buffer is visible. | |||
| 1002 | The visual appearance of the scroll bars is controlled by the | 1002 | The visual appearance of the scroll bars is controlled by the |
| 1003 | @code{scroll-bar} face. | 1003 | @code{scroll-bar} face. |
| 1004 | 1004 | ||
| 1005 | @cindex vertical border | ||
| 1006 | On graphical frames, vertical scroll bars implicitly serve to separate | ||
| 1007 | side-by-side windows visually. When vertical scroll bars are disabled, | ||
| 1008 | Emacs by default separates such windows with the help of a one-pixel | ||
| 1009 | wide @dfn{vertical border}. That border occupies the first pixel column | ||
| 1010 | of the window on the right and may thus overdraw the leftmost pixels of | ||
| 1011 | any glyph displayed there. If these pixels convey important | ||
| 1012 | information, you can make them visible by enabling window dividers, see | ||
| 1013 | @ref{Window Dividers}. To replicate the look of vertical borders, set | ||
| 1014 | the @code{right-divider-width} parameter of frames to one and have the | ||
| 1015 | @code{window-divider} face inherit from that of @code{vertical-border}, | ||
| 1016 | @ref{Window Dividers,, Window Dividers, elisp, The Emacs Lisp Reference | ||
| 1017 | Manual}. | ||
| 1018 | |||
| 1005 | @cindex Horizontal Scroll Bar | 1019 | @cindex Horizontal Scroll Bar |
| 1006 | @cindex Horizontal Scroll Bar mode | 1020 | @cindex Horizontal Scroll Bar mode |
| 1007 | On graphical displays with toolkit support, Emacs may also supply a | 1021 | On graphical displays with toolkit support, Emacs may also supply a |
| @@ -1060,7 +1074,12 @@ window-divider-mode}. | |||
| 1060 | customize the options @code{window-divider-default-bottom-width} and | 1074 | customize the options @code{window-divider-default-bottom-width} and |
| 1061 | @code{window-divider-default-right-width}. | 1075 | @code{window-divider-default-right-width}. |
| 1062 | 1076 | ||
| 1063 | For more details about window dividers see @ref{Window Dividers,, | 1077 | When vertical scroll bars are disabled, dividers can be also useful to |
| 1078 | make the first pixel column of a window visible which would be otherwise | ||
| 1079 | covered by the vertical border used to separate side-by-side windows | ||
| 1080 | (@pxref{Scroll Bars}). | ||
| 1081 | |||
| 1082 | For more details about window dividers see @ref{Window Dividers,, | ||
| 1064 | Window Dividers, elisp, The Emacs Lisp Reference Manual}. | 1083 | Window Dividers, elisp, The Emacs Lisp Reference Manual}. |
| 1065 | 1084 | ||
| 1066 | @node Drag and Drop | 1085 | @node Drag and Drop |