emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Global keymaps [was: Yanking isearch to highlight-regexp]


From: Juri Linkov
Subject: Global keymaps [was: Yanking isearch to highlight-regexp]
Date: Sat, 28 Jun 2008 02:15:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> I see bindings.el has other candidates for dedicated keymaps like
>> recently discussed `C-x n' for narrow-related command, and also
>> `C-x r' for register commands, `C-x a' for abbrev commands.
>
> Tho C-x r is a bit of a weird puppy, as it's both "register" and
> "rectangle" commands (with some overlap).

Then we can use the same naming convention as for C-x 4 and C-x 5 maps:

    ctl-x-4-map - keymap for subcommands of C-x 4
    ctl-x-5-map - keymap for frame commands

Such names don't restrict the map to commands of only one feature.

By analogy, we could have:

    ctl-x-a-map - keymap for abbreviation commands
    ctl-x-n-map - keymap for narrowing commands
    ctl-x-r-map - keymap for register/rectangle subcommands of C-x r
    esc-g-map   - keymap for navigation subcommands of M-g
    etc.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]