[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32-pass-lwindow-to-system does not work as expected

From: Lennart Borgman
Subject: Re: w32-pass-lwindow-to-system does not work as expected
Date: Wed, 06 Jul 2005 08:54:39 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Eli Zaretskii wrote:

I cannot do anything about your beliefs.  I wrote about the caveats
because my experience taught me that low-level keyboard hooks bring
maintenance headaches in the long run.
Of course you have more experience with this.

For example, even the simple hook you posted could conceivably raise
some issues, if the user did some tweaking of her keyboard operation
wrt the lwindow key (e.g., the scan code map can be modified via the
I never seen this possibility to enter the scan code before. From the documentation I read that this is new inW2k and XP. I also read that "the mappings stored in the registry work at system level and apply to all users. These mappings cannot be set to work differently depending on the current user".

As far as understand this is not something you then can use for problems specific to Emacs.

And - or do I misunderstand this - more important: what you refer to are remapping the *scan codes* and my code used the *virtual keycodes*. That is what is used in Emacs today.

On more general grounds, when Emacs users on other systems complain
about trouble with key assignments, they are told to use system tools
to reassign keys; we never try to solve such problems in Emacs.  Why
do that for MS-Windows?  Shouldn't we simply advise users to use some
key remapping tool if they want this feature so badly?

Perhaps, but is not that on another level? Are we not adressing issues within Emacs and how Emacs interacts with the system?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]