From 63db58cbfda1f36260c9a0061049056df0b23dfd Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 22 Jan 2019 20:06:14 +0100 Subject: [PATCH] docs: adjust for the enhancement of the default quoting regex --- doc/nano.1 | 2 +- doc/nano.texi | 4 ++-- doc/nanorc.5 | 2 +- doc/sample.nanorc.in | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/nano.1 b/doc/nano.1 index 352203fe..a0906eaa 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -127,7 +127,7 @@ and place it at that position again upon reopening such a file. .BR "\-Q ""\fIregex\fB""" ", " "\-\-quotestr=""" \fIregex """ Set the regular expression for matching the quoting part of a line. This is used when justifying. -The default value is \fB"^([\ \\t]*([#:>|}]|//))+"\fP. +The default value is \fB"^([\ \\t]*([!#%:;>|}]|//|--))+"\fP. Note that \fB\\t\fP stands for an actual Tab. .TP .BR \-R ", " \-\-restricted diff --git a/doc/nano.texi b/doc/nano.texi index a0cbdb1b..b50fcf45 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -222,7 +222,7 @@ and place it at that position again upon reopening such a file. @item -Q "@var{regex}" @itemx --quotestr="@var{regex}" Set the regular expression for matching the quoting part of a line, used -when justifying. The default value is @t{"^([@w{ }\t]*([#:>|@}]|//))+"}. +when justifying. The default value is @t{"^([@w{ }\t]*([!#%:;>|@}]|//|--))+"}. Note that @code{\t} stands for a literal Tab character. @item -R @@ -832,7 +832,7 @@ keystroke instead of 25. Note that @option{constantshow} overrides this. @item set quotestr "@var{regex}" The email-quote string, used to justify email-quoted paragraphs. This is an extended regular expression. The default value is -@t{"^([@w{ }\t]*([#:>|@}]|//))+"}. +@t{"^([@w{ }\t]*([!#%:;>|@}]|//|--))+"}. Note that @code{\t} stands for a literal Tab character. @item set rawsequences diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 43eb537c..117d666d 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -198,7 +198,7 @@ keystroke instead of 25. The option \fBconstantshow\fR overrides this. .B set quotestr "\fIregex\fP" The email-quote string, used to justify email-quoted paragraphs. This is an extended regular expression. The default value is -"\fB^([\ \\t]*([#:>|}]|//))+\fP". Note that \fB\\t\fR stands for an actual +"\fB^([\ \\t]*([!#%:;>|}]|//|--))+\fP". Note that \fB\\t\fR stands for an actual Tab character. .TP .B set rawsequences diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 6bc19a83..ea764414 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -124,7 +124,7 @@ ## The email-quote string, used to justify email-quoted paragraphs. ## This is an extended regular expression. The default is: -# set quotestr "^([ ]*([#:>|}]|//))+" +# set quotestr "^([ ]*([!#%:;>|}]|//|--))+" ## Try to work around a mismatching terminfo terminal description. # set rawsequences