unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Holding Ctrl + f/b/p/n/etc. randomly prints the character
Date: 31 Oct 2007 21:27:38 GMT	[thread overview]
Message-ID: <slrnfihsov.3ie.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: s26Wi.6$_P3.0@newsfe05.lga

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)

  reply	other threads:[~2007-10-31 21:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 21:51 Holding Ctrl + f/b/p/n/etc. randomly prints the character Matthew Crisanti
2007-10-31  9:39 ` Peter Dyballa
     [not found] ` <mailman.2788.1193823588.18990.help-gnu-emacs@gnu.org>
2007-10-31 20:59   ` Matthew Crisanti
2007-10-31 21:27     ` Joost Kremers [this message]
2007-10-31 23:18     ` Peter Dyballa

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=slrnfihsov.3ie.joostkremers@j.kremers4.news.arnhem.chello.nl \
    --to=joostkremers@yahoo.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).