From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: emacsclient 22 and 23 incompatibility Date: Sun, 02 Aug 2009 14:52:53 +0800 Organization: cyberhut.org Message-ID: References: <40968C64-648B-4601-89EB-6197D65E5020@gmail.com> <87d47fby7n.fsf@lola.goethe.zz> <85545288-C7CC-49A9-8782-483C801D635F@gmail.com> <7EDB7632-9A74-420D-AA98-48931020D382@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1249199034 21879 80.91.229.12 (2 Aug 2009 07:43:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 07:43:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 02 09:43:47 2009 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 1MXVjO-00079e-Mb for ged-emacs-devel@m.gmane.org; Sun, 02 Aug 2009 09:43:46 +0200 Original-Received: from localhost ([127.0.0.1]:42531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXVjO-0001xM-3O for ged-emacs-devel@m.gmane.org; Sun, 02 Aug 2009 03:43:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXVjH-0001vG-68 for emacs-devel@gnu.org; Sun, 02 Aug 2009 03:43:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXVjB-0001v4-78 for emacs-devel@gnu.org; Sun, 02 Aug 2009 03:43:37 -0400 Original-Received: from [199.232.76.173] (port=59318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXVjB-0001v1-48 for emacs-devel@gnu.org; Sun, 02 Aug 2009 03:43:33 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:51597) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXVjA-0002c8-Im for emacs-devel@gnu.org; Sun, 02 Aug 2009 03:43:32 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXVj8-0001Zw-QF for emacs-devel@gnu.org; Sun, 02 Aug 2009 03:43:31 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MXVj4-0003Cv-Ol for emacs-devel@gnu.org; Sun, 02 Aug 2009 07:43:26 +0000 Original-Received: from 58.217.140.5 ([58.217.140.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 07:43:26 +0000 Original-Received: from chenggao by 58.217.140.5 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 07:43:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 58.217.140.5 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:WRo+58opzdzTte32eEnkF/ISIDU= X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:113539 Archived-At: *On Sat, 1 Aug 2009 18:18:56 -0400 * Also sprach Ken Raeburn : > On Aug 1, 2009, at 15:58, CHENG Gao wrote: >> Apple's original installation of emacs 22 has (in /usr/bin): >> >> ,---- >> | -r-xr-xr-x 1 root wheel 38544 2 6 2008 emacs >> | -rwxr-xr-x 1 root wheel 13072480 12 17 2008 emacs-i386 >> | -rwxr-xr-x 1 root wheel 5301856 11 25 2008 emacs-undumped >> `---- >> Does this mean: >> the first emacs is dumped? How could it be so small? > > % strings emacs > /usr/libexec/dumpemacs > Failed to dump emacs > /usr/bin/emacs-i386 > execv(%s) failed > [...] > > So I'm thinking Apple's "emacs" program doesn't come out of the normal > GNU Emacs build process (or sources) at all, but does its own thing, > which may involved dumping after installation. If the dumped version > is available as emacs-i386, then Apple's "emacs" will run it. (If you > fire up emacs and run "ps", you'll see the process listed as "emacs", > but if you run "lsof" on it, you'll see the text image comes from > emacs-i386.) > > % file emacs-undumped emacs-i386 > emacs-undumped: Mach-O universal binary with 2 architectures > emacs-undumped (for architecture i386): Mach-O executable i386 > emacs-undumped (for architecture ppc7400): Mach-O executable ppc > emacs-i386: Mach-O executable i386 > % > > So "emacs-undumped" is probably a "universal" binary version of src/ > temacs, which normally would never be installed, and "emacs-i386" is > probably the dumped version, with only the native architecture > support. Though, how it could still be so much larger than both the > pre-dumped version (divided roughly in half, remember, for the i386 > portion only) and the emacs-23 binaries you built, I don't know. > > Ken Thank you very much for your explanation. -- The truth which makes men free is for the most part the truth which men prefer not to hear.