all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cecil Westerhof <Cecil@decebal.nl>
To: help-gnu-emacs@gnu.org
Subject: Re: Disabling M-q
Date: Tue, 21 May 2013 10:21:08 +0200	[thread overview]
Message-ID: <87y5b8vj4b.fsf@Aspire.decebal.nl> (raw)
In-Reply-To: kn8emb02pn7@news1.newsguy.com

Op zaterdag 18 mei 2013 19:44 CEST schreef B. T. Raven:

> This was the original question. Should M be escaped in a string
> here? Did you try the vector description of "M-q"? I notice that
> (kbd <key>... returns a specific vector but the vector [(meta q)]
> just evaluates to itself. Have you tried:
>
> (define-key (current-local-map) [(meta q)] nil)

Does not work either, but
    (local-set-key (kbd "M-q") 'ignore)
does.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


  reply	other threads:[~2013-05-21  8:21 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 [this message]
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

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

  git send-email \
    --in-reply-to=87y5b8vj4b.fsf@Aspire.decebal.nl \
    --to=cecil@decebal.nl \
    --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.