diff --git a/ChangeLog b/ChangeLog index 4147e1f5..7747efde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ element correctly. * doc/texinfo/nano.texi: Document the --enable-altrcname option. The lack of this was pointed out by Frank. + * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Mention + that the position history is limited to the 200 most recent files. 2016-01-24 Benno Schulenberg * src/files.c (update_poshistory): Move an updated item to the end diff --git a/doc/man/nano.1 b/doc/man/nano.1 index f10b1b6e..6831be37 100644 --- a/doc/man/nano.1 +++ b/doc/man/nano.1 @@ -116,8 +116,9 @@ Disable automatic conversion of files from DOS/Mac format. 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. (The old form of this option, \fB\-\-poslog\fR, is deprecated.) +For the 200 most recent files, log the last position of the cursor, +and place it at that position again upon reopening such a file. +(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 22fd7e6b..6ae2432b 100644 --- a/doc/man/nanorc.5 +++ b/doc/man/nanorc.5 @@ -161,6 +161,7 @@ directory feature is turned off. .TP .B set positionlog Save the cursor position of files between editing sessions. +The cursor position is remembered for the 200 most-recently edited files. (The old form of this option, '\fBset poslog\fR', is deprecated.) .TP .B set preserve diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi index 38a17689..a0606bbe 100644 --- a/doc/texinfo/nano.texi +++ b/doc/texinfo/nano.texi @@ -188,8 +188,8 @@ Use the blank line below the titlebar as extra editing space. @item -P @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. +For the 200 most recent files, log the last position of the cursor, +and place it at that position again upon reopening such a file. (The old form of this option, @code{--poslog}, is deprecated.) @item -Q "@var{characters}" @@ -720,6 +720,7 @@ directory feature is turned off. @item set positionlog Save the cursor position of files between editing sessions. +The cursor position is remembered for the 200 most-recently edited files. (The old form of this option, @code{set poslog}, is deprecated.) @item set preserve