all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: How to unset a prefix key locally?
Date: Fri, 10 Apr 2009 22:21:12 +0200	[thread overview]
Message-ID: <m27i1s2rbb.fsf@free.fr> (raw)
In-Reply-To: Hb2dneO7Wou15ULUnZ2dnUVZ_hWdnZ2d@sysmatrix.net

"B. T. Raven" <nihil@nihilo.net> 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') - 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.


  reply	other threads:[~2009-04-10 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5066.1239380563.31690.help-gnu-emacs@gnu.org>
2009-04-10 16:47 ` How to unset a prefix key locally? B. T. Raven
2009-04-10 20:21   ` harven [this message]
2009-04-09 14:31 vmlinz unconscious
  -- strict thread matches above, loose matches on Subject: below --
2009-04-09 14:29 vmlinz unconscious

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

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

  git send-email \
    --in-reply-to=m27i1s2rbb.fsf@free.fr \
    --to=harven@free.fr \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.