From unknown Sat Sep 20 15:43:27 2025 X-Loop: don@donarmstrong.com Subject: bug#1151: Building Emacs on Mac OS 10.3.9 Reply-To: Alex , 1151@debbugs.gnu.org Resent-From: Alex Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 12 Oct 2008 20:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12238432693871 (code B ref -1); Sun, 12 Oct 2008 20:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Oct 2008 20:27:49 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9CKRj5d003865 for ; Sun, 12 Oct 2008 13:27:46 -0700 Received: from mail.gnu.org ([199.232.76.166]:55058 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kp7V6-0003sU-B5 for emacs-pretest-bug@gnu.org; Sun, 12 Oct 2008 16:25:16 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kp7XT-0001qd-DF for emacs-pretest-bug@gnu.org; Sun, 12 Oct 2008 16:27:44 -0400 Received: from mail-gx0-f10.google.com ([209.85.217.10]:34877) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kp7XS-0001qX-UJ for emacs-pretest-bug@gnu.org; Sun, 12 Oct 2008 16:27:43 -0400 Received: by gxk3 with SMTP id 3so2834290gxk.18 for ; Sun, 12 Oct 2008 13:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=gthlMOvP10VLm+whaweaNxVcvj3WzuV0TL+j2S5LabQ=; b=WhDmyyS7B/NginuCyAoaaFaceTUCzc+maJVqdwciEZHTrezIOrQw0iftqWDIixe3D7 x+Dqh9aGSTHjPLnYEaQSA9IK4FM7Rhe+VG7U+SGD30Ru8Ss/tIU4w4CxEhgjauniaRty X9hcaFJNSOtHITe1pRZotzRBYUtMl3kbQzGBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=T6pBAqzNJl/QMO4hf7DRLIyiVYXfSkctjPa+uejL/19C4/LggGd7Uv/bPQnc7Z/9Cy BMn8L1xoH1aPxPyXc/jkKqHEDy6KSbPaBKFP78s/0VBoqj3m8n0q9OGPI5FBS7T3dUQO w31XxpXST171GwV2SRpBOKXoc/qZnCOiu0Uqg= Received: by 10.90.99.3 with SMTP id w3mr4563005agb.89.1223843262016; Sun, 12 Oct 2008 13:27:42 -0700 (PDT) Received: by 10.90.74.9 with HTTP; Sun, 12 Oct 2008 13:27:41 -0700 (PDT) Message-ID: <9abbd5730810121327q31c1322cna476246f738fcbed@mail.gmail.com> Date: Sun, 12 Oct 2008 22:27:41 +0200 From: Alex To: emacs-pretest-bug@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) I'm trying to build Emacs from CVS on my old iBook running Mac OS 10.3.9. The last Emacs I built on this machine was GNU Emacs 22.1.1 (powerpc-apple-darwin7.9.0, Carbon Version 1.6.0) of 2007-06-05 on Alpinobombus.local I also tried to build Emacs 22.3 on this iBook a while ago and it ended with the following error: ld: /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunssfdi.o) illegal reference to symbol: ___cmpdi2 defined in indirectly referenced dynamic library /usr/lib/libgcc_s.1.dylib So now I'm trying Emacs from CVS: ./configure --with-ns make bootstrap This is where it ends: In file included from nsterm.m:49: keyboard.h:324: warning: redefinition of `Boolean' /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:255: warning: `Boolean' previously declared here nsterm.m: In function `ns_term_init': nsterm.m:3864: warning: assignment from incompatible pointer type nsterm.m:3875: warning: assignment from incompatible pointer type nsterm.m:3886: warning: assignment from incompatible pointer type nsterm.m: In function `-[EmacsView keyDown:]': nsterm.m:4340: warning: multiple declarations for method `initWithCapacity:' /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:108: warning: using `-(id)initWithCapacity:(unsigned)numItems' nsterm.h:315: warning: also found `-initWithCapacity:(unsigned long)c' gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/alex/Source/emacs/src -Dtemacs -g -O2 nsfns.m In file included from nsfns.m:36: keyboard.h:324: warning: redefinition of `Boolean' /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:255: warning: `Boolean' previously declared here nsfns.m: In function `interpret_services_menu': nsfns.m:293: warning: assignment from incompatible pointer type nsfns.m: In function `ns_do_applescript': nsfns.m:2042: error: `typeUTF16ExternalRepresentation' undeclared (first use in this function) nsfns.m:2042: error: (Each undeclared identifier is reported only once nsfns.m:2042: error: for each function it appears in.) make[2]: *** [nsfns.o] Error 1 make[1]: *** [src] Error 2 make: *** [bootstrap] Error 2 From unknown Sat Sep 20 15:43:27 2025 X-Loop: don@donarmstrong.com Subject: bug#1151: Building Emacs on Mac OS 10.3.9 Reply-To: YAMAMOTO Mitsuharu , 1151@debbugs.gnu.org Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Mon, 13 Oct 2008 02:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.122386570432152 (code B ref 1151); Mon, 13 Oct 2008 02:50:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.7 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1151) by emacsbugs.donarmstrong.com; 13 Oct 2008 02:41:44 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9D2ffqF032146 for <1151@emacsbugs.donarmstrong.com>; Sun, 12 Oct 2008 19:41:43 -0700 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id F092F2C44; Mon, 13 Oct 2008 11:41:39 +0900 (JST) Date: Mon, 13 Oct 2008 11:41:39 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Alex , 1151@debbugs.gnu.org In-Reply-To: <9abbd5730810121327q31c1322cna476246f738fcbed@mail.gmail.com> References: <9abbd5730810121327q31c1322cna476246f738fcbed@mail.gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Sun, 12 Oct 2008 22:27:41 +0200, Alex said: > I also tried to build Emacs 22.3 on this iBook a while ago and it > ended with the following error: ld: > /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunssfdi.o) illegal reference to > symbol: ___cmpdi2 defined in indirectly referenced dynamic library > /usr/lib/libgcc_s.1.dylib Do some workarounds mentioned in etc/PROBLEMS work? *** Mac OS X 10.3.9 (Carbon): QuickTime updater breaks build. Some QuickTime updaters such as 7.0.4 and 7.2.0 are known to break build at the link stage with the message like "Undefined symbols: _HICopyAccessibilityActionDescription referenced from QuickTime expected to be defined in Carbon". A workaround is to use a QuickTime reinstaller. Alternatively, you can link with the frameworks in the corresponding SDK by specifying LDFLAGS as "-Wl,-F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks". YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From unknown Sat Sep 20 15:43:27 2025 X-Loop: don@donarmstrong.com Subject: bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Reply-To: Adrian Robert , 1151@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 21 Oct 2008 13:50:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.122459654325690 (code B ref 1151); Tue, 21 Oct 2008 13:50:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1151) by emacsbugs.donarmstrong.com; 21 Oct 2008 13:42:23 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LDgHXp025684 for <1151@emacsbugs.donarmstrong.com>; Tue, 21 Oct 2008 06:42:18 -0700 Received: by yx-out-2324.google.com with SMTP id 8so428985yxg.31 for <1151@emacsbugs.donarmstrong.com>; Tue, 21 Oct 2008 06:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date:cc :x-mailer; bh=/2aSjAKT8rKaEA5DfY/slRLYnqE87NJQ1XE+nmGDRVk=; b=MB6hGLytUtykhurlCbDnylAX6BVt8KbpbGJ0xOmJIC6St09J8I1swWGWPMWUfsQX/c Oq/kMHU0N2rdxotoIQdeChLeqfgFVTa+znmC2mUxhNA4x/brU7NvWA+DVipasKAkAbEX KjyksSNA8O6yXoz0vmRyt5a45jl73ryslWjn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:cc:x-mailer; b=W6Zfur+dRpr6kDhNMrTMLv4HTtpiecC4USmbZIEr9IqfeaeQ58vtFYa1alD8epMQ8m ZamwAPNOmlehW6TNfTmUQLXi0KCeD0xoc01bRQb3WTEFEh4/MFIUjuabHMXKeKAEjhJF LTyF6ftCVGRwHx+NeNmgllR9Jky7cvQUn7tRw= Received: by 10.70.45.16 with SMTP id s16mr9953255wxs.50.1224596536974; Tue, 21 Oct 2008 06:42:16 -0700 (PDT) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id o61sm7956910hsc.10.2008.10.21.06.42.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Oct 2008 06:42:16 -0700 (PDT) Message-Id: From: Adrian Robert To: 1151@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 21 Oct 2008 09:42:03 -0400 Cc: Alex X-Mailer: Apple Mail (2.929.2) Hi, I am interested in having Emacs continue to work under Panther but don't have access to a test environment myself. Could you try commenting out the part of the 'if' statement involving "typeUTF16ExternalRepresentation" and see where that gets you? If you get it working and send me a list of all places that you needed to change, I can put in #ifdefs etc. so it will work out of the box. thanks, Adrian From unknown Sat Sep 20 15:43:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Reply-To: "Alex =?UTF-8?Q?Schr=C3=B6der"?= , 1151@debbugs.gnu.org Resent-From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Tue, 23 Dec 2008 01:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.122999590914130 (code B ref 1151); Tue, 23 Dec 2008 01:40:06 +0000 Received: (at 1151) by emacsbugs.donarmstrong.com; 23 Dec 2008 01:31:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBN1VjHU014119 for <1151@emacsbugs.donarmstrong.com>; Mon, 22 Dec 2008 17:31:46 -0800 Received: by yx-out-2324.google.com with SMTP id 8so774823yxg.31 for <1151@emacsbugs.donarmstrong.com>; Mon, 22 Dec 2008 17:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7UkI1AV8vCwKeIzqRxX5Oxtoi1qTCq/KyV285i3/bwM=; b=cJ53Qz7vvQHzg8S9oHkfn/nROxxTzwp6f5cHJko0Kf6xPAwiSjl5LWalWV4r/vEbz4 ONiJyDDf5yzmME3kCybbrcH2gqqoP3zttFu+SaRnnyZtOaOi4sOtD10XHQh0VdycMsby SLaaFhTbkS0EFZSBZqXAPaAqBpiDD9B8R/2LQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QsX1fGSYYJ3R4Wv9FYbB3/TYNZyWwOL7MM4QqKK+fNViHOWLA7zXcNTCwD7z/4XLT3 bFxkVYCMS6Jhxms5Ex4WEiYVp6u1HUg3tNlFCO7Rmf1yVB3Zhm+qowcIowYzwsT9YHQV ifCvihut86zHJ7qIow8crSszy9VR5dZiGM6GE= Received: by 10.90.97.16 with SMTP id u16mr3587831agb.52.1229995903903; Mon, 22 Dec 2008 17:31:43 -0800 (PST) Received: by 10.90.49.12 with HTTP; Mon, 22 Dec 2008 17:31:43 -0800 (PST) Message-ID: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> Date: Tue, 23 Dec 2008 02:31:43 +0100 From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= To: "Adrian Robert" Cc: 1151@debbugs.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: On Tue, Oct 21, 2008 at 2:42 PM, Adrian Robert wrote: > I am interested in having Emacs continue to work under Panther but don't > have access to a test environment myself. Could you try commenting out the > part of the 'if' statement involving "typeUTF16ExternalRepresentation" and > see where that gets you? > > If you get it working and send me a list of all places that you needed to > change, I can put in #ifdefs etc. so it will work out of the box. Hi Adrian Indeed, that does work! This is the only change I made: cvs diff: Diffing src Index: src/nsfns.m =================================================================== RCS file: /sources/emacs/emacs/src/nsfns.m,v retrieving revision 1.29 diff -c -r1.29 nsfns.m *** src/nsfns.m 7 Dec 2008 05:00:56 -0000 1.29 --- src/nsfns.m 23 Dec 2008 01:27:36 -0000 *************** *** 2054,2061 **** *result = Qt; // script returned an AppleScript result if ((typeUnicodeText == [returnDescriptor descriptorType]) || ! (typeUTF16ExternalRepresentation ! == [returnDescriptor descriptorType]) || (typeUTF8Text == [returnDescriptor descriptorType]) || (typeCString == [returnDescriptor descriptorType])) { --- 2054,2061 ---- *result = Qt; // script returned an AppleScript result if ((typeUnicodeText == [returnDescriptor descriptorType]) || ! // (typeUTF16ExternalRepresentation ! // == [returnDescriptor descriptorType]) || (typeUTF8Text == [returnDescriptor descriptorType]) || (typeCString == [returnDescriptor descriptorType])) { From unknown Sat Sep 20 15:43:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Reply-To: Adrian Robert , 1151@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Tue, 23 Dec 2008 08:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.123002227223811 (code B ref 1151); Tue, 23 Dec 2008 08:55:04 +0000 Received: (at 1151) by emacsbugs.donarmstrong.com; 23 Dec 2008 08:51:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBN8p8N7023770 for <1151@emacsbugs.donarmstrong.com>; Tue, 23 Dec 2008 00:51:09 -0800 Received: by ewy14 with SMTP id 14so3350793ewy.1 for <1151@emacsbugs.donarmstrong.com>; Tue, 23 Dec 2008 00:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=mX+nO73AkTIsHZqE/OeyBvC/S0+lk4BgMZwarIUp/bc=; b=MT5ZiqB1ZpfZ24zNHUUMKW8xDcl4k1bM5sPb9ruwNEuxt+/rplyaImcmh4Q8BzCRn1 BpVnrifm8kKc2ceLQeO1nwJ4MR/jviw0K/cFUSSV6L2fGA4XUATQ9Ms/lLVnfvJAkoCc BsDHDKKDHCuENGdMFOX/xcvIsyOtj8u6OFggw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=e4YkB15j+CzzFXC3Z6h3C5sofZy7pJwnHMNnv1toXMIecXyIvkrF3nrugzNGLrCYQK PhEMVUJ3HeOC91WyvwwJ6z4G944kGLv06VbF4F/qsZ6I8xRSCcDkXi2gO7QUqIpIn3nn TwuTMI5hFA5PoI0w+khYpqDRDJrTO8Ed9iR/M= Received: by 10.210.35.5 with SMTP id i5mr6955712ebi.174.1230022262397; Tue, 23 Dec 2008 00:51:02 -0800 (PST) Received: from ?192.168.1.109? (h033181.gprs.dnafinland.fi [87.93.33.181]) by mx.google.com with ESMTPS id 23sm673406eya.3.2008.12.23.00.50.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 00:50:49 -0800 (PST) In-Reply-To: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> References: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Cc: 1151@debbugs.gnu.org Content-Transfer-Encoding: quoted-printable From: Adrian Robert Date: Tue, 23 Dec 2008 10:54:20 +0200 To: Alex =?UTF-8?Q?Schr=C3=B6der?= X-Mailer: Apple Mail (2.753.1) On Dec 23, 2008, at 3:31 AM, Alex Schr=F6der wrote: > On Tue, Oct 21, 2008 at 2:42 PM, Adrian Robert > wrote: >> I am interested in having Emacs continue to work under Panther but =20= >> don't >> have access to a test environment myself. Could you try =20 >> commenting out the >> part of the 'if' statement involving =20 >> "typeUTF16ExternalRepresentation" and >> see where that gets you? >> >> If you get it working and send me a list of all places that you =20 >> needed to >> change, I can put in #ifdefs etc. so it will work out of the box. > > Hi Adrian > > Indeed, that does work! Great to hear, I will apply a version of this patch using appropriate =20= #ifdefs soon after the holidays, or feel free to commit one yourself =20 if you have access. thanks, Adrian > This is the only change I made: > > cvs diff: Diffing src > Index: src/nsfns.m > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /sources/emacs/emacs/src/nsfns.m,v > retrieving revision 1.29 > diff -c -r1.29 nsfns.m > *** src/nsfns.m 7 Dec 2008 05:00:56 -0000 1.29 > --- src/nsfns.m 23 Dec 2008 01:27:36 -0000 > *************** > *** 2054,2061 **** > *result =3D Qt; > // script returned an AppleScript result > if ((typeUnicodeText =3D=3D [returnDescriptor descriptorType]) = || > ! (typeUTF16ExternalRepresentation > ! =3D=3D [returnDescriptor descriptorType]) || > (typeUTF8Text =3D=3D [returnDescriptor descriptorType]) || > (typeCString =3D=3D [returnDescriptor descriptorType])) > { > --- 2054,2061 ---- > *result =3D Qt; > // script returned an AppleScript result > if ((typeUnicodeText =3D=3D [returnDescriptor descriptorType]) = || > ! // (typeUTF16ExternalRepresentation > ! // =3D=3D [returnDescriptor descriptorType]) || > (typeUTF8Text =3D=3D [returnDescriptor descriptorType]) || > (typeCString =3D=3D [returnDescriptor descriptorType])) > { From unknown Sat Sep 20 15:43:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Reply-To: "Alex =?UTF-8?Q?Schr=C3=B6der"?= , 1151@debbugs.gnu.org Resent-From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Mon, 29 Dec 2008 11:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.12305487153299 (code B ref 1151); Mon, 29 Dec 2008 11:15:03 +0000 Received: (at 1151) by emacsbugs.donarmstrong.com; 29 Dec 2008 11:05:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBTB5Cul003026 for <1151@emacsbugs.donarmstrong.com>; Mon, 29 Dec 2008 03:05:13 -0800 Received: by yw-out-2324.google.com with SMTP id 3so1467189ywj.31 for <1151@emacsbugs.donarmstrong.com>; Mon, 29 Dec 2008 03:05:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=toP3M1yW7jNwetE38VhbvLTltz04Wb1ibOvA7l3OUEY=; b=Fc0Q6f7U/NodFk9rvsNIiAFJ4xVZD15iw4X0b94D2kldyWq1YpQPwQxTNBKRaqd+Ob BNjhInB06ynzcA3qUn5H9rBbw1pudfOXFCOlC25ZOB16G6ziE5GG1ufksT3xBcrVaEJH WINjbg+oIoVNeNW2+n/oIu9Zqj2WEZTJGCpt4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=X22pxcY0CGE5ARv+RD7eJnqVPRMpuI2/uY+Gdv1YGGLzhP+eyWymvOR3sbKoWYefzD +IFpZkzj8TQq6jHo+MWiLdKubJas93/rn2nAOISq3lzowhumsVv9DbemhgNWPca5y2yh Rm/0sYwwzLJr/gwX/6MKmeSx1eVMjqOLGt7cc= Received: by 10.90.34.11 with SMTP id h11mr6463296agh.54.1230548711684; Mon, 29 Dec 2008 03:05:11 -0800 (PST) Received: by 10.90.49.12 with HTTP; Mon, 29 Dec 2008 03:05:11 -0800 (PST) Message-ID: <9abbd5730812290305u3983f0e1n63eb4e29870efaa7@mail.gmail.com> Date: Mon, 29 Dec 2008 12:05:11 +0100 From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= To: "Adrian Robert" Cc: 1151@debbugs.gnu.org In-Reply-To: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> I've come back to my Mac after a few days and noticed a problem with the patched version. My Mac has a Swiss German keyboard. The keys producing ASCII characters all work. Therefore the layout is correct. But the non-ASCII are wrong: The sequence =E7=E4=F6=FC=E0=E9=E8 results in = =C1=89=88=B8=87=C8=CB, for example. I'm not sure this is related to the patch, because the patch concerns ns_do_applescript=85 Hm... > On Tue, Oct 21, 2008 at 2:42 PM, Adrian Robert wrote: >> commenting out the >> part of the 'if' statement involving "typeUTF16ExternalRepresentation" a= nd >> see where that gets you? From unknown Sat Sep 20 15:43:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Reply-To: "Alex =?UTF-8?Q?Schr=C3=B6der"?= , 1151@debbugs.gnu.org Resent-From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Mon, 29 Dec 2008 13:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.123055538031810 (code B ref 1151); Mon, 29 Dec 2008 13:05:05 +0000 Received: (at 1151) by emacsbugs.donarmstrong.com; 29 Dec 2008 12:56:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.186]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBTCuG6v031804 for <1151@emacsbugs.donarmstrong.com>; Mon, 29 Dec 2008 04:56:18 -0800 Received: by rn-out-0910.google.com with SMTP id j66so3461780rne.20 for <1151@emacsbugs.donarmstrong.com>; Mon, 29 Dec 2008 04:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Ot0iYKV1BDBiUL4qcRPV6fT13MXqVavYSPHK4rs7ib0=; b=vmGT8CJ2cBcdLLmJ4FcoEoqXvM8S9fOecabv0hR/QgCqIhqtWwzpt8U4Dt+aNkQWf1 0AMOgF2t/88kgNa/ALvJRv2uWWblqlv2vDaA28bgWGbgUlE4bIwPvY2XGuuEQCYXTTaC v1bjZJMxebJxAjYOqqdzCtuftZ4m3hh+MkhIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=c2Ktteozq682XIfGIZG4mx1rLAGcLm3h6f9QN+2hio4dzvC9yncJkGmNWvnhbF4phP AGnm4D/uaDGvA9KqAfo3lLp8fkWKH8hRg7GYy2aesUcmbTUF5dWa5HMQeMPOtm91Q8ZI ADdb5qtwVi8HyDgPf5GrlDElgAvxHg786eYeQ= Received: by 10.90.88.17 with SMTP id l17mr6494799agb.84.1230555376517; Mon, 29 Dec 2008 04:56:16 -0800 (PST) Received: by 10.90.49.12 with HTTP; Mon, 29 Dec 2008 04:56:16 -0800 (PST) Message-ID: <9abbd5730812290456m3dea4755hf838511e33600bf5@mail.gmail.com> Date: Mon, 29 Dec 2008 13:56:16 +0100 From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= To: "Adrian Robert" Cc: 1151@debbugs.gnu.org In-Reply-To: <9abbd5730812290305u3983f0e1n63eb4e29870efaa7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> <9abbd5730812290305u3983f0e1n63eb4e29870efaa7@mail.gmail.com> More info on the strange mapping for =E4=F6=FC and related non-ASCII characters. When I use C-h k =E4 I get the following information: =89 (translated from =E4) runs the command self-insert-command, which is an interactive built-in function in `C source code'. So Emacs does at some point in time recognize the =E4. On Mon, Dec 29, 2008 at 12:05 PM, Alex Schr=F6der wro= te: > I've come back to my Mac after a few days and noticed a problem with > the patched version. My Mac has a Swiss German keyboard. The keys > producing ASCII characters all work. Therefore the layout is correct. > But the non-ASCII are wrong: The sequence =E7=E4=F6=FC=E0=E9=E8 results i= n =C1=89=88=B8=87=C8=CB, > for example. > > I'm not sure this is related to the patch, because the patch concerns > ns_do_applescript=85 Hm... From unknown Sat Sep 20 15:43:27 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Reply-To: "Alex =?UTF-8?Q?Schr=C3=B6der"?= , 1151@debbugs.gnu.org Resent-From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Tue, 30 Dec 2008 00:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1151 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1151-submit@emacsbugs.donarmstrong.com id=B1151.123059567712505 (code B ref 1151); Tue, 30 Dec 2008 00:15:03 +0000 Received: (at 1151) by emacsbugs.donarmstrong.com; 30 Dec 2008 00:07:57 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.188]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBU07sa3012499 for <1151@emacsbugs.donarmstrong.com>; Mon, 29 Dec 2008 16:07:55 -0800 Received: by rn-out-0910.google.com with SMTP id j66so3613900rne.20 for <1151@emacsbugs.donarmstrong.com>; Mon, 29 Dec 2008 16:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HuwbNcjHyxSkDeclM+x/bCZn5NNKmiSwocicf98XzL0=; b=l+O0g6WakEJzR1JEe4TqBSg8sFtMax08dqbiI+HSGHsGGBOe/Xzmz7N5wUVkFDgyzy V3sHinJqBc/mJITZUj76GPOrii44EsM89quMqJuwt75HD5hWgQZmE4YBpN29vtLb6WhA /5oBiRy7mh9KYfDAW9qZbMuZ5HePccUD/C9p8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HbasRfRbHx+4ltmOykcROe3gg+ht1H96rJWCcDnnDQ6P7BVUcgGon2JjFdysx7/vgE rqa7AQRob5u9OJToYGYZh7+/QrCaBU/GneLGP4sTNdrvsMvz/7mSkRXA4fZfglYjWLM4 250OAFGLmSj5hMea95Dwp+/dlVv7dYv1Sb8m4= Received: by 10.90.104.20 with SMTP id b20mr6776043agc.109.1230595673200; Mon, 29 Dec 2008 16:07:53 -0800 (PST) Received: by 10.90.49.12 with HTTP; Mon, 29 Dec 2008 16:07:53 -0800 (PST) Message-ID: <9abbd5730812291607y1880499chb0e447b2d5ceb44c@mail.gmail.com> Date: Tue, 30 Dec 2008 01:07:53 +0100 From: "Alex =?UTF-8?Q?Schr=C3=B6der"?= To: "Adrian Robert" Cc: 1151@debbugs.gnu.org In-Reply-To: <9abbd5730812290456m3dea4755hf838511e33600bf5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9abbd5730812221731qb37a78aq95a54b3363a3d099@mail.gmail.com> <9abbd5730812290305u3983f0e1n63eb4e29870efaa7@mail.gmail.com> <9abbd5730812290456m3dea4755hf838511e33600bf5@mail.gmail.com> I was able to reproduce this bug on my unpatched Emacs running on Mac OS 10.4 so I will open a new bug. On Mon, Dec 29, 2008 at 1:56 PM, Alex Schr=F6der wrot= e: > More info on the strange mapping for =E4=F6=FC and related non-ASCII > characters. When I use C-h k =E4 I get the following information: > > =89 (translated from =E4) runs the command self-insert-command, which is > an interactive built-in function in `C source code'. > > So Emacs does at some point in time recognize the =E4. From adrian.b.robert@gmail.com Thu Jan 22 12:18:56 2009 Received: (at control) by emacsbugs.donarmstrong.com; 22 Jan 2009 20:18:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0MKIqSs025854 for ; Thu, 22 Jan 2009 12:18:54 -0800 Received: by ewy3 with SMTP id 3so4194236ewy.1 for ; Thu, 22 Jan 2009 12:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=J3SBPGw0k9dEEBh3iCldJ/b/Ew04LVjcqj7LIzrPYGQ=; b=lBtkOe/yKEb0SsqJ+1ldV+juaecnic3QasXbi3EpwrKmW7CvLtqEhzD3HncFDEXc1q cJfw3hzPhgF4OOI2KUmbCRhtkimHXw2LFnwNEvMY6Rp2qeDpRJJEC+PsOzH35YGMiV6o hkChbMjF2JhL/AZySI4KvbBTRQyF++4A83ZG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=D2lP/f4tOzX7E+I1RRpFCZDqicOhEgKjDx0mwCHkk2kkodaEaT7/U3DsAmox+DJ2x6 VBzEzhWMVtouw/PiTAAaBdyYhWKfjPj/cJRa/tBNEiyudWJ246rSvfEtS21IY4Nwfmde kETx5myUVQ5Vg7/8Dh0hQuUuD//26S8cAVq7M= Received: by 10.210.65.17 with SMTP id n17mr336080eba.112.1232655525763; Thu, 22 Jan 2009 12:18:45 -0800 (PST) Received: from ?192.168.1.101? (h054023.gprs.dnafinland.fi [87.93.54.23]) by mx.google.com with ESMTPS id 5sm2704525eyh.58.2009.01.22.12.18.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jan 2009 12:18:44 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <61801AEF-10BC-499D-B76E-62BB72D5B571@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: control@debbugs.gnu.org From: Adrian Robert Subject: Date: Thu, 22 Jan 2009 22:18:45 +0200 X-Mailer: Apple Mail (2.753.1) reassign 1555 ns close 574 close 593 close 824 close 1576 close 1217 close 1171 close 1151 quit