From: "B. T. Raven" <btraven@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Disabling M-q
Date: Fri, 17 May 2013 23:43:46 -0500 [thread overview]
Message-ID: <kn70uv02oqt@news4.newsguy.com> (raw)
In-Reply-To: <87txm4w97w.fsf@Aspire.decebal.nl>
> A friend asked how to disable M-q. My first thought was:
> (local-unset-key (kbd "\M-q"))
> or
> (local-set-key (kbd "M-q") nil)
>
> But both did not work. I am now using:
> (local-set-key (kbd "M-q") "")
>
> and this works. Is this the best way, or is there a better way?
>
How about either
(global-unset-key [(meta q)]
or
(local-unset-key [(meta q)]
??
next prev parent reply other threads:[~2013-05-18 4:43 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 [this message]
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
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=kn70uv02oqt@news4.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).