From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpkotta Newsgroups: gmane.emacs.help Subject: Re: Best practice for overriding keybinding of a minor mode? Date: Wed, 30 Sep 2009 12:09:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <87bpkz78xs.fsf@usenet.my.skamphausen.de> 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: ger.gmane.org 1254345318 7505 80.91.229.12 (30 Sep 2009 21:15:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 21:15:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 30 23:15:11 2009 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.50) id 1Mt6Vy-0007vq-JS for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 23:15:10 +0200 Original-Received: from localhost ([127.0.0.1]:53261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt6Vx-0007YH-Tl for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 17:15:09 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!l13g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 64.122.73.112 Original-X-Trace: posting.google.com 1254337786 21774 127.0.0.1 (30 Sep 2009 19:09:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 30 Sep 2009 19:09:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l13g2000yqb.googlegroups.com; posting-host=64.122.73.112; posting-account=EwI0QQoAAADdqmqX_mVfawBNtwyks2YE User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.2.15 Version/10.00,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173458 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:68570 Archived-At: On Sep 28, 4:54=A0pm, Samuel Wales wrote: > local-unset-key > > -- > Myalgic encephalomyelitis causes death (Jason et al. 2006) > and severe suffering. =A0Conflicts of interest are destroying > research. =A0What people "know" is wrong. =A0Silence =3D death.http://www= .meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm I hope I'm not hijacking this thread, but I want to do the same thing for ido. I recently started using it and I don't like how C- works when completing files and directories. I tried to set the keybind via local-set-key, define-key (on ido-competion-map), and local-unset-key; I used these methods after loading ido and in ido- setup-hook. Nothing worked. Then I looked at ido.el and saw that it does [remap backward-kill-word], which is what I have C- bound to globally. After reading the manual, it seems like there is no way to recover a remapped command. Is this true or am I overlooking something? Is ido being heavy-handed here, and should not be using remap? Thanks, jpkotta