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.
master
Benno Schulenberg 2018-05-21 20:05:38 +02:00
parent 9d6621afd0
commit 3628863f90
4 changed files with 8 additions and 19 deletions

View File

@ -124,9 +124,7 @@ and place it at that position again upon reopening such a file.
.TP .TP
.BR "\-Q ""\fIcharacters\fB""" ", " "\-\-quotestr=""" \fIcharacters """ .BR "\-Q ""\fIcharacters\fB""" ", " "\-\-quotestr=""" \fIcharacters """
Set the quoting string for justifying. The default is Set the quoting string for justifying. The default is
\fB"^([\ \\t]*[#:>\\|}])+"\fP if extended regular expression support is \fB"^([\ \\t]*[#:>|}])+"\fP. Note that \fB\\t\fP stands for an actual Tab.
available, or \fB">\ "\fP otherwise. Note that \fB\\t\fP stands for a
Tab.
.TP .TP
.BR \-R ", " \-\-restricted .BR \-R ", " \-\-restricted
Restricted mode: don't read or write to any file not specified on the Restricted mode: don't read or write to any file not specified on the

View File

@ -221,8 +221,7 @@ and place it at that position again upon reopening such a file.
@item -Q "@var{characters}" @item -Q "@var{characters}"
@itemx --quotestr="@var{characters}" @itemx --quotestr="@var{characters}"
Set the quoting string for justifying. The default value is Set the quoting string for justifying. The default value is
@t{"^([ \t]*[|>:@}#])+"} if extended regular expression support @t{"^([@w{ }\t]*[#:>|@}])+"}.
is available, and @t{"> "} otherwise.
Note that @code{\t} stands for a literal Tab character. Note that @code{\t} stands for a literal Tab character.
@item -R @item -R
@ -848,10 +847,8 @@ Obsolete option. Recognized but ignored.
@item set quotestr "@var{string}" @item set quotestr "@var{string}"
The email-quote string, used to justify email-quoted paragraphs. This The email-quote string, used to justify email-quoted paragraphs. This
is an extended regular expression if your system supports them, is an extended regular expression. The default value is
otherwise a literal string. The default value is @t{"^([@w{ }\t]*[#:>|@}])+"}.
@t{"^([ \\t]*[#:>\\|@}])+"} if you have extended regular expression
support, and @t{"> "} otherwise.
Note that @code{\t} stands for a literal Tab character. Note that @code{\t} stands for a literal Tab character.
@item set rebinddelete @item set rebinddelete

View File

@ -203,10 +203,8 @@ Obsolete option. Recognized but ignored.
.TP .TP
.B set quotestr "\fIstring\fP" .B set quotestr "\fIstring\fP"
The email-quote string, used to justify email-quoted paragraphs. This The email-quote string, used to justify email-quoted paragraphs. This
is an extended regular expression if your system supports them, is an extended regular expression. The default value is
otherwise a literal string. The default value is "\fB^([\ \\t]*[#:>|}])+\fP". Note that \fB\\t\fR stands for an actual
"\fB^([\ \\t]*[#:>\\|}])+\fP" if you have extended regular expression
support, and "\fB>\ \fP" otherwise. Note that '\\t' stands for a literal
Tab character. Tab character.
.TP .TP
.B set rebinddelete .B set rebinddelete

View File

@ -125,12 +125,8 @@
# set quickblank # set quickblank
## The email-quote string, used to justify email-quoted paragraphs. ## The email-quote string, used to justify email-quoted paragraphs.
## This is an extended regular expression if your system supports them, ## This is an extended regular expression. The default is:
## otherwise a literal string. # set quotestr "^([ ]*[#:>|}])+"
## If you have extended regular expression support, the default is:
# set quotestr "^([ ]*[#:>\|}])+"
## Otherwise:
# set quotestr "> "
## Fix Backspace/Delete confusion problem. ## Fix Backspace/Delete confusion problem.
# set rebinddelete # set rebinddelete