[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH 15/15] docs: mention that -L, -O, -S, and -w are obs
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] [PATCH 15/15] docs: mention that -L, -O, -S, and -w are obsolete and ignored [*incomplete*] |
Date: |
Thu, 31 Jan 2019 19:14:50 +0100 |
---
doc/nano.1 | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
index e349b1d4..f0012349 100644
--- a/doc/nano.1
+++ b/doc/nano.1
@@ -108,7 +108,9 @@ properly, please report a bug. Using this option disables
\fBnano\fR's
mouse support.
.TP
.BR \-L ", " \-\-nonewlines
-Don't automatically add a newline when a file does not end with one.
+Obsolete and ignored option, since it has become the default: \fBnano\fR
+no longer automatically adds a newline at end of buffer. If you want this
+automatic newline, use \fB\-f\fR or \fB\-\-finalnewline\fR.
.TP
.BR \-M ", " \-\-trimblanks
Snip trailing whitespace from the wrapped line when automatic
@@ -118,7 +120,9 @@ hard-wrapping occurs or when text is justified.
Disable automatic conversion of files from DOS/Mac format.
.TP
.BR \-O ", " \-\-morespace
-Use the blank line below the title bar as extra editing space.
+Obsolete and ignored option, since the line below the title bar is included
+into the editing space by default. If you prefer to keep this line blank,
+use \fB\-e\fR or \fB\-\-emptyline\fR.
.TP
.BR \-P ", " \-\-positionlog
For the 200 most recent files, log the last position of the cursor,
@@ -141,8 +145,9 @@ Restricted mode can also be activated by invoking \fBnano\fP
with any name beginning with 'r' (e.g. "rnano").
.TP
.BR \-S ", " \-\-smooth
-Use smooth scrolling: text will scroll line-by-line, instead of the
-usual chunk-by-chunk behavior.
+Obsolete and ignored option, since smooth scrolling has become the default.
+If you want the chunk-by-chunk scrolling behavior instead,
+use \fB\-j\fR or \fB\-\-jumpyscrolling\fR.
.TP
.BR \-T\ \fInumber ", " \-\-tabsize= \fInumber
Set the size (width) of a tab to \fInumber\fP columns. The value of
@@ -264,7 +269,9 @@ This mode allows the user to open also other files for
viewing,
unless \fB--restricted\fR is given too.
.TP
.BR \-w ", " \-\-nowrap
-Do not automatically hard-wrap the current line when it becomes overlong.
+Obsolete and ignored option, since not hard-wrapping automatically has become
+the default. If you do want the current line to be automatically hard-wrapped
+when it becomes overlong, use \fB\-b\fR or \fB\-\-breaklonglines\fR.
.TP
.BR \-x ", " \-\-nohelp
Don't show the two help lines at the bottom of the screen.
--
2.19.2
- [Nano-devel] [PATCH 05/15] rcfile: add the options that correspond to -b, -f, -j, and -e, (continued)
- [Nano-devel] [PATCH 05/15] rcfile: add the options that correspond to -b, -f, -j, and -e, Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 06/15] options: when a nanorc unsets an old flag, set the corresponding new flag, Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 07/15] options: let --fill no longer imply automatic hard-wrapping, Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 08/15] docs: stop saying that --fill switches on automatic hard-wrapping, Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 09/15] docs: describe the four new options (-b, -f, -j, -e) [*incomplete*], Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 10/15] options: warn when -L, -O, -S, or -w are given, and ignore them, Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 11/15] tweaks: switch from referencing NO_WRAP to referencing BREAK_LONG_LINES, Benno Schulenberg, 2019/01/31
- [Nano-devel] [PATCH 12/15] tweaks: switch from referencing NO_NEWLINES to referencing FINAL_NEWLINE, Benno Schulenberg, 2019/01/31