help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac terminal.app: starting emacs, possibly as sudo


From: Marius Hofert
Subject: Mac terminal.app: starting emacs, possibly as sudo
Date: Mon, 17 Oct 2011 00:26:17 +0200

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. 
1) How can I have the new emacs version opened when typing "emacs" in the 
terminal? 
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). 

Cheers,

Marius


reply via email to

[Prev in Thread] Current Thread [Next in Thread]