From f47813eefa96556731f0737358bee19ffa86e94b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 23 Jul 2015 17:56:54 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ doc/man/nano.1 | 4 ++-- doc/man/nanorc.5 | 4 +++- doc/texinfo/nano.texi | 9 ++++++--- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 772b4220..092d2f68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-07-23 Benno Schulenberg + * 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 * 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 index c8d1d3a9..4e786141 100644 --- a/doc/man/nano.1 +++ b/doc/man/nano.1 @@ -20,7 +20,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index 60206b27..fbbe11cb 100644 --- a/doc/man/nanorc.5 +++ b/doc/man/nanorc.5 @@ -20,7 +20,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index b77cab3d..d635f02c 100644 --- 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).