diff --git a/doc/nano.1 b/doc/nano.1 index 0b0bf63f..7be91389 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -165,7 +165,7 @@ and place it at that position again upon reopening such a file. .TP .BR "\-Q ""\fIregex\fB""" ", " "\-\-quotestr=""" \fIregex """ Set the regular expression for matching the quoting part of a line. -The default value is \fB"^([\ \\t]*([!#%:;>|}]|//))+"\fP. +The default value is "\fB^([\ \\t]*([!#%:;>|}]|//))+\fR". (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. @@ -187,7 +187,7 @@ the screen's edge, by using also \fB\-\-atblanks\fR.) .TP .BR \-T\ \fInumber ", " \-\-tabsize= \fInumber Set the size (width) of a tab to \fInumber\fP columns. The value of -\fInumber\fP must be greater than 0. The default value is 8. +\fInumber\fR must be greater than 0. The default value is \fB8\fR. .TP .BR \-U ", " \-\-quickblank Do quick status-bar blanking: status-bar messages will disappear after 1 @@ -295,11 +295,11 @@ Set the target width for justifying and automatic hard-wrapping at this \fInumber\fR of columns. If the value is 0 or less, wrapping will occur at the width of the screen minus \fInumber\fR columns, allowing the wrap point to vary along with the width of the screen if the screen is resized. -The default value is \-8. +The default value is \fB\-8\fR. .TP .B "\-s ""\fIprogram\fR [\fIargument \fR...]\fB""\fR, \fB\-\-speller=""\fIprogram\fR [\fIargument \fR...]\fB""" Use this command to perform spell checking and correcting, instead of -using the built-in corrector that calls \fBhunspell\fR or GNU \fBspell\fR. +using the built-in corrector that calls \fBhunspell\fR(1) or \fBspell\fR(1). .TP .BR \-t ", " \-\-saveonexit Save a changed buffer without prompting (when exiting with \fB^X\fR). diff --git a/doc/nano.texi b/doc/nano.texi index dabe24e9..f9a281e9 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -252,7 +252,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. -The default value is @t{"^([@w{ }\t]*([!#%:;>|@}]|//))+"}. +The default value is "@t{^([@w{ }\t]*([!#%:;>|@}]|//))+}". (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. @@ -805,7 +805,7 @@ Set the characters treated as closing brackets when justifying paragraphs. This may not include blank characters. Only closing punctuation (see @code{set punct}), optionally followed by the specified closing brackets, can end sentences. The default value is -@t{""')>]@}"}. +"@t{"')>]@}}". @item set breaklonglines Automatically hard-wrap the current line when it becomes overlong. @@ -885,7 +885,7 @@ Enable vim-style lock-files for when editing files. Specify the opening and closing brackets that can be found by bracket searches. This may not include blank characters. The opening set must come before the closing set, and the two sets must be in the same order. -The default value is @t{"(<[@{)>]@}"}. +The default value is "@t{(<[@{)>]@}}". @item set morespace Deprecated option since it has become the default setting. @@ -942,7 +942,7 @@ Set the characters treated as closing punctuation when justifying paragraphs. This may not include blank characters. Only the specified closing punctuation, optionally followed by closing brackets (see @code{set brackets}), can end sentences. -The default value is @t{"!.?"}. +The default value is "@t{!.?}". @item set quickblank Do quick status-bar blanking: status-bar messages will disappear after 1 @@ -950,7 +950,7 @@ keystroke instead of 25. Note that @option{constantshow} overrides this. @item set quotestr "@var{regex}" Set the regular expression for matching the quoting part of a line. -The default value is @t{"^([@w{ }\t]*([!#%:;>|@}]|//))+"}. +The default value is "@t{^([@w{ }\t]*([!#%:;>|@}]|//))+}". (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. @@ -1143,7 +1143,7 @@ characters after the pipe are appended at the end of the line. If no pipe character is present, the full string is prepended; for example, @t{"#"} for Python files. If empty double quotes are specified, the comment/uncomment functions are disabled; for example, @t{""} for JSON. -The default value is @t{"#"}. +The default value is "@t{#}". @item tabgives "@var{string}" Make the key produce the given @var{string}. Useful for languages like diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 3acbaec0..877301f9 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -108,7 +108,7 @@ beginning of a paragraph (unless auto-indenting is on). Set the characters treated as closing brackets when justifying paragraphs. This may not include blank characters. Only closing punctuation (see \fBset punct\fP), optionally followed by the specified -closing brackets, can end sentences. The default value is "\fB"')>]}\fP". +closing brackets, can end sentences. The default value is "\fB\(dq')>]}\fR". .TP .B set breaklonglines Automatically hard-wrap the current line when it becomes overlong. @@ -293,7 +293,7 @@ the screen's edge, by using also \fBset atblanks\fR.) .TP .B set speller """\fIprogram\fR [\fIargument \fR...]\fB""" Use the given \fIprogram\fR to do spell checking and correcting, instead of -using the built-in corrector that calls \fBhunspell\fR or GNU \fBspell\fR. +using the built-in corrector that calls \fBhunspell\fR(1) or \fBspell\fR(1). .TP .B set statuscolor \fR[\fBbold,\fR][\fBitalic,\fR]\fIfgcolor\fB,\fIbgcolor\fR Specify the color combination to use for the status bar. @@ -632,8 +632,8 @@ Prompts for a program to execute. The program's output will be inserted into the current buffer (or into a new buffer when \fBM-F\fR is toggled). .TP .B speller -Invokes a spell-checking program, either the default \fBhunspell\fR or GNU -\fBspell\fR, or the one defined by \fB\-\-speller\fR or \fBset speller\fR. +Invokes a spell-checking program, either the default \fBhunspell\fR(1) or GNU +\fBspell\fR(1), or the one defined by \fB\-\-speller\fR or \fBset speller\fR. .TP .B formatter Invokes a full-buffer-processing program (if the active syntax defines one).