From: Lennart Borgman <lennart.borgman@gmail.com>
To: MON KEY <monkey@sandpframing.com>
Cc: emacs-devel@gnu.org
Subject: Re: w32-pass-rwindow-to-system
Date: Thu, 22 Jan 2009 00:14:26 +0100 [thread overview]
Message-ID: <e01d8a50901211514m51ac9b0etcc2ad456fdba45d2@mail.gmail.com> (raw)
In-Reply-To: <d2afcfda0901211503o52d6a8b6ya5b0bf06b589795f@mail.gmail.com>
On Thu, Jan 22, 2009 at 12:03 AM, MON KEY <monkey@sandpframing.com> wrote:
> I've been playing around more with the super and hyper assigned to
> [lr]windows key. One thing that still isn't working on my systems is
> (with or without XKeymacs) is s-Tab H-Tab... which BTW is the reason i
> started mucking around for additional prefix modifiers in teh first
> place as ALT-TAB is not easily (nor effectively) overridden by Emacs
> on w32.
Not quite sure now, but I believe that ALT-TAB can not be overriden on
w32. Not even with a low-level keyboard hook.
That was one of the reason for me to write the patch I mentioned
elsewhere in this thread. I use the windows keys as meta.
> Likewise, this has become more of an issue with the most recent
> versions of GNOME as well
>
> The need to reasonably bind super and hyper is definitely an issue in
> SCM libraries like DVC where the binding has an immediate use case.
>
> Presumably this particular issue will resurface quite a bit in the
> coming months with the switch to Bazaar and others on w32 will start
> looking for a better way to rebind super than:
>
> ;;; C-x @ s event-apply-super-modifier
> ;;; C-x @ h event-apply-hyper-modifier
>
>
> On Wed, Jan 21, 2009 at 4:58 PM, Lennart Borgman
> <lennart.borgman@gmail.com> wrote:
>> On Wed, Jan 21, 2009 at 3:23 PM, Jason Rumney <jasonr@gnu.org> wrote:
>>> Lennart Borgman wrote:
>>>>
>>>> On Wed, Jan 21, 2009 at 10:29 AM, Juanma Barranquero <lekktu@gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> With w32-pass-[lr]window-to-system set to nil, pressing either Windows
>>>>> key does not open the Start menu (while Emacs is the active app, of
>>>>> course).
>>>>>
>>>>
>>>> This is not guaranteed according to MS documentation.
>>>>
>>>
>>> Do you have an example where it specifically mentions that it won't work, or
>>> are you meaning the lack of Microsoft documentation regarding Windows key
>>> handling means it might not be guaranteed?
>>
>> When we discussed this 3.5 y ago before I implemented this in the
>> patched version of Emacs+EmacsW32 I sent a an url with a simple
>> overview of the different techniques that MS have made available for
>> handling things like this. All the older versions where rather bad in
>> my opinion, but with lowlevel keyboard hooks they got it right.
>>
>> I do not remember now, but I believe the "references" links at the
>> bottom of that page goes to more documentation like descriptions.
>> Otherwise just look for LowLevelKeyboardProc in msdn.
>>
>> Here is the thread and the url to the overview:
>>
>> http://lists.gnu.org/archive/html/emacs-devel/2005-07/msg00448.html
>> http://www.codeproject.com/KB/winsdk/AntonioWinLock.aspx
>>
>>> AFAIK, the current workaround was discovered by Andrew Innes after much
>>> experimentation when the MS docs were found inadequate, and this is the
>>> first bug report I have seen saying that it doesn't work for suppressing the
>>> Start Menu as documented. But since the user is using your patched version,
>>> I can only suppose that it is your changes to low level Windows key handling
>>> that are causing this problem.
>>
>> It might be that the lowlevel keyboard hooks where not available when
>> Andrew did this. I think they first showed up in W2k.
>>
>
>
>
next prev parent reply other threads:[~2009-01-21 23:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 1:57 w32-pass-rwindow-to-system MON KEY
2009-01-21 9:29 ` w32-pass-rwindow-to-system Juanma Barranquero
2009-01-21 9:48 ` w32-pass-rwindow-to-system Lennart Borgman
2009-01-21 9:55 ` w32-pass-rwindow-to-system Juanma Barranquero
2009-01-21 10:12 ` w32-pass-rwindow-to-system Lennart Borgman
2009-01-21 10:26 ` w32-pass-rwindow-to-system Juanma Barranquero
2009-01-21 10:59 ` w32-pass-rwindow-to-system Lennart Borgman
2009-01-21 11:11 ` w32-pass-rwindow-to-system Juanma Barranquero
2009-01-21 14:09 ` w32-pass-rwindow-to-system Jason Rumney
2009-01-21 14:20 ` w32-pass-rwindow-to-system Juanma Barranquero
2009-01-21 22:12 ` w32-pass-rwindow-to-system Lennart Borgman
2009-01-21 14:23 ` w32-pass-rwindow-to-system Jason Rumney
2009-01-21 18:29 ` w32-pass-rwindow-to-system MON KEY
2009-01-21 21:58 ` w32-pass-rwindow-to-system Lennart Borgman
2009-01-21 23:03 ` w32-pass-rwindow-to-system MON KEY
2009-01-21 23:14 ` Lennart Borgman [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-21 13:05 w32-pass-rwindow-to-system grischka
2009-01-21 14:19 ` w32-pass-rwindow-to-system Juanma Barranquero
2009-01-21 15:41 ` w32-pass-rwindow-to-system grischka
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a50901211514m51ac9b0etcc2ad456fdba45d2@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monkey@sandpframing.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.