emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r103384: * nsterm.m (EmacsView-keyDow


From: Adrian Robert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103384: * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to emacs, treat as unmodified (go to input manager processing).
Date: Tue, 22 Feb 2011 16:13:54 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103384
committer: Adrian Robert <address@hidden>
branch nick: trunk
timestamp: Tue 2011-02-22 16:13:54 +0200
message:
  * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to emacs, 
treat as unmodified (go to input manager processing).
modified:
  src/ChangeLog
  src/nsterm.m
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-02-22 13:27:23 +0000
+++ b/src/ChangeLog     2011-02-22 14:13:54 +0000
@@ -1,3 +1,9 @@
+2011-02-22  Adrian Robert  <address@hidden>
+
+       * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified
+       key to emacs, treat as unmodified (go to input manager
+       processing).
+
 2011-02-22  Paul Eggert  <address@hidden>
 
        Assume S_ISLNK etc. work, since gnulib supports this.

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2011-02-17 10:19:29 +0000
+++ b/src/nsterm.m      2011-02-22 14:13:54 +0000
@@ -4542,6 +4542,7 @@
 
       /* if it was a function key or had modifiers, pass it directly to emacs 
*/
       if (fnKeysym || (emacs_event->modifiers
+                       && (emacs_event->modifiers != shift_modifier)
                        && [[theEvent charactersIgnoringModifiers] length] > 0))
 /*[[theEvent characters] length] */
         {


reply via email to

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