emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 62e5c11: Describe how window dividers can replica


From: Martin Rudalics
Subject: [Emacs-diffs] emacs-26 62e5c11: Describe how window dividers can replicate vertical borders (Bug#27830)
Date: Mon, 9 Oct 2017 03:31:45 -0400 (EDT)

branch: emacs-26
commit 62e5c119af2b2620f2df441d4deae1c2d5b18f4c
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    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.
---
 doc/emacs/frames.texi | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index b168eff..8c08f51 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.
 
address@hidden 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
address@hidden Dividers}.  To replicate the look of vertical borders, set
+the @code{right-divider-width} parameter of frames to one and have the
address@hidden face inherit from that of @code{vertical-border},
address@hidden 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]