From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Schutte Newsgroups: gmane.emacs.help Subject: Re: Ignoring a key event completely Date: Tue, 13 May 2008 07:44:45 +0000 (UTC) Message-ID: <20080513074441.GA3862@debian.homenet> References: <20080512141606.GA17448@debian.homenet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1210664739 1773 80.91.229.12 (13 May 2008 07:45:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 07:45:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 13 09:46:16 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JvpD1-0005kb-6O for geh-help-gnu-emacs@m.gmane.org; Tue, 13 May 2008 09:46:03 +0200 Original-Received: from localhost ([127.0.0.1]:46467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvpCI-0003Yl-Cn for geh-help-gnu-emacs@m.gmane.org; Tue, 13 May 2008 03:45:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvpC1-0003Y1-1C for help-gnu-emacs@gnu.org; Tue, 13 May 2008 03:45:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvpBy-0003XV-V2 for help-gnu-emacs@gnu.org; Tue, 13 May 2008 03:45:00 -0400 Original-Received: from [199.232.76.173] (port=59570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvpBy-0003XS-Ou for help-gnu-emacs@gnu.org; Tue, 13 May 2008 03:44:58 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:43088 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvpBy-0003Gg-Ag for help-gnu-emacs@gnu.org; Tue, 13 May 2008 03:44:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JvpBt-0007m7-8J for help-gnu-emacs@gnu.org; Tue, 13 May 2008 07:44:53 +0000 Original-Received: from d86-32-85-20.cust.tele2.at ([86.32.85.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 May 2008 07:44:53 +0000 Original-Received: from m.schutte.jr by d86-32-85-20.cust.tele2.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 May 2008 07:44:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: d86-32-85-20.cust.tele2.at Content-Disposition: inline In-Reply-To: Jabber-ID: schm@yne.at User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53954 Archived-At: 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 > . What does Emacs display after typing `a', then the Navigation > key, then `C-h l'? Just the thing one would expect: a 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 "") '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