Explaining better what "all" means when rebinding keys.
This is a soft fix for Savannah bug #42552. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5002 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
1930e8102d
commit
b14fbf719f
|
@ -13,6 +13,8 @@
|
|||
* src/files.c (do_insertfile): Fix compilation with --enable-tiny
|
||||
--enable-histories --enable-multibuffer.
|
||||
* src/nano.c: Fix compilation with --enable-tiny --enable-mouse.
|
||||
* doc/man/nanorc.5, doc/texinfo/nano.texi: Explain better what "all"
|
||||
means when rebinding keys. This is a fix for Savannah bug #42552.
|
||||
|
||||
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
|
||||
|
|
|
@ -322,8 +322,7 @@ Key bindings may be reassigned via the following commands:
|
|||
.TP
|
||||
.BI bind " key function menu"
|
||||
Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
|
||||
context of menu \fImenu\fP (or in all menus where the function exists
|
||||
by using \fBall\fP).
|
||||
context of menu \fImenu\fP (or in all menus by using \fBall\fP).
|
||||
.TP
|
||||
.BI unbind " key menu"
|
||||
Unbinds the key \fIkey\fP from the menu named \fImenu\fP (or from all
|
||||
|
@ -644,7 +643,9 @@ The 'search for a file' menu in the file browser.
|
|||
The 'go to directory' menu in the file browser.
|
||||
.TP
|
||||
.B all
|
||||
A special name meaning: apply to all menus where this function exists.
|
||||
A special name that encompasses all menus. For rebinding keys, it really
|
||||
means all menus (which may have unobvious effects, so use it carefully);
|
||||
for unbinding keys, it just means all the menus where the key exists.
|
||||
|
||||
.SH FILES
|
||||
.TP
|
||||
|
|
|
@ -843,10 +843,10 @@ nanorc file:
|
|||
|
||||
@item bind key function menu
|
||||
Rebinds @code{key} to @code{function} in the context of @code{menu}
|
||||
(or in all menus where the function exists by using @code{all}).
|
||||
(or in all menus by using @code{all}).
|
||||
|
||||
@item unbind key menu
|
||||
Unbinds @code{key} from the specified @code{menu}
|
||||
Unbinds @code{key} from @code{menu}
|
||||
(or from all menus where it exists by using @code{all}).
|
||||
|
||||
@end table
|
||||
|
@ -1171,7 +1171,9 @@ The 'search for a file' menu in the file browser.
|
|||
The 'go to directory' menu in the file browser.
|
||||
|
||||
@item all
|
||||
A special name meaning: apply to all menus where this function exists.
|
||||
A special name that encompasses all menus. For rebinding keys, it really
|
||||
means all menus (which may have unobvious effects, so use it carefully);
|
||||
for unbinding keys, it just means all the menus where the key exists.
|
||||
@end table
|
||||
|
||||
|
||||
|
@ -1282,7 +1284,9 @@ things about using the editor.
|
|||
@item --disable-histories
|
||||
Disable the code for the handling of the history files: the search and
|
||||
replace strings that were used, and the cursor position at which each
|
||||
file was closed.
|
||||
file was closed. This also eliminates the -H and -P command-line
|
||||
options, which switch on the logging of search/replace strings and
|
||||
cursor positions.
|
||||
|
||||
@item --disable-justify
|
||||
Disable the justify and unjustify functions.
|
||||
|
|
Loading…
Reference in New Issue