From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.help Subject: Re: Mac terminal.app: starting emacs, possibly as sudo Date: Mon, 17 Oct 2011 11:13:09 +0200 Message-ID: References: <300A41B7-78F8-422C-BF95-6FFEF947E79A@math.ethz.ch> <18107B2C-4BE2-40D9-90C5-02BCD0CF0DEF@Web.DE> <9C6F07E1-F15F-444D-B7D3-72C431393461@math.ethz.ch> <87pqhwt51v.fsf@gmx.de> <87liskt3uu.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1318842813 9296 80.91.229.12 (17 Oct 2011 09:13:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2011 09:13:33 +0000 (UTC) Cc: Emacs help To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 11:13:29 2011 Return-path: Envelope-to: geh-help-gnu-emacs@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 1RFjGB-00026K-E2 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 11:13:27 +0200 Original-Received: from localhost ([::1]:60718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFjG5-0008Rn-NN for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 05:13:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFjFx-0008Rg-Ub for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 05:13:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFjFw-0001E9-LR for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 05:13:13 -0400 Original-Received: from edge20.ethz.ch ([82.130.99.26]:44516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFjFw-00016j-Cs for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 05:13:12 -0400 Original-Received: from CAS21.d.ethz.ch (172.31.51.111) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 17 Oct 2011 11:13:07 +0200 Original-Received: from [192.168.1.221] (129.132.146.66) by CAS21.d.ethz.ch (172.31.51.111) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 17 Oct 2011 11:13:09 +0200 In-Reply-To: <87liskt3uu.fsf@gmx.de> X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [129.132.146.66] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.99.26 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82588 Archived-At: okay, I tried: cd /usr/bin sudo mv ./emacs ./emacs.old # move pre-installed emacs sudo ln -s /Applications/Emacs.app/Contents/MacOS/emacs emacs Starting "emacs" from a new terminal then opened emacs, but ended up in = a mess: localhost:~ mhofert$ emacs Warning: arch-dependent data dir = (/Users/david/src/emacs-dev/ftp-versions/emacs-23.3/nextstep/Emacs.app/Con= tents/MacOS/libexec/emacs/23.3/x86_64-apple-darwin/) does not exist. Warning: arch-independent data dir = (/Users/david/src/emacs-dev/ftp-versions/emacs-23.3/nextstep/Emacs.app/Con= tents/Resources/share/emacs/23.3/etc/) does not exist. Error: charsets directory = (/Users/david/src/emacs-dev/ftp-versions/emacs-23.3/nextstep/Emacs.app/Con= tents/Resources/share/emacs/23.3/etc/charsets) does not exist. Emacs will not function correctly without the character map files. Please check your installation! Warning: Could not find simple.el nor simple.elc Any ideas? /Applications/Emacs.app/Contents/MacOS/emacs works fine, though. Cheers, Marius On 2011-10-17, at 10:32 , Michael Albinus wrote: > Marius Hofert writes: >=20 >> Dear Michael, >=20 > Hi Marius, >=20 >> 2) Concerning my last question: Is there any harm in "replacing" >> /usr/bin/emacs by /Applications/Emacs.app/Contents/MacOS/Emacs? This >> way one can easily use "sudo emacs" or "emacs -Q"... and start the = GUI >> emacs with these features. >=20 > No idea, I do not use Mac. >=20 >> Cheers, >>=20 >> Marius >=20 > Best regards, Michael.