[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac terminal.app: starting emacs, possibly as sudo
From: |
Marius Hofert |
Subject: |
Re: Mac terminal.app: starting emacs, possibly as sudo |
Date: |
Mon, 17 Oct 2011 22:52:53 +0200 |
Dear Perry, Dear Peter,
thanks for your detailed explanations.
I finally used put in "export
PATH=/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:
>
> Am 17.10.2011 um 09:37 schrieb Marius Hofert:
>
>> 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.
>
> I wouldn't try to destroy the system. (But you're not me!)
>
> --
> Greetings
>
> Pete 0
> %-/\_//
> (*)(*)
>
- Mac terminal.app: starting emacs, possibly as sudo, Marius Hofert, 2011/10/16
- Re: Mac terminal.app: starting emacs, possibly as sudo, Perry Smith, 2011/10/16
- Re: Mac terminal.app: starting emacs, possibly as sudo, Marius Hofert, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Peter Dyballa, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Perry Smith, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Peter Dyballa, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo,
Marius Hofert <=
- Re: Mac terminal.app: starting emacs, possibly as sudo, Peter Dyballa, 2011/10/16
- Re: Mac terminal.app: starting emacs, possibly as sudo, Marius Hofert, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Michael Albinus, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Marius Hofert, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Michael Albinus, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Marius Hofert, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Peter Dyballa, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Perry Smith, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Peter Dyballa, 2011/10/17
- Re: Mac terminal.app: starting emacs, possibly as sudo, Peter Dyballa, 2011/10/17