help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignoring a key event completely


From: Michael Schutte
Subject: Re: Ignoring a key event completely
Date: Tue, 13 May 2008 07:44:45 +0000 (UTC)
User-agent: Mutt/1.5.17 (2007-11-01)

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 <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]