[Mac-emacs-users] Command key not recognized in Emacs 21.3
Brought to you by:
akochoi
From: Rodney S. <rsp...@po...> - 2002-08-20 14:45:59
|
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) rsp...@mc... http://www.mcw.edu/pcor Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do |