From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Scanning keymaps for keybindings Date: Tue, 09 Nov 2010 15:37:01 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291883324 29520 80.91.229.12 (9 Dec 2010 08:28:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 08:28:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 09:28:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQbrh-0003by-Mw for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 09:28:37 +0100 Original-Received: from localhost ([127.0.0.1]:37369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQbrf-0006yW-Ru for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:28:36 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Injection-Info: mx03.eternal-september.org; posting-host="m5Xp1AeG0rhUixp3PGRKOA"; logging-data="21746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OpkyDKiRKVvwOXkVpL1xOVhThMZy/2j4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:hvGU9e5M3+O5xnzkMGwsBVnbOso= sha1:IhVehtQD04K/phtFe3KFSav+H0s= Original-Xref: usenet.stanford.edu gnu.emacs.help:182290 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76873 Archived-At: Elena 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.