Command key not recognized in Emacs 21.3
Rodney Sparapani <[email protected]> Tue, 20 Aug 2002 09:45:55 -0500 (CDT)
| Newsgroups | gmane.emacs.macintosh.user |
|---|---|
| Message-ID | <[email protected]> |
I still can't double-click to open Emacs.app. But, that's ok; the workaround is
simple. However, one problem that remains and that I can't workaround is that
the Command key is not recognized. I looked at the old macterm.c patch and I
couldn't tell if it had been applied or not. The new code is very different.
Here's a comparison, although, I have no idea what the problem may be:
old macterm.c patch
***************
*** 12342,12347 ****
--- 12342,12351 ----
if (er.modifiers
& (NILP (Vmac_command_key_is_meta) ? optionKey : cmdKey))
the_modifiers |= meta_modifier;
+
+ if (NILP (Vmac_command_key_is_meta) && (er.modifiers & cmdKey))
+ the_modifiers |= alt_modifier;
+
bufp->modifiers = the_modifiers;
{
***************
new macterm.c (120)
#define macAltKey (NILP (Vmac_command_key_is_meta) ? cmdKey : optionKey)
...
new macterm.c (11568-11569)
if (NILP (Vmac_command_key_is_meta) && (mods & macAltKey))
result |= alt_modifier;
Rodney Sparapani Medical College of Wisconsin
Sr. Biostatistician Patient Care & Outcomes Research (PCOR)
[email protected] http://www.mcw.edu/pcor
Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390