docs: mention that 'quotestr' enables the rewrapping of comment blocks
Inspired-by: David Griffith <dave@661.org>master
parent
4bf650f021
commit
2eb1960523
|
@ -126,9 +126,10 @@ and place it at that position again upon reopening such a file.
|
||||||
.TP
|
.TP
|
||||||
.BR "\-Q ""\fIregex\fB""" ", " "\-\-quotestr=""" \fIregex """
|
.BR "\-Q ""\fIregex\fB""" ", " "\-\-quotestr=""" \fIregex """
|
||||||
Set the regular expression for matching the quoting part of a line.
|
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.
|
(Note that \fB\\t\fP stands for an actual Tab.)
|
||||||
|
This makes it possible to rejustify blocks of quoted text when composing
|
||||||
|
email, and to rewrap blocks of line comments when writing source code.
|
||||||
.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
|
||||||
|
|
|
@ -221,9 +221,11 @@ and place it at that position again upon reopening such a file.
|
||||||
|
|
||||||
@item -Q "@var{regex}"
|
@item -Q "@var{regex}"
|
||||||
@itemx --quotestr="@var{regex}"
|
@itemx --quotestr="@var{regex}"
|
||||||
Set the regular expression for matching the quoting part of a line, used
|
Set the regular expression for matching the quoting part of a line.
|
||||||
when justifying. The default value is @t{"^([@w{ }\t]*([!#%:;>|@}]|//|--))+"}.
|
The default value is @t{"^([@w{ }\t]*([!#%:;>|@}]|//|--))+"}.
|
||||||
Note that @code{\t} stands for a literal Tab character.
|
(Note that @code{\t} stands for a literal Tab character.)
|
||||||
|
This makes it possible to rejustify blocks of quoted text when composing
|
||||||
|
email, and to rewrap blocks of line comments when writing source code.
|
||||||
|
|
||||||
@item -R
|
@item -R
|
||||||
@itemx --restricted
|
@itemx --restricted
|
||||||
|
@ -830,10 +832,11 @@ Do quick status-bar blanking: status-bar messages will disappear after 1
|
||||||
keystroke instead of 25. Note that @option{constantshow} overrides this.
|
keystroke instead of 25. Note that @option{constantshow} overrides this.
|
||||||
|
|
||||||
@item set quotestr "@var{regex}"
|
@item set quotestr "@var{regex}"
|
||||||
The email-quote string, used to justify email-quoted paragraphs. This
|
Set the regular expression for matching the quoting part of a line.
|
||||||
is an extended regular expression. The default value is
|
The default value is @t{"^([@w{ }\t]*([!#%:;>|@}]|//|--))+"}.
|
||||||
@t{"^([@w{ }\t]*([!#%:;>|@}]|//|--))+"}.
|
(Note that @code{\t} stands for a literal Tab character.)
|
||||||
Note that @code{\t} stands for a literal Tab character.
|
This makes it possible to rejustify blocks of quoted text when composing
|
||||||
|
email, and to rewrap blocks of line comments when writing source code.
|
||||||
|
|
||||||
@item set rawsequences
|
@item set rawsequences
|
||||||
Interpret escape sequences directly (instead of asking @code{ncurses} to
|
Interpret escape sequences directly (instead of asking @code{ncurses} to
|
||||||
|
|
|
@ -196,10 +196,11 @@ Do quick status-bar blanking: status-bar messages will disappear after 1
|
||||||
keystroke instead of 25. The option \fBconstantshow\fR overrides this.
|
keystroke instead of 25. The option \fBconstantshow\fR overrides this.
|
||||||
.TP
|
.TP
|
||||||
.B set quotestr "\fIregex\fP"
|
.B set quotestr "\fIregex\fP"
|
||||||
The email-quote string, used to justify email-quoted paragraphs. This
|
Set the regular expression for matching the quoting part of a line.
|
||||||
is an extended regular expression. The default value is
|
The default value is "\fB^([\ \\t]*([!#%:;>|}]|//|--))+\fP".
|
||||||
"\fB^([\ \\t]*([!#%:;>|}]|//|--))+\fP". Note that \fB\\t\fR stands for an actual
|
(Note that \fB\\t\fR stands for an actual Tab character.)
|
||||||
Tab character.
|
This makes it possible to rejustify blocks of quoted text when composing
|
||||||
|
email, and to rewrap blocks of line comments when writing source code.
|
||||||
.TP
|
.TP
|
||||||
.B set rawsequences
|
.B set rawsequences
|
||||||
Interpret escape sequences directly (instead of asking \fBncurses\fR to
|
Interpret escape sequences directly (instead of asking \fBncurses\fR to
|
||||||
|
|
|
@ -122,8 +122,8 @@
|
||||||
## 1 keystroke instead of 26. Note that "constantshow" overrides this.
|
## 1 keystroke instead of 26. Note that "constantshow" overrides this.
|
||||||
# set quickblank
|
# set quickblank
|
||||||
|
|
||||||
## The email-quote string, used to justify email-quoted paragraphs.
|
## The regular expression that matches quoting characters in email
|
||||||
## This is an extended regular expression. The default is:
|
## or line-comment introducers in source code. The default is:
|
||||||
# set quotestr "^([ ]*([!#%:;>|}]|//|--))+"
|
# set quotestr "^([ ]*([!#%:;>|}]|//|--))+"
|
||||||
|
|
||||||
## Try to work around a mismatching terminfo terminal description.
|
## Try to work around a mismatching terminfo terminal description.
|
||||||
|
|
Loading…
Reference in New Issue