all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jidanni@jidanni.org
To: help-gnu-emacs@gnu.org
Cc: debian-x@lists.debian.org
Subject: how to ignore <XF86Launch1>s?
Date: Fri, 13 Apr 2012 10:03:22 +0800	[thread overview]
Message-ID: <877gxkmlqt.fsf@jidanni.org> (raw)

Every day before my computer is completely warmed up / dried out,
it sends phantom <XF86Launch1> key presses to emacs, causing
<XF86Launch1> is undefined
<C-XF86Launch1> is undefined
etc. (The latter was when I was holding down CTRL planning to press
another key.)

In emacs how can I ignore these, via keyboard-translate-table?
I don't want to bind them to a function as they could occur at any point
e.g., C-x <C-XF86Launch1> etc.

I already use an additional USB keyboard, and in
/usr/share/X11/xorg.conf.d/66-jidanni.conf I already do

Section "InputClass"
        Identifier "Bypassed Busted Keyboard"
	MatchIsKeyboard "on"
# IBM Example, but can't use symlinks
#	MatchDevicePath "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
	MatchDevicePath "/dev/input/event0"
	Option "Ignore" "on"
EndSection

to stop other phantom characters, but that doesn't stop the phantom <XF86Launch1>s.
No I don't want to buy a new computer or replace the keyboard.



             reply	other threads:[~2012-04-13  2:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-13  2:03 jidanni [this message]
     [not found] <mailman.1264.1334282613.20052.help-gnu-emacs@gnu.org>
2012-04-13 15:08 ` how to ignore <XF86Launch1>s? Stefan Monnier

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=877gxkmlqt.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=debian-x@lists.debian.org \
    --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.