[Top][All Lists]

[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 
 mouse support.
 .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.
 .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.
 .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.
 .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").
 .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.
 .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 
 unless \fB--restricted\fR is given too.
 .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.
 .BR \-x ", " \-\-nohelp
 Don't show the two help lines at the bottom of the screen.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]