From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: NS Port keeps crashing when FN key combo is pressed. Date: Thu, 14 Jan 2010 19:35:10 -0500 Message-ID: <767940BE-B1F2-4DF0-9875-92820DA1F1FC@gmail.com> References: <4B4F9144.3020009@gmail.com> <44BBB2F9-4B1B-4D77-965F-2F9763C489FE@gmail.com> <4B4FB7A6.6020603@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-12--406814417" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1263515739 8401 80.91.229.12 (15 Jan 2010 00:35:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 00:35:39 +0000 (UTC) To: "emacs-devel@gnu.org discussions" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 15 01:35:31 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVa9y-0005ym-EU for ged-emacs-devel@m.gmane.org; Fri, 15 Jan 2010 01:35:30 +0100 Original-Received: from localhost ([127.0.0.1]:55144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVa9z-0006BC-94 for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 19:35:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVa9r-0006Az-Pc for emacs-devel@gnu.org; Thu, 14 Jan 2010 19:35:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVa9q-0006Am-3y for emacs-devel@gnu.org; Thu, 14 Jan 2010 19:35:22 -0500 Original-Received: from [199.232.76.173] (port=35082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVa9p-0006Aj-Ux for emacs-devel@gnu.org; Thu, 14 Jan 2010 19:35:21 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.147]:27307) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVa9p-0004iA-Iq for emacs-devel@gnu.org; Thu, 14 Jan 2010 19:35:21 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so70222eyg.34 for ; Thu, 14 Jan 2010 16:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-pgp-agent:x-mailer; bh=cmXjoOiZvMQfWdIZeVge9+5cC4TOc/IcFwGKqqdO80E=; b=d2mSaW/KzAQS+AnVmVCOcpRjHF6j5pTKMerCVjgSM2mGiZ/R7cw2PILsHQx/s8oEoE ZIOSOuyWF6jhn6jY8Vy8q0abGx9JQNpSSKNFvMDiKRGAtR4ANat9k7r9pAoyXY1iZJf9 KMfwIy89evhxyfrAtkUClnWjpoVQok1o1gRzc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-pgp-agent :x-mailer; b=Z5LbzavK24PXPHGaO+sN7fJOuWAtEEFuDWDTAw5AwiLqKH5Ca6Q6P/a1dPRDWF4YvJ LFpsfJr+1MjAfOzUPogPTw2fyYkA900q68UqCDkqke8yX+eqIwjLn5qkJ8c6mjoB2l2W VcTOv3rxRFOPr+0kfXw+1P3YZFUlXhdx3U80A= Original-Received: by 10.216.86.139 with SMTP id w11mr588315wee.10.1263515719726; Thu, 14 Jan 2010 16:35:19 -0800 (PST) Original-Received: from ?192.168.1.42? (pool-96-236-181-152.pitbpa.east.verizon.net [96.236.181.152]) by mx.google.com with ESMTPS id 5sm218248eyf.4.2010.01.14.16.35.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Jan 2010 16:35:19 -0800 (PST) In-Reply-To: <4B4FB7A6.6020603@gmail.com> X-Pgp-Agent: GPGMail 1.2.3 X-Mailer: Apple Mail (2.1077) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120037 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-12--406814417 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Could someone ob bzr please apply the patch below? syms_of_nsterm: define Qnone symbol. diff --git a/src/nsterm.m b/src/nsterm.m index ff2e47a..ce6cca5 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6707,6 +6707,7 @@ syms_of_nsterm () DEFSYM (Qmeta, "meta"); DEFSYM (Qsuper, "super"); DEFSYM (Qcontrol, "control"); + DEFSYM (Qnone, "none"); Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); On Jan 14, 2010, at 7:32 PM, Jimmy Yuen Ho Wong wrote: > Yep this patch fixed it. Thanks! >=20 > JW >=20 > On 1/14/10 5:54 PM, David Reitter wrote: >> On Jan 14, 2010, at 4:48 PM, Jimmy Yuen Ho Wong wrote: >>=20 >>> Sometime since the last change few changes in nsterm.m, whenever I = hit a function key combo, Emacs.app immediately crashes with no stack = trace. I'm not sure what's happening. >>>=20 >>> I'm running on Mac OS X 10.5.8 PPC. >>=20 >>=20 >> Indeed it crashes, but getting a trace was no problem for me. >>=20 >> Try the patch below, which fixes the issue for me. >> (I believe it does not need a Qmodifier_value attribute, as the = function modifier isn't checked in xterm.c.) >>=20 >> - David --Apple-Mail-12--406814417 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) iEYEARECAAYFAktPuEIACgkQYotoJUVQB4I9OwCfXEDbT1a2Y2lfYXemW7UtO/s9 iLAAn0qOAKMAslEBGzGKbbmGnGwDJQFh =gs5Q -----END PGP SIGNATURE----- --Apple-Mail-12--406814417--