unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Schutte <m.schutte.jr@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Ignoring a key event completely
Date: Tue, 13 May 2008 07:44:45 +0000 (UTC)	[thread overview]
Message-ID: <20080513074441.GA3862@debian.homenet> (raw)
In-Reply-To: <g0avrj$ndp$1@ger.gmane.org>

On Mon, May 12, 2008 at 08:53:39PM -0600, Kevin Rodgers wrote:
> I don't think I've ever been on a system that generates events like
> <key-17>.  What does Emacs display after typing `a', then the Navigation
> key, then `C-h l'?

Just the thing one would expect: a <key-17> C-h l.

> In any case, it looks like the Navigation key is not a modifier key like
> Shift, Control, etc.  So perhaps something like this will work:
>
> (define-key special-event-map (kbd "<key-17>") 'ignore)
>
> See the "Controlling Active Maps" and the "Special Events" nodes of the
> Emacs Lisp manual.

Yup, that’s exactly what I was looking for, thanks a lot!  It still
needs the same treatment for M-, C- and S-, but I can live with that.

Cheers,
-- 
Michael Schutte <m.schutte.jr@gmail.com>





  reply	other threads:[~2008-05-13  7:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 14:16 Ignoring a key event completely Michael Schutte
2008-05-13  2:53 ` Kevin Rodgers
2008-05-13  7:44   ` Michael Schutte [this message]
2008-05-13 12:54     ` Kevin Rodgers
2008-05-14 15:03       ` Michael Schutte

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=20080513074441.GA3862@debian.homenet \
    --to=m.schutte.jr@gmail.com \
    --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).