emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: C-<char> doesn't respect current keyboard layout, OS X Carbon


From: YAMAMOTO Mitsuharu
Subject: Re: C-<char> doesn't respect current keyboard layout, OS X Carbon
Date: Mon, 23 Apr 2007 12:14:09 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.98 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Mon, 23 Apr 2007 00:36:03 +0200, Aidan Kehoe <address@hidden> said:

> I'm running on Mac OS X 10.4.7, under a German-language install. The
> default software keyboard layout associated with the installed
> system, and indeed my physical hardware, is also German. However,
> I've installed a variant of the OS X Irish layout (which is itself a
> variant of the British layout) and that is the currently active
> keyboard layout. In the input menu, the only other available
> keyboard is a British (UK) layout. No other account has the German
> keyboard available.

> When I type normally, this layout is respected. However, when I use
> the control key, it is not, and instead the German layout is
> used. 

I don't have German keyboards and I can't reproduce this with my US
keyboard.  Could you see if each of the following setting/patch
changes the behavior?

1) (setq mac-pass-control-to-system nil)

2) Patch to macterm.c:

Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.214
diff -c -p -r1.214 macterm.c
*** src/macterm.c       13 Apr 2007 08:14:03 -0000      1.214
--- src/macterm.c       23 Apr 2007 02:01:01 -0000
*************** XTread_socket (sd, expected, hold_quit)
*** 11321,11326 ****
--- 11321,11331 ----
                    UniChar code;
                    UniCharCount actual_length;
  
+ #if USE_CARBON_EVENTS
+                   GetEventParameter (eventRef, kEventParamKeyboardType,
+                                      typeUInt32, NULL,
+                                      sizeof (UInt32), NULL, &keyboard_type);
+ #endif
                    status = UCKeyTranslate (uchr_ptr,
                                             keycode, key_action,
                                             modifier_key_state,


                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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