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 03:58: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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1249156805 13400 80.91.229.12 (1 Aug 2009 20:00:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 20:00:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 01 21:59:58 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 1MXKkE-0003hG-MW for ged-emacs-devel@m.gmane.org; Sat, 01 Aug 2009 21:59:55 +0200 Original-Received: from localhost ([127.0.0.1]:59248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXKkE-000707-A9 for ged-emacs-devel@m.gmane.org; Sat, 01 Aug 2009 15:59:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXKk9-0006x8-5Y for emacs-devel@gnu.org; Sat, 01 Aug 2009 15:59:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXKk4-0006rx-8a for emacs-devel@gnu.org; Sat, 01 Aug 2009 15:59:48 -0400 Original-Received: from [199.232.76.173] (port=55685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXKk4-0006rl-2e for emacs-devel@gnu.org; Sat, 01 Aug 2009 15:59:44 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:43169 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXKk3-0006Wt-EF for emacs-devel@gnu.org; Sat, 01 Aug 2009 15:59:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MXKjy-0007pF-Uq for emacs-devel@gnu.org; Sat, 01 Aug 2009 19:59:38 +0000 Original-Received: from 121.229.214.10 ([121.229.214.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Aug 2009 19:59:38 +0000 Original-Received: from chenggao by 121.229.214.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Aug 2009 19:59:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 121.229.214.10 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:WfBsVCrniGkBITXmnVpFu1W0J7U= 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:113529 Archived-At: A solution is to install a command line only version of Emacs 23.1 to repalce 22.1.1 in MacOSX. The plan I have is to 1. Install a command line only version to /usr/local 2. Install Cocoa port building with: ./configure --with-ns --disable-ns-self-contained This way /usr/local/share/emacs/site-lisp can be used by two installations. It's useful when installing some Emacs packages. Without a command line Emacs 23, Emacs 22 in /usr/bin is often choosen if you forget to use: ./configre --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs That can mean a lot of trouble. I have not installed command line version yet, but I plan to. BTW, I have a question. 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? Please pay attention to size of three files. My build of Emacs 23.1 has: ,---- | -rwxr-xr-x 2 chenggao staff 8916252 8 2 03:51 emacs | -rwxr-xr-x 2 chenggao staff 8916252 7 31 15:31 emacs-23.1.1 | -rwxr-xr-x 2 chenggao staff 8916252 8 2 03:51 emacs-23.1.2 `---- emacs-23.1.2 is made with ,---- | temacs -batch -l loadup dump `---- while I try to dump emacs (since I think original build is undumped). So this means while installing, emacs is dumped. Where is the undumped emacs? -- Homo sum, humani being nil a me alienum puto