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 22:52:53 +0200 Message-ID: References: <300A41B7-78F8-422C-BF95-6FFEF947E79A@math.ethz.ch> <89DBA1D1-7959-4B78-8EC1-32662BBA5175@gmail.com> <2A8D16D2-FF92-448E-8D5E-409F3FC3E26C@math.ethz.ch> <69806797-7F86-4704-8BC1-0A3B27B4ABBA@Web.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 1318884794 30494 80.91.229.12 (17 Oct 2011 20:53:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2011 20:53:14 +0000 (UTC) Cc: Emacs help To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 22:53:09 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 1RFuBE-0005ix-VC for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 22:53:05 +0200 Original-Received: from localhost ([::1]:55712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFuBE-0007xu-Ih for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 16:53:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFuB9-0007xe-L1 for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 16:53:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFuB7-0001Tm-N6 for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 16:52:59 -0400 Original-Received: from edge10.ethz.ch ([82.130.75.186]:39850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFuB7-0001TG-H7 for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 16:52:57 -0400 Original-Received: from CAS11.d.ethz.ch (172.31.38.211) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 17 Oct 2011 22:52:51 +0200 Original-Received: from 80-218-246-245.dclient.hispeed.ch (80.218.246.245) by CAS11.d.ethz.ch (172.31.38.211) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 17 Oct 2011 22:52:54 +0200 In-Reply-To: <69806797-7F86-4704-8BC1-0A3B27B4ABBA@Web.DE> X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [80.218.246.245] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.75.186 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:82604 Archived-At: Dear Perry, Dear Peter, thanks for your detailed explanations.=20 I finally used put in "export = PATH=3D/Applications/Emacs.app/Contents/MacOS/:$PATH" in ~/.profile, so = now I can call "emacs" from within the terminal (e.g., via sudo) and get = the desired result. Cheers, Marius PS: In the meantime, I also found a similar question/problem here: = http://superuser.com/questions/199570/warnings-errors-with-emacs-cocoa-23-= 2-on-osx-terminal On 2011-10-17, at 12:36 , Peter Dyballa wrote: >=20 > Am 17.10.2011 um 09:37 schrieb Marius Hofert: >=20 >> Oh, and something else: Instead of adding = /Applications/Emacs.app/Contents/MacOS/bin/emacs to PATH (before = /usr/bin), can't one just remove /usr/bin/emacs and create a link to = /Applications/Emacs.app/Contents/MacOS/bin/emacs? >> There are also emacs-undumped and emacsclient in /usr/bin, not sure = what they are for, though. >=20 > I wouldn't try to destroy the system. (But you're not me!) >=20 > -- > Greetings >=20 > Pete 0 > %-/\_// > (*)(*) >=20