From: Martin Rudalics Date: Mon, 9 Oct 2017 07:29:52 +0000 (+0200) Subject: Describe how window dividers can replicate vertical borders (Bug#27830) X-Git-Tag: emacs-26.0.90~37 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62e5c119af;p=emacs.git 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. --- 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. The visual appearance of the scroll bars is controlled by the @code{scroll-bar} face. +@cindex vertical border + On graphical frames, vertical scroll bars implicitly serve to separate +side-by-side windows visually. When vertical scroll bars are disabled, +Emacs by default separates such windows with the help of a one-pixel +wide @dfn{vertical border}. That border occupies the first pixel column +of the window on the right and may thus overdraw the leftmost pixels of +any glyph displayed there. If these pixels convey important +information, you can make them visible by enabling window dividers, see +@ref{Window Dividers}. To replicate the look of vertical borders, set +the @code{right-divider-width} parameter of frames to one and have the +@code{window-divider} face inherit from that of @code{vertical-border}, +@ref{Window Dividers,, Window Dividers, elisp, The Emacs Lisp Reference +Manual}. + @cindex Horizontal Scroll Bar @cindex Horizontal Scroll Bar mode On graphical displays with toolkit support, Emacs may also supply a @@ -1060,7 +1074,12 @@ window-divider-mode}. customize the options @code{window-divider-default-bottom-width} and @code{window-divider-default-right-width}. - For more details about window dividers see @ref{Window Dividers,, + When vertical scroll bars are disabled, dividers can be also useful to +make the first pixel column of a window visible which would be otherwise +covered by the vertical border used to separate side-by-side windows +(@pxref{Scroll Bars}). + +For more details about window dividers see @ref{Window Dividers,, Window Dividers, elisp, The Emacs Lisp Reference Manual}. @node Drag and Drop