unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: Scanning keymaps for keybindings
Date: Tue, 09 Nov 2010 15:37:01 -0500	[thread overview]
Message-ID: <ic1v6ugro2.fsf@verizon.net> (raw)
In-Reply-To: f63f2762-b0c0-45d4-a421-ca1fc1911fc4@a9g2000pro.googlegroups.com

Elena <egarrulo@gmail.com> writes:

> Hello,
>
> I'd like to remap some keybindings in different contexts, for
> consistency.
>
> I've read the relevant section of the Elisp manual, but it seems there
> is no way to list all keymaps variables for a search.  `current-active-
> maps' returns the value of keymaps, not keymaps' variables' names.
>
> I think I could list all variables and then pattern match them against
> ".*-map$".  `describe-variable' lists variables, but I've not been
> able to extract the variable listing code.
>
> Any help? Thanks.

^h m

You need to issue that in each mode you want to fool with.

I'm not sure what you mean by keymap variables.
Are you after all the modes you are using?

Most people (myself), just start with the global-map and then
make mode bindings as needed.


       reply	other threads:[~2010-11-09 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f63f2762-b0c0-45d4-a421-ca1fc1911fc4@a9g2000pro.googlegroups.com>
2010-11-09 20:37 ` despen [this message]
     [not found]   ` <f7cba2f3-7cc9-4b6e-a62a-53fb6bae8aa6@u10g2000yqk.googlegroups.com>
2010-11-09 21:31     ` Scanning keymaps for keybindings despen
     [not found]       ` <87c203d6-9a60-494e-8652-a5d47151b0ae@u10g2000yqk.googlegroups.com>
     [not found]         ` <8739rab1qf.fsf@fh-trier.de>
2010-11-09 22:17           ` Elena
     [not found]     ` <87eiaucgpf.fsf@puma.rapttech.com.au>
2010-11-09 22:10       ` Elena
     [not found] ` <87oc9yf4bo.fsf@kuiper.lan.informatimago.com>
2010-11-10 11:08   ` Elena
     [not found] ` <jwv4obpqczb.fsf-monnier+gnu.emacs.help@gnu.org>
2010-11-10 19:41   ` Elena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ic1v6ugro2.fsf@verizon.net \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).