[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 471c4ee4b6: Explain effects of setting a zero-width fringe
From: |
Lars Ingebrigtsen |
Subject: |
master 471c4ee4b6: Explain effects of setting a zero-width fringe |
Date: |
Fri, 29 Apr 2022 09:31:21 -0400 (EDT) |
branch: master
commit 471c4ee4b6c74398cb7221ee9cce53021d92f9f6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Explain effects of setting a zero-width fringe
* lisp/fringe.el (fringe-mode): Not non-obvious effects of setting
a fringe to zero width.
---
lisp/fringe.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lisp/fringe.el b/lisp/fringe.el
index 8c833f0242..1cfcce4542 100644
--- a/lisp/fringe.el
+++ b/lisp/fringe.el
@@ -244,10 +244,18 @@ When used in a Lisp program, MODE should be one of these:
nil (meaning the default width).
- a single integer, which specifies the pixel widths of both
fringes.
+
This command may round up the left and right width specifications
to ensure that their sum is a multiple of the character width of
a frame. It never rounds up a fringe width of 0.
+Note that removing a right or left fringe (by setting the width
+to zero) makes Emacs reserve one column of the window body to
+display a line continuation marker. (This happens for both the
+left and right fringe, since Emacs can display both left-to-right
+and right-to-left text.) You can use `window-max-characters-per-line'
+to check the effective width.
+
Fringe widths set by `set-window-fringes' override the default
fringe widths set by this command. This command applies to all
frames that exist and frames to be created in the future. If you
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 471c4ee4b6: Explain effects of setting a zero-width fringe,
Lars Ingebrigtsen <=