nano

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

commit 3628863f90d9ad064a32bff8bead419ad8b039a8
parent 9d6621afd017ba6ab5bfcdf0c7d1398a70ab07f2
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 21 May 2018 20:05:38 +0200

docs: remove mention of the quotestr for when regex support is lacking

Since version 2.8.0, nano will use (wnen needed) the regex routines
from gnulib, so mentioning the quotestr for when regex support is
lacking, has been obsolete and pointless for more than a year.

Also, remove some superfluous backslashes, use a non-breaking space
in the texinfo document, and order the regex consistently.

Diffstat:
Mdoc/nano.1 | 4+---
Mdoc/nano.texi | 9+++------
Mdoc/nanorc.5 | 6++----
Mdoc/sample.nanorc.in | 8++------
4 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/doc/nano.1 b/doc/nano.1 @@ -124,9 +124,7 @@ and place it at that position again upon reopening such a file. .TP .BR "\-Q ""\fIcharacters\fB""" ", " "\-\-quotestr=""" \fIcharacters """ Set the quoting string for justifying. The default is -\fB"^([\ \\t]*[#:>\\|}])+"\fP if extended regular expression support is -available, or \fB">\ "\fP otherwise. Note that \fB\\t\fP stands for a -Tab. +\fB"^([\ \\t]*[#:>|}])+"\fP. Note that \fB\\t\fP stands for an actual Tab. .TP .BR \-R ", " \-\-restricted Restricted mode: don't read or write to any file not specified on the diff --git a/doc/nano.texi b/doc/nano.texi @@ -221,8 +221,7 @@ and place it at that position again upon reopening such a file. @item -Q "@var{characters}" @itemx --quotestr="@var{characters}" Set the quoting string for justifying. The default value is -@t{"^([ \t]*[|>:@}#])+"} if extended regular expression support -is available, and @t{"> "} otherwise. +@t{"^([@w{ }\t]*[#:>|@}])+"}. Note that @code{\t} stands for a literal Tab character. @item -R @@ -848,10 +847,8 @@ Obsolete option. Recognized but ignored. @item set quotestr "@var{string}" The email-quote string, used to justify email-quoted paragraphs. This -is an extended regular expression if your system supports them, -otherwise a literal string. The default value is -@t{"^([ \\t]*[#:>\\|@}])+"} if you have extended regular expression -support, and @t{"> "} otherwise. +is an extended regular expression. The default value is +@t{"^([@w{ }\t]*[#:>|@}])+"}. Note that @code{\t} stands for a literal Tab character. @item set rebinddelete diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -203,10 +203,8 @@ Obsolete option. Recognized but ignored. .TP .B set quotestr "\fIstring\fP" The email-quote string, used to justify email-quoted paragraphs. This -is an extended regular expression if your system supports them, -otherwise a literal string. The default value is -"\fB^([\ \\t]*[#:>\\|}])+\fP" if you have extended regular expression -support, and "\fB>\ \fP" otherwise. Note that '\\t' stands for a literal +is an extended regular expression. The default value is +"\fB^([\ \\t]*[#:>|}])+\fP". Note that \fB\\t\fR stands for an actual Tab character. .TP .B set rebinddelete diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in @@ -125,12 +125,8 @@ # set quickblank ## The email-quote string, used to justify email-quoted paragraphs. -## This is an extended regular expression if your system supports them, -## otherwise a literal string. -## If you have extended regular expression support, the default is: -# set quotestr "^([ ]*[#:>\|}])+" -## Otherwise: -# set quotestr "> " +## This is an extended regular expression. The default is: +# set quotestr "^([ ]*[#:>|}])+" ## Fix Backspace/Delete confusion problem. # set rebinddelete