unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: Bugs in handling of Alt-key on w32
Date: Tue, 26 Jul 2005 01:03:59 +0200	[thread overview]
Message-ID: <42E56FDF.2080503@student.lu.se> (raw)

I have been trying to get the Alt-key to work for accessing the menus 
(which is the normal use of it on w32). I think I found a couple of bugs:

On w32 start by setting

  (setq w32-pass-alt-to-system t)
  (setq w32-alt-is-meta nil)

Then try typing for example Alt, f. You can do that in two ways normally 
on w32:

    1) Either hold down Alt and then press f,
    2) or press and release Alt and then f.

Both these would open the File menu on a w32 app. In Emacs the first 
gives the message "A-f is undefined". The second alternative can give 
different results in Emacs depending on the time between typing Alt and 
f. Three things can happen as it works now (at least on a rather slow 
pc, 700MHz):

    a) the message "A-f is undefined"  --- when typing fast
    b) f is inserted in the buffer    --- typing a bit slower
    c) the File menu is opened   --- typing even slower

If StickyKeys (an accessibility option on w32, good to prevent hand 
damage too) are used another problem shows up too. You have to type Alt 
two times. (And I did not test carefully what can happen here).

I can not say I understand the code, but it seems to me that something 
is wrong in the handling of the Emacs specific messages queues on w32.

(I have told parts of this before, if someone remembers it.)

                 reply	other threads:[~2005-07-25 23:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=42E56FDF.2080503@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).