commit f47813eefa96556731f0737358bee19ffa86e94b
parent 474b390816c10d75f47b983f599aab5155028c7c
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Thu, 23 Jul 2015 17:56:54 +0000
Adding deprecation notices for the options 'const' and 'poslog'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5315 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-23 Benno Schulenberg <bensberg@justemail.net>
+ * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Add deprecation
+ notices for the options 'set const', 'set poslog' and '--poslog'.
+ Suggested by Eitan Adler.
+
2015-07-22 Mike Frysinger <vapier@gentoo.org>
* src/files.c (check_dotnano), src/global.c (thanks_for_all_the_fish),
src/rcfile.c (parse_binding): Plug a few memory leaks.
diff --git a/doc/man/nano.1 b/doc/man/nano.1
@@ -20,7 +20,7 @@
.\" Documentation License along with this program. If not, see
.\" <http://www.gnu.org/licenses/>.
.\"
-.TH NANO 1 "version 2.4.2" "June 2015"
+.TH NANO 1 "version 2.4.3" "July 2015"
.\" Please adjust this date whenever revising the manpage.
.\"
@@ -117,7 +117,7 @@ Use the blank line below the titlebar as extra editing space.
.TP
.BR \-P ", " \-\-positionlog
Log and later read back the location of the cursor and place it there
-again.
+again. (The old form of this option, \fB\-\-poslog\fR, is deprecated.)
.TP
.BR "\-Q ""\fIcharacters\fB""" ", " "\-\-quotestr=""" \fIcharacters\fR """
Set the quoting string for justifying. The default is
diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5
@@ -20,7 +20,7 @@
.\" Documentation License along with this program. If not, see
.\" <http://www.gnu.org/licenses/>.
.\"
-.TH NANORC 5 "version 2.4.2" "June 2015"
+.TH NANORC 5 "version 2.4.3" "July 2015"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
@@ -92,6 +92,7 @@ Do case-sensitive searches by default.
.TP
.B set constantshow
Constantly display the cursor position in the status bar.
+(The old form of this option, '\fBset const\fR', is deprecated.)
.TP
.B set cut
Use cut-to-end-of-line by default, instead of cutting the whole line.
@@ -160,6 +161,7 @@ directory feature is turned off.
.TP
.B set positionlog
Save the cursor position of files between editing sessions.
+(The old form of this option, '\fBset poslog\fR', is deprecated.)
.TP
.B set preserve
Preserve the XON and XOFF keys (^Q and ^S).
diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi
@@ -6,8 +6,8 @@
@smallbook
@set EDITION 0.3
-@set VERSION 2.4.2
-@set UPDATED June 2015
+@set VERSION 2.4.3
+@set UPDATED July 2015
@dircategory Editors
@direntry
@@ -21,7 +21,7 @@
@titlepage
@title GNU @code{nano}
@subtitle a small and friendly text editor.
-@subtitle version 2.4.2
+@subtitle version 2.4.3
@author Chris Allegretta
@page
@@ -190,6 +190,7 @@ Use the blank line below the titlebar as extra editing space.
@itemx --positionlog
Log for each file the last location of the cursor, and read it
back upon reopening the file and place it there again.
+(The old form of this option, @code{--poslog}, is deprecated.)
@item -Q "@var{characters}"
@itemx --quotestr="@var{characters}"
@@ -643,6 +644,7 @@ Do case-sensitive searches by default.
@item set constantshow
Constantly display the cursor position in the status bar.
+(The old form of this option, @code{set const}, is deprecated.)
@item set cut
Use cut-to-end-of-line by default, instead of cutting the whole line.
@@ -712,6 +714,7 @@ directory feature is turned off.
@item set positionlog
Save the cursor position of files between editing sessions.
+(The old form of this option, @code{set poslog}, is deprecated.)
@item set preserve
Preserve the XON and XOFF keys (^Q and ^S).