From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Harper Newsgroups: gmane.emacs.devel Subject: OS X Lion and "ApplePressAndHoldEnabled" Date: Wed, 15 Jun 2011 14:58:16 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1237.1) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308175253 29749 80.91.229.12 (15 Jun 2011 22:00:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 22:00:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 00:00:50 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWy8n-0000iG-RL for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2011 00:00:49 +0200 Original-Received: from localhost ([::1]:32774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWy8m-0002Y6-PE for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2011 18:00:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWxAP-0002Tq-E2 for emacs-devel@gnu.org; Wed, 15 Jun 2011 16:58:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWxAM-0004Of-SE for emacs-devel@gnu.org; Wed, 15 Jun 2011 16:58:25 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:44284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWxAM-0004OK-9y for emacs-devel@gnu.org; Wed, 15 Jun 2011 16:58:22 -0400 Original-Received: by iwg8 with SMTP id 8so813459iwg.0 for ; Wed, 15 Jun 2011 13:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=pSete3Wciyzd/vyjhieTOt63LxB5BvcwIEOyIIemQ6w=; b=ohHt6zlAUV8zcVxafaEbnXDF3kS8Daph/Sy4IAra8FEdAWwoJxVQqfU0DX68zt3jWU DFhzYlI0Y16bjKBPZx3Qsprd1oAOu8hih9SPYvAooVwOPilO1z6hi5gi1KCsN4IsLGUK pq2oh+gsEQtG6Ae4Nlc4JbLPxn0i/CTU4w7mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=VMHIGurGOQ036KZmiKRb1nQDRAuggrb/jRBrXfsudyPAedB+m2riDJmClNY9cBIe/5 1X2Ed3AXBd5ZBZbC1OIIILGmOuNMKUcER7PBV+vEP2/5acmAVBavVySWRv2hDXbmKDOP DiSMt1yJmrZKLW4+kZwFs/GdFwRVuz9klPqMc= Original-Received: by 10.231.74.7 with SMTP id s7mr39633ibj.172.1308171500390; Wed, 15 Jun 2011 13:58:20 -0700 (PDT) Original-Received: from [10.1.1.147] (66.236.74.194.ptr.us.xo.net [66.236.74.194]) by mx.google.com with ESMTPS id j1sm416642ibg.38.2011.06.15.13.58.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2011 13:58:18 -0700 (PDT) X-Mailer: Apple Mail (2.1237.1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140519 Archived-At: In the latest version of OS X Apple has introduced "Press and Hold". In = Emacs, it's on by default. This translates to in Emacs, any = alphanumeric key, when held down not in combination of any key = modifiers, only one key press is emitted, in contrast with the previous = behavior where the key is repeated as fast as your system repeat rate is = set. This is especially troublesome for key bindings that use the home-row = keys for navigation, such as viper mode. No longer can you hold down = "J" to go down several lines=85 Fortunately, there is a workaround, shown to me by hober of #emacs. If = this is added at the top of your emacs config file (such that it is = executed before the frame is fully initialized): (ns-set-resource nil "ApplePressAndHoldEnabled" "NO") =85 then the previous behavior is restored, making viper users and the = like happy once again. I recommend that this should be set by default. Thanks, Tim=