From 24d6b7fcf790f5f5af2c69f549802ab2eb996a00 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 4 Aug 2015 19:51:02 +0000 Subject: [PATCH] Tweaking the documentation. Mainly putting prevword and nextword in the standard order, and giving the Savannah URL for bug reporting. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5344 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 ++- doc/man/nano.1 | 10 +++------- doc/man/nanorc.5 | 12 ++++++------ doc/texinfo/nano.texi | 10 +++++----- 4 files changed, 16 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b03be82..cce23177 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,8 @@ * src/nano.c (main), src/files.c (read_file), src/rcfile.c, doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Add the option --unix, to save a file by default in Unix format. - * doc/nanorc.sample.in: Advertise the new bindable functions. + * doc/nanorc.sample.in: Advertise the five new bindable functions. + * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Tweaks. 2015-08-03 Benno Schulenberg * src/rcfile.c (parse_binding): Check the value of shortcut->toggle diff --git a/doc/man/nano.1 b/doc/man/nano.1 index 6e778a89..ce3b1971 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.3" "July 2015" +.TH NANO 1 "version 2.4.3" "August 2015" .\" Please adjust this date whenever revising the manpage. .\" @@ -275,12 +275,8 @@ it unique. In multibuffer mode, \fBnano\fP will write all the open buffers to their respective emergency files. .SH BUGS -Please send any comments or bug reports to \fBnano@nano-editor.org\fP. - -The \fBnano\fP mailing list is available from \fBnano-devel@gnu.org\fP. - -To subscribe, email to \fBnano-devel-request@gnu.org\fP with a subject -of "subscribe". +Please report any bugs that you encounter via +https://savannah.gnu.org/bugs/?group=nano. .SH HOMEPAGE http://www.nano-editor.org/ diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5 index d794ea81..67ce5971 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.3" "July 2015" +.TH NANORC 5 "version 2.4.3" "August 2015" .\" Please adjust this date whenever revising the manpage. .\" .SH NAME @@ -343,7 +343,7 @@ to an already defined syntax -- useful when you want to slightly improve a syntax defined in one of the system-installed files (which are normally not writable) .SH REBINDING KEYS -Key bindings may be reassigned via the following commands: +Key bindings can be changed via the following two commands: .TP .BI bind " key function menu" Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the @@ -372,7 +372,7 @@ Example: F10 .RE .TP -Valid \fIfunction\fP names to be bound include: +Valid \fIfunction\fP names to be bound are: .RS 3 .TP 2 .B help @@ -475,12 +475,12 @@ Scrolls up one line of text from the current position. .B scrolldown Scrolls down one line of text from the current position. .TP -.B nextword -Moves the cursor to the beginning of the next word. -.TP .B prevword Moves the cursor to the beginning of the previous word. .TP +.B nextword +Moves the cursor to the beginning of the next word. +.TP .B home Moves the cursor to the beginning of the current line. .TP diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi index c2f5b52b..577470c8 100644 --- a/doc/texinfo/nano.texi +++ b/doc/texinfo/nano.texi @@ -7,7 +7,7 @@ @smallbook @set EDITION 0.3 @set VERSION 2.4.3 -@set UPDATED July 2015 +@set UPDATED August 2015 @dircategory Editors @direntry @@ -914,7 +914,7 @@ in one of the system-installed files (which are normally not writable). @node Rebinding Keys @section Rebinding Keys -Key bindings may be reassigned via the following two commands in a +Key bindings can be changed via the following two commands in a nanorc file: @table @code @@ -1048,12 +1048,12 @@ Scrolls up one line of text from the current position. @item scrolldown Scrolls down one line of text from the current position. -@item nextword -Moves the cursor to the beginning of the next word. - @item prevword Moves the cursor to the beginning of the previous word. +@item nextword +Moves the cursor to the beginning of the next word. + @item home Moves the cursor to the beginning of the current line. -- 2.39.5