From: "B. T. Raven" <btraven@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Disabling M-q
Date: Tue, 21 May 2013 15:44:37 -0500 [thread overview]
Message-ID: <kngmcg031gg@news6.newsguy.com> (raw)
In-Reply-To: <mailman.131.1369154672.22516.help-gnu-emacs@gnu.org>
>> (define-key (current-local-map) [(meta q)] nil) Does not work either
>
> You must use [(meta ?q)], not [(meta q)].
>
I've seen that in the docs but it doesn't seem to matter (with ver.
23.3). In my .emacs (together with a couple of dozen other similar
forms) I have:
(global-set-key [(meta super s)] 'search-forward-regexp)
This works and C-hf search-forward-regexp shows this:
"
search-forward-regexp is an interactive built-in function in
`subr.el'.
It is bound to M-s-s.
(search-forward-regexp REGEXP &optional BOUND NOERROR COUNT)
"
But maybe I've just been lucky not to have something masking the ?q
interpretation of q. Anyway it seems to work without specifying that q
is a char.
Ed
next prev parent reply other threads:[~2013-05-21 20:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 15:31 Disabling M-q Cecil Westerhof
2013-05-16 2:59 ` Yuri Khan
2013-05-18 4:43 ` B. T. Raven
2013-05-18 10:26 ` Emanuel Berg
2013-05-18 17:44 ` B. T. Raven
2013-05-21 8:21 ` Cecil Westerhof
2013-05-21 16:44 ` Drew Adams
2013-05-21 16:57 ` B. T. Raven
[not found] ` <mailman.131.1369154672.22516.help-gnu-emacs@gnu.org>
2013-05-21 18:35 ` Cecil Westerhof
2013-05-21 20:29 ` Drew Adams
2013-05-21 20:44 ` B. T. Raven [this message]
2013-05-22 14:59 ` Drew Adams
[not found] ` <mailman.25881.1368673172.855.help-gnu-emacs@gnu.org>
2013-05-21 8:13 ` Cecil Westerhof
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=kngmcg031gg@news6.newsguy.com \
--to=btraven@nihilo.net \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).