help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: w32-pass-lwindow-to-system (& ...rwindow)


From: Eli Zaretskii
Subject: Re: w32-pass-lwindow-to-system (& ...rwindow)
Date: Sun, 24 Sep 2006 15:59:10 +0300

> From: "B. T. Raven" <ecinmn@alcisp.com>
> Date: Sat, 23 Sep 2006 13:17:57 -0500
> 
> "Mathias Dahl" <brakjoller@gmail.com> wrote in message
> upsdmikql.fsf@gmail.com">news:upsdmikql.fsf@gmail.com...
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> > > Looks like the trick we play around line 3005 of w32fns.c isn't
> > > working.  What Windows version is that?  Is there someone on this
> > > list who can make LWIN-r combo work for them in Emacs, in any
> > > version of Windows?
> >
> > I just tested with emacs -q and it works as for the parent poster,
> > i.e. Win+s gives me `search-backward-regexp' but Win+r opens up the
> > Run dialog. The same applies for Win+e (open Explorer.exe).
> >
> > I use CVS Emacs from 2006-03-20 on Windows XP.
> >
> > /Mathias
> 
> I have w98 and w2000 but I have tried it  only on w98 (ver 21.3) so far.
> In addition to win-e, win-f, win-d,and win-r, win-m is also a problem
> (apparently it is a synonym for win-d, raise the desktop.) The other
> unassigned s-<whatever> keychords produce a pleasant ding sound. I will
> test it on w-2000 when I get a chance but there I have only version 22.0
> installed.
> 
> Probably not relevant, but the following work alright:
> 
> (global-set-key [(super g)] 'goto-line)
> (global-set-key [(super b)] 'bury-buffer)
> (global-set-key [(super k)] (lambda () (interactive) (kill-line 0 )))

Thanks to all who responded.

I now think that my original opinion about the code in w32fns.c no
working was in error.  That code _does_ work, and correctly prevents
Windows from popping up the Start menu when lwindow is pressed and
released without pressing any other key.  This is important when
w32-pass-lwindow-to-system is set to nil, but w32-lwindow-modifier is
left at its default nil value, which causes the lwindow key to appear
in Emacs as <lwindow>.

But the case of <lwindow>-r, when w32-lwindow-modifier is set to
`super', cannot be handled by that trick, because Windows seems to
catch the combo before Emacs gets the chance to process it.

Sorry for any confusion I might have caused.




reply via email to

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