[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104660: ns-win: set ApplePressAndHol
From: |
David Reitter |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104660: ns-win: set ApplePressAndHoldEnabled to NO as it is unsupported. |
Date: |
Tue, 21 Jun 2011 11:45:36 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104660
committer: David Reitter <address@hidden>
branch nick: trunk
timestamp: Tue 2011-06-21 11:45:36 -0700
message:
ns-win: set ApplePressAndHoldEnabled to NO as it is unsupported.
This is in preparation for OS X "Lion"; it is a stop-gap solution
until this new input mechanism is supported correctly.
modified:
lisp/ChangeLog
lisp/term/ns-win.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-06-21 15:16:32 +0000
+++ b/lisp/ChangeLog 2011-06-21 18:45:36 +0000
@@ -1,3 +1,9 @@
+2011-06-21 Tim Harper <address@hidden>
+
+ * term/ns-win.el (ns-initialize-window-system): set
+ application-specific `ApplePressAndHoldEnabled' system
+ resource to NO as it is not yet supported by the NS port.
+
2011-06-21 Juanma Barranquero <address@hidden>
* misc.el (list-dynamic-libraries--refresh): Compute header here...
=== modified file 'lisp/term/ns-win.el'
--- a/lisp/term/ns-win.el 2011-01-31 23:54:50 +0000
+++ b/lisp/term/ns-win.el 2011-06-21 18:45:36 +0000
@@ -916,6 +916,11 @@
;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings.
(menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1))
+ ;; OS X Lion introduces PressAndHold, which is unsupported by this port.
+ ;; See this thread for more details:
+ ;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html
+ (ns-set-resource nil "ApplePressAndHoldEnabled" "NO")
+
(setq ns-initialized t))
(add-to-list 'handle-args-function-alist '(ns . x-handle-args))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104660: ns-win: set ApplePressAndHoldEnabled to NO as it is unsupported.,
David Reitter <=