unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bugs in handling of Alt-key on w32
@ 2005-07-25 23:03 Lennart Borgman
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman @ 2005-07-25 23:03 UTC (permalink / 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.)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-25 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 23:03 Bugs in handling of Alt-key on w32 Lennart Borgman

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