[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/visual-fill-column 9623b802db 021/137: Clarify use of `glo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/visual-fill-column 9623b802db 021/137: Clarify use of `global-visual-line-mode` in the README. |
Date: |
Sun, 2 Jan 2022 22:59:08 -0500 (EST) |
branch: elpa/visual-fill-column
commit 9623b802dbb732f44cf85b89a7e870b5dd0f7eb5
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@fastmail.fm>
Clarify use of `global-visual-line-mode` in the README.
This fixes #8.
---
README.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index c7627d9af1..6101499c32 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,11 @@ Install `visual-fill-column` via [Melpa](http://melpa.org),
or put `visual-fill-
## Usage ##
-`visual-fill-column-mode` is primarily intended to be used alongside
`visual-line-mode`. To activate `visual-fill-column-mode` automatically in
every buffer that uses `visual-line-mode`, customise the option
`global-visual-fill-column-mode` or add the command
`(global-visual-fill-column-mode)` to your init file.
+`visual-fill-column-mode` is primarily intended to be used alongside
`visual-line-mode`. If you’ve set the option `global-visual-line-mode`, or if
you activate `visual-line-mode` in major mode hooks, you can customise the
option `global-visual-fill-column-mode` or add the command
`(global-visual-fill-column-mode)` to your init file. `visual-fill-column-mode`
will then be activated in every buffer that uses `visual-line-mode`.
-However, `visual-fill-column-mode` is not tied to `visual-line-mode`: it is
perfectly possible to use it on its own, in buffers that use some other
word-wrapping method (e.g., `auto-fill-mode`), or in buffers that do not wrap
at all. You can activate it interactively with `visual-fill-column-mode` or you
can add the command `visual-fill-column-mode` in mode hooks.
+If you don’t use either of these methods to start `visual-line-mode`, and
instead prefer to call `visual-line-mode` interactively (i.e., `M-x
visual-line-mode`), you can add `visual-fill-column-mode` to
`visual-line-mode-hook` in order to activate it automatically when you call
`visual-line-mode`.
+
+Note that `visual-fill-column-mode` is not tied to `visual-line-mode`: it is
perfectly possible to use it on its own, in buffers that use some other
word-wrapping method (e.g., `auto-fill-mode`), or in buffers that do not wrap
at all. You can activate it interactively with `visual-fill-column-mode` or you
can add the command `visual-fill-column-mode` in mode hooks.
`visual-fill-column-mode` works by widening the right window margin. This
reduces the area that is available for text display, creating the appearance
that the text is wrapped at `fill-column`. The amount by which the right margin
is widened depends on the window width and is automatically adjusted when the
window’s width changes (e.g., when the window is split in two side-by-side
windows).
- [nongnu] branch elpa/visual-fill-column created (now cf3e2bc632), ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 5082d06d3f 005/137: Update README.md, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 52bae75db2 010/137: Add note on Melpa to README., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 9623b802db 021/137: Clarify use of `global-visual-line-mode` in the README.,
ELPA Syncer <=
- [nongnu] elpa/visual-fill-column a64c4e739c 035/137: Do not adjust split-window window parameter visual-fill-column-split-window-sensibly, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column e0288e8744 055/137: Some further changes to the README., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column ca65ed65d2 063/137: `global-v-f-c-mode`: only activate in buffers visiting a file., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 73da507c8f 049/137: New function `visual-fill-column-adjust'., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 33f68b9d94 064/137: Adjust windows on frame resize in Emacs 26., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column d9d4d78914 065/137: Enable scrolling in margins, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column a969db2eb3 042/137: mark visual-fill-column-split-window-sensibly as autoload, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 543ef21c3a 080/137: Fix README II, ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column a84e36e483 071/137: Update copyright date., ELPA Syncer, 2022/01/02
- [nongnu] elpa/visual-fill-column 62ccf200cf 086/137: Small change to README.md, ELPA Syncer, 2022/01/02