From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Holding Ctrl + f/b/p/n/etc. randomly prints the character Date: 31 Oct 2007 21:27:38 GMT Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1193866881 18580 80.91.229.12 (31 Oct 2007 21:41:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 21:41:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 22:41:24 2007 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 1InLJP-0001dK-77 for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Oct 2007 22:41:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InLJF-0000SK-JY for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Oct 2007 17:41:09 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: individual.net OCCa/JWKiBo9hj+HBQ/joQp5kGjZl7NUS2okiF0RV1GbDPKC6G Cancel-Lock: sha1:/+l7t4Y/mrZnQexQIn4a167xITg= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:153474 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:48958 Archived-At: Matthew Crisanti wrote: > Well it's a laptop, so the keyboard is integrated. I don't think it's a > hardware problem, though, since the problem doesn't show up in Vista. The > problem also doesn't occur when I use a USB keyboard. the latter suggests that your laptop keyboard *is* (part of) the problem. on the physical keyboard, the pressing of the control key and the pressing of a letter key are two separate events. at some point in the chain toward the response by the program, the system has to combine the two events and turn it into a single event. my guess is that if you press and hold both keys, some of the letter key presses are registered by the system as occurring *without* an accompanying ctrl key press. > Right now, I'm running Vista using vmware from within ubuntu, and I'm > getting the same problem , so it can't be a problem with an emacs > setting or anything, since I'm using the same emacs config file that I use > when I boot into Vista normally. i would be very surprised if it were a problem with emacs, as it occurs much lower down in the system. > Since the problem occurs in both gentoo and > ubuntu, and the only thing common between them that I can think of is the > kernel .config file that I use to compile the kernels for both, I'm assuming > it's a problem with my kernel, and that I'm in the wrong newsgroup. Any > suggestions are still welcome, however. it may be a kernel problem, or it may be a problem with X. it may be that you need to change your keyboard model in xorg.conf, or perhaps some keyboard handling code in either the kernel or in X is faulty. btw, i rarely if ever find the need in emacs to use C-f/b/p/n in the manner that you describe. using M-f/b/p/n and other key bindings to move around in a buffer is often much more effective. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)