docs: deprecate the use of morespace, smooth, nonewlines, and nowrap

master
Benno Schulenberg 2019-02-20 16:23:25 +01:00
parent 420fe4d1e6
commit 00713a7c47
3 changed files with 16 additions and 22 deletions

View File

@ -806,7 +806,8 @@ 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 @item set morespace
Use the blank line below the title bar as extra editing space. Deprecated option since it has become the default setting.
When needed, use @code{unset emptyline} instead.
@item set mouse @item set mouse
Enable mouse support, so that mouse clicks can be used to place the Enable mouse support, so that mouse clicks can be used to place the
@ -822,15 +823,16 @@ Don't convert files from DOS/Mac format.
Don't display the help lists at the bottom of the screen. Don't display the help lists at the bottom of the screen.
@item set nonewlines @item set nonewlines
When a file does not end with a newline, don't automatically add one. Deprecated option since it has become the default setting.
When needed, use @code{unset finalnewline} instead.
@item set nopauses @item set nopauses
Don't pause between warnings at startup. This means that only Don't pause between warnings at startup. This means that only
the last one will be visible (when there are multiple ones). the last one will be visible (when there are multiple ones).
@item set nowrap @item set nowrap
Do not automatically hard-wrap the current line when it becomes overlong. Deprecated option since it has become the default setting.
This is the default. When needed, use @code{unset breaklonglines} instead.
@item set numbercolor @var{fgcolor},@var{bgcolor} @item set numbercolor @var{fgcolor},@var{bgcolor}
Use this color combination for line numbers. Use this color combination for line numbers.
@ -898,7 +900,8 @@ already at that position, it will jump to the true beginning of the
line. line.
@item set smooth @item set smooth
Use smooth scrolling by default. Deprecated option since it has become the default setting.
When needed, use @code{unset jumpyscrolling} instead.
@item set softwrap @item set softwrap
Enable soft line wrapping for easier viewing of very long lines. Enable soft line wrapping for easier viewing of very long lines.

View File

@ -152,7 +152,8 @@ come before the closing set, and the two sets must be in the same order.
The default value is "\fB(<[{)>]}\fP". The default value is "\fB(<[{)>]}\fP".
.TP .TP
.B set morespace .B set morespace
Use the blank line below the title bar as extra editing space. Deprecated option since it has become the default setting.
When needed, use \fBunset emptyline\fR instead.
.TP .TP
.B set mouse .B set mouse
Enable mouse support, if available for your system. When enabled, mouse Enable mouse support, if available for your system. When enabled, mouse
@ -171,15 +172,16 @@ Don't convert files from DOS/Mac format.
Don't display the two help lines at the bottom of the screen. Don't display the two help lines at the bottom of the screen.
.TP .TP
.B set nonewlines .B set nonewlines
When a file does not end with a newline, don't automatically add one. Deprecated option since it has become the default setting.
When needed, use \fBunset finalnewline\fR instead.
.TP .TP
.B set nopauses .B set nopauses
Don't pause between warnings at startup. This means that only Don't pause between warnings at startup. This means that only
the last one will be visible (when there are multiple ones). the last one will be visible (when there are multiple ones).
.TP .TP
.B set nowrap .B set nowrap
Do not automatically hard-wrap the current line when it becomes overlong. Deprecated option since it has become the default setting.
This is the default. When needed, use \fBunset breaklonglines\fR instead.
.TP .TP
.B set numbercolor \fIfgcolor\fR,\fIbgcolor\fR .B set numbercolor \fIfgcolor\fR,\fIbgcolor\fR
Specify the color combination to use for line numbers. Specify the color combination to use for line numbers.
@ -245,7 +247,8 @@ already at that position, it will jump to the true beginning of the
line. line.
.TP .TP
.B set smooth .B set smooth
Use smooth scrolling by default. Deprecated option since it has become the default setting.
When needed, use \fBunset jumpyscrolling\fR instead.
.TP .TP
.B set softwrap .B set softwrap
Enable soft line wrapping for easier viewing of very long lines. Enable soft line wrapping for easier viewing of very long lines.

View File

@ -83,9 +83,6 @@
## come before the latter set, and both must be in the same order. ## come before the latter set, and both must be in the same order.
# set matchbrackets "(<[{)>]}" # set matchbrackets "(<[{)>]}"
## Use the blank line below the title bar as extra editing space.
# set morespace
## Enable mouse support, if available for your system. When enabled, ## Enable mouse support, if available for your system. When enabled,
## mouse clicks can be used to place the cursor, set the mark (with a ## mouse clicks can be used to place the cursor, set the mark (with a
## double click), and execute shortcuts. The mouse will work in the X ## double click), and execute shortcuts. The mouse will work in the X
@ -102,16 +99,10 @@
## Don't display the helpful shortcut lists at the bottom of the screen. ## Don't display the helpful shortcut lists at the bottom of the screen.
# set nohelp # set nohelp
## Don't automatically add a newline when a file does not end with one.
# set nonewlines
## Don't pause between warnings at startup. Which means that only the ## Don't pause between warnings at startup. Which means that only the
## last one will be readable (when there are multiple ones). ## last one will be readable (when there are multiple ones).
# set nopauses # set nopauses
## Do not automatically hard-wrap text.
# set nowrap
## Set operating directory. nano will not read or write files outside ## Set operating directory. nano will not read or write files outside
## this directory and its subdirectories. Also, the current directory ## this directory and its subdirectories. Also, the current directory
## is changed to here, so any files are inserted from this dir. A blank ## is changed to here, so any files are inserted from this dir. A blank
@ -159,9 +150,6 @@
## beginning of the line. ## beginning of the line.
# set smarthome # set smarthome
## Use line-by-line scrolling instead of chunk-by-chunk.
# set smooth
## Enable soft line wrapping (AKA full-line display). ## Enable soft line wrapping (AKA full-line display).
# set softwrap # set softwrap