[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] How to use the menubar with keyboard?
From: |
Tuomas Salo |
Subject: |
Re: [h-e-w] How to use the menubar with keyboard? |
Date: |
Fri, 22 Feb 2002 12:35:33 +0200 (EET) |
Jeff,
thanks for the information. But my problem remains: it's not even nearly
possible to push Alt-F for file menu. Besides, I can't find where to
reconfigure the menu bar! The main menu bar seems to be hardcoded to
emacs.exe. (But I was unable to find it with a resource editor.) I
experimented a little by changing the string "Options" to "O&tions" in the
executable, which gave me a nice underlining ("O_t_ions"). I'd be happy to
enter the accelerators to the source myself, if I ever them... Maybe I'll
have to look at the sources again.
The other problem:
I tried all combinations of "(setq w32-alt-is-meta nil)" and/or "(setq
w32-pass-alt-to-system t)", but the Alt key still seems to be intercepted
by Emacs, since Alt-T doesn't open my custom "Otions" menu. Alt-F4
or Alt-Space don't work either. I thought that w32-pass-alt-to-system
should make them work, but apparently it doesn't.
So, I'm still quite far from the standard Windows menu behavior.
tuomas
On Thu, 21 Feb 2002, Jeff Rancier wrote:
> I have (thanks to someone on the list) the following function defined:
>
> (defun jbr-w32-simulate-Alt-tap ()
> (interactive)
> (w32-send-sys-command 61696))
>
> which I have bound to
>
> (global-set-key [C-tab] 'jbr-w32-simulate-Alt-tap)
>
> Then I hit Ctrl-tab, the Buffers menu button depresses. At that time I can
> just hit any of the first letters of any other menu items, and then expand
> if there's only one with that letter, or they toggle between multiple ones.
>
> Jeff