From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: How to unset a prefix key locally? Date: Fri, 10 Apr 2009 22:21:12 +0200 Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=shift_jis Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1239396054 10535 80.91.229.12 (10 Apr 2009 20:40:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2009 20:40:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 10 22:42:13 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 1LsNY9-0003zV-2V for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2009 22:42:09 +0200 Original-Received: from localhost ([127.0.0.1]:56402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsNWk-00078P-OK for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2009 16:40:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!grolier!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp18-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:kdQz9OFW0wE2uM68Hq0bBUdhQ3g= Original-Lines: 48 Original-NNTP-Posting-Date: 10 Apr 2009 22:21:12 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1239394872 news-2.free.fr 31915 82.240.200.149:49815 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:168366 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:63645 Archived-At: "B. T. Raven" writes: > vmlinz unconscious wrote: >> Hello, >> >> I'm using emacs23.0.91 packaged by debian, the simple.el defined a key >> sequence "C(upercase letter 'c'j - m" and the prefix 'C'(upercase letter >> 'c') prevent me from typing letter 'C'. >> >> I tried to unset the key binding "C - m" locally ,but the prefix is still >> there . I looked up functions in elisp manual but there is no function to >> unset a prefix key. >> >> Now I have to stop simple.el from loading or to change the debian load >> settings of simple.el to comment out the key settings. >> >> So how can I locally unset a prefix key? >> >> >> Thx >> > > [Changed encoding from Japanese so I could type \ key] > > At least in ver. 22.3 all references are to \C-m not to C-m. In what > Is there any place in Emacs where ordinary letter key is a prefix? Gnus uses letters as prefixes in group and summary buffer, e.g. A M gnus-group-list-all-matching D u gnus-sieve-update H v gnus-version M U gnus-group-unmark-all-groups S s gnus-group-unsubscribe-group T DEL gnus-topic-delete A f A gnus-group-list-flush G P r gnus-group-sort-selected-groups-by-rank T S s gnus-topic-sort-groups T M-n gnus-topic-goto-next-topic W f mmh, quizz time. Can you tell without looking at the man ? And that's just a sample from the group buffer. I think gnus uses all ordinary letters as prefixes... There are probably other read-only modes that use ordinary letter keys as prefixes. Indeed these modes often drop the modifier key for their shortcuts ; slightly bending the meaning of a prefix key, typing "s word" in view-mode will search forward for word in buffer.