diff --git a/ChangeLog b/ChangeLog index 4147e1f51682a8bd5d3e2961b62ab118409d6aec..7747efde7c7692c6445b73f2867fdb771f19b805 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 <bensberg@justemail.net> * 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 f10b1b6ecb91fcd927a1b2e8d4a149f1738fb288..6831be370eae2a1c7fb1421b2c9b2c7c486111f5 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 22fd7e6b8528986c0222e2fdc485bff7e76f45bb..6ae2432b2ec170059777ac85ac4e0836c9911dd6 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 38a176894221a54c9b8d867f1fad6806ee0a6873..a0606bbe0b8542039882a389806678d9ac7e2404 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