Source

macports / aqua / emacs-app / files / patch-shiftmodifier-with-ime.diff

Full commit
--- src/nsterm.m	2012-02-06 13:50:50.000000000 +0900
+++ src/nsterm.m.orig	2012-01-11 21:35:01.000000000 +0900
@@ -4488,7 +4488,7 @@
              code, fnKeysym, flags, emacs_event->modifiers);

       /* if it was a function key or had modifiers, pass it directly to emacs */
-      if (fnKeysym || (emacs_event->modifiers
+  if (fnKeysym || (emacs_event->modifiers && (emacs_event->modifiers != shift_modifier)
                        && [[theEvent charactersIgnoringModifiers] length] > 0))
 /*[[theEvent characters] length] */
         {