nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 2d4bacf61d0fa53f32c2900ddee480d5d8ef9192
parent 547de4a7bbb755e532c295bf03fb1d08d0fcf4b7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  6 Apr 2020 19:07:02 +0200

docs: stop mentioning that --wordchars overrides --wordbounds

Since the previous commit, it no longer does.  Instead, the two
interfere, and the user probably wants to use just one of them.

Diffstat:
Mdoc/nano.1 | 4++--
Mdoc/nano.texi | 8++++----
Mdoc/nanorc.5 | 4++--
3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/nano.1 b/doc/nano.1 @@ -199,8 +199,8 @@ characters as part of a word. .TP .BR "\-X ""\fIcharacters\fB""" ", " "\-\-wordchars=""" \fIcharacters """ Specify which other characters (besides the normal alphanumeric ones) -should be considered as part of a word. This overrides option -\fB\-W\fR (\fB\-\-wordbounds\fR). +should be considered as part of a word. When using this option, you +probably want to omit \fB\-W\fR (\fB\-\-wordbounds\fR). .TP .BR \-Y\ \fIname ", " \-\-syntax= \fIname Specify the name of the syntax highlighting to use from among the ones diff --git a/doc/nano.texi b/doc/nano.texi @@ -292,8 +292,8 @@ characters as parts of words. @item -X "@var{characters}" @itemx --wordchars="@var{characters}" Specify which other characters (besides the normal alphanumeric ones) -should be considered as parts of words. This overrides option -@option{-W} (@option{--wordbounds}). +should be considered as parts of words. When using this option, you +probably want to omit @option{-W} (@option{--wordbounds}). @item -Y @var{name} @itemx --syntax=@var{name} @@ -979,8 +979,8 @@ characters as part of a word. @item set wordchars "@var{characters}" Specify which other characters (besides the normal alphanumeric ones) -should be considered as parts of words. This overrides the option -@code{wordbounds}. +should be considered as parts of words. When using this option, you +probably want to unset @code{wordbounds}. @item set zap Let an unmodified @key{Backspace} or @key{Delete} erase the marked region diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -330,8 +330,8 @@ characters as parts of words. .TP .BI "set wordchars """ characters """ Specify which other characters (besides the normal alphanumeric ones) -should be considered as parts of words. This overrides the option -\fBwordbounds\fR. +should be considered as parts of words. When using this option, you +probably want to unset \fBwordbounds\fR. .TP .B set zap Let an unmodified Backspace or Delete erase the marked region