From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elena Newsgroups: gmane.emacs.help Subject: Re: Scanning keymaps for keybindings Date: Wed, 10 Nov 2010 11:41:20 -0800 (PST) Organization: http://groups.google.com Message-ID: <185f33b3-988c-4ea9-ac2e-9d276e0c8017@s4g2000yql.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291885404 6097 80.91.229.12 (9 Dec 2010 09:03:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 09:03:24 +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 10:03:20 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 1PQcPH-0001D5-SH for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 10:03:20 +0100 Original-Received: from localhost ([127.0.0.1]:42518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQcPG-0008WH-6G for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 04:03:18 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!s4g2000yql.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 94.36.136.52 Original-X-Trace: posting.google.com 1289418080 1610 127.0.0.1 (10 Nov 2010 19:41:20 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 10 Nov 2010 19:41:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s4g2000yql.googlegroups.com; posting-host=94.36.136.52; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010102906 Iceweasel/3.0.6 (Debian-3.0.6-3),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:182327 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:76899 Archived-At: On Nov 10, 6:56=A0pm, Stefan Monnier wrote: > I think you're going about it in the wrong way. =A0If you tell us more > precisely what you're trying to do, we can probably give you some better > indications of how to do it. Nevermind. My understanding now is that the only effective way is tracking down by hand where the key are bound and write the appropriate fix on a case by case basis. However, for the curious, here is the full story. Being a Viper +Vimpulse user, I'm used to J and K to go to next and to previous line. For the sake of consistency, I'd like to use M-j and M-k instead of M-p (ido-prev-work-directory) and M-n (ido-next-work- directory) to go back and forth in IDO's (ido.el) directory history. Of course, since N-based and P-based bindings for next and previous items are pervasive in Emacs (for consistency) this meant I had to do quite a few remappings. This raised the learning challenge to somewhat automate the task.