Making the descriptions of the multibuffer feature more accurate.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5205 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2015-04-18 16:07:53 +00:00
parent 6ff772b8d9
commit 296152ec67
5 changed files with 23 additions and 16 deletions

View File

@ -1,3 +1,7 @@
2015-04-18 Benno Schulenberg <bensberg@justemail.net>
* src/global.c, src/nano.c, doc/man/nanorc.5, doc/texinfo/nano.texi:
Make the descriptions of the multibuffer feature more accurate.
2015-04-18 Mark Oteiza <mvoteiza@udel.edu> 2015-04-18 Mark Oteiza <mvoteiza@udel.edu>
* doc/syntax/{python,ruby,sh,tex}.nanorc: Add a linter definition. * doc/syntax/{python,ruby,sh,tex}.nanorc: Add a linter definition.
* doc/syntax/elisp.nanorc: New file; syntax highlighting for Elisp. * doc/syntax/elisp.nanorc: New file; syntax highlighting for Elisp.

View File

@ -132,7 +132,7 @@ System, and on the console when gpm is running. Text can still be
selected through dragging by holding down the Shift key. selected through dragging by holding down the Shift key.
.TP .TP
.B set multibuffer .B set multibuffer
Allow inserting files into their own buffers. When reading in a file with ^R, insert it into a new buffer by default.
.TP .TP
.B set noconvert .B set noconvert
Don't convert files from DOS/Mac format. Don't convert files from DOS/Mac format.
@ -379,8 +379,8 @@ Exits from the program (or from the help viewer or the file browser).
Writes the current buffer to disk. Writes the current buffer to disk.
.TP .TP
.B insert .B insert
Inserts a file into the current buffer (or into a new buffer when multibuffer Inserts a file into the current buffer (at the current cursor position),
is enabled). or into a new buffer when option \fBmultibuffer\fR is set.
.TP .TP
.B whereis .B whereis
Searches for text in the current buffer -- or for filenames matching Searches for text in the current buffer -- or for filenames matching
@ -492,10 +492,10 @@ Moves the cursor to the bracket (brace, parenthesis, etc.) that matches
(pairs) with the one under the cursor. (pairs) with the one under the cursor.
.TP .TP
.B prevbuf .B prevbuf
Switches to editing/viewing the previous buffer when using multibuffer mode. Switches to editing/viewing the previous buffer when multiple buffers are open.
.TP .TP
.B nextbuf .B nextbuf
Switches to editing/viewing the next buffer when using multibuffer mode. Switches to editing/viewing the next buffer when multiple buffers are open.
.TP .TP
.B verbatim .B verbatim
Inserts the next character verbatim into the file. Inserts the next character verbatim into the file.
@ -619,7 +619,8 @@ Toggles whether typed tabs will be converted to spaces.
Toggles whether a backup will be made of the file to be edited. Toggles whether a backup will be made of the file to be edited.
.TP .TP
.B multibuffer .B multibuffer
Toggles the use of multiple file buffers (if support for them has been compiled in). Toggles whether a file is inserted into the current buffer
or read into a new buffer.
.TP .TP
.B mouse .B mouse
Toggles mouse support. Toggles mouse support.

View File

@ -157,7 +157,7 @@ Convert typed tabs to spaces.
@item -F @item -F
@itemx --multibuffer @itemx --multibuffer
Enable multiple file buffers (if support for them has been compiled in). Read a file into a new buffer by default.
@item -G @item -G
@itemx --locking @itemx --locking
@ -688,7 +688,7 @@ Enable mouse support, so that mouse clicks can be used to place the
cursor, set the mark (with a double click), or execute shortcuts. cursor, set the mark (with a double click), or execute shortcuts.
@item set multibuffer @item set multibuffer
Allow inserting files into their own buffers. When reading in a file with ^R, insert it into a new buffer by default.
@item set noconvert @item set noconvert
Don't convert files from DOS/Mac format. Don't convert files from DOS/Mac format.
@ -949,8 +949,8 @@ Exits from the program (or from the help viewer or the file browser).
Writes the current buffer to disk. Writes the current buffer to disk.
@item insert @item insert
Inserts a file into the current buffer (or into a new buffer when multibuffer Inserts a file into the current buffer (at the current cursor position),
is enabled). or into a new buffer when option @code{multibuffer} is set.
@item whereis @item whereis
Searches for text in the current buffer -- or for filenames matching Searches for text in the current buffer -- or for filenames matching
@ -1059,10 +1059,10 @@ Moves the cursor to the bracket (brace, parenthesis, etc.) that matches
(pairs) with the one under the cursor. (pairs) with the one under the cursor.
@item prevbuf @item prevbuf
Switches to editing/viewing the previous buffer when using multibuffer mode. Switches to editing/viewing the previous buffer when multiple buffers are open.
@item nextbuf @item nextbuf
Switches to editing/viewing the next buffer when using multibuffer mode. Switches to editing/viewing the next buffer when multiple buffers are open.
@item verbatim @item verbatim
Inserts the next character verbatim into the file. Inserts the next character verbatim into the file.
@ -1186,7 +1186,8 @@ Toggles whether typed tabs will be converted to spaces.
Toggles whether a backup will be made of the file to be edited. Toggles whether a backup will be made of the file to be edited.
@item multibuffer @item multibuffer
Toggles the use of multiple file buffers (if available). Toggles whether a file is inserted into the current buffer
or read into a new buffer.
@item mouse @item mouse
Toggles mouse support. Toggles mouse support.
@ -1378,7 +1379,7 @@ command-line option, which enables the mouse functionality.
@item --disable-multibuffer @item --disable-multibuffer
Disable support for opening multiple files at a time and switching Disable support for opening multiple files at a time and switching
between them on the fly. This also eliminates the -F command-line between them on the fly. This also eliminates the -F command-line
option, which switches the use of multiple file buffers on. option, which causes a file to be read into a separate buffer by default.
@item --disable-nanorc @item --disable-nanorc
Disable support for reading the nanorc files at startup. With such Disable support for reading the nanorc files at startup. With such

View File

@ -1271,7 +1271,7 @@ const char *flagtostr(int flag)
case BACKUP_FILE: case BACKUP_FILE:
return N_("Backup files"); return N_("Backup files");
case MULTIBUFFER: case MULTIBUFFER:
return N_("Multiple file buffers"); return N_("Reading file into separate buffer");
case USE_MOUSE: case USE_MOUSE:
return N_("Mouse support"); return N_("Mouse support");
case NO_CONVERT: case NO_CONVERT:

View File

@ -858,7 +858,8 @@ void usage(void)
N_("Convert typed tabs to spaces")); N_("Convert typed tabs to spaces"));
#endif #endif
#ifndef DISABLE_MULTIBUFFER #ifndef DISABLE_MULTIBUFFER
print_opt("-F", "--multibuffer", N_("Enable multiple file buffers")); print_opt("-F", "--multibuffer",
N_("Read a file into a new buffer by default"));
#endif #endif
#ifndef NANO_TINY #ifndef NANO_TINY
print_opt("-G", "--locking", print_opt("-G", "--locking",