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: Mac terminal.app: starting emacs, possibly as sudo Date: Mon, 17 Oct 2011 00:26:17 +0200 Message-ID: <300A41B7-78F8-422C-BF95-6FFEF947E79A@math.ethz.ch> 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 1318803989 26860 80.91.229.12 (16 Oct 2011 22:26:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2011 22:26:29 +0000 (UTC) To: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 00:26:26 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 1RFZA1-0003pc-QR for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 00:26:25 +0200 Original-Received: from localhost ([::1]:34286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFZA0-0005fw-U3 for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Oct 2011 18:26:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFZ9x-0005fr-Bu for help-gnu-emacs@gnu.org; Sun, 16 Oct 2011 18:26:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFZ9w-0003Ci-HL for help-gnu-emacs@gnu.org; Sun, 16 Oct 2011 18:26:21 -0400 Original-Received: from edge20.ethz.ch ([82.130.99.26]:18048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFZ9w-0003CX-97 for help-gnu-emacs@gnu.org; Sun, 16 Oct 2011 18:26:20 -0400 Original-Received: from CAS22.d.ethz.ch (172.31.51.112) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 17 Oct 2011 00:26:16 +0200 Original-Received: from 80-218-246-245.dclient.hispeed.ch (80.218.246.245) by CAS22.d.ethz.ch (172.31.51.112) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 17 Oct 2011 00:26:18 +0200 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.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:82580 Archived-At: Hi, If I start "emacs" from the Mac terminal (Terminal.app), I get a rather = old GNU Emacs 22.1.1 (/usr/bin/emacs) instead of the wonderful new GNU = Emacs 23.3 I installed.=20 1) How can I have the new emacs version opened when typing "emacs" in = the terminal?=20 2) Is it possible to start emacs in "sudo mode", so starting emacs via = "sudo emacs" in the terminal (and then being root when opening a shell = from within emacs)? I know I can have 1) by typing "open -a Emacs.app", but that does not = allow 2).=20 Cheers, Marius=