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

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

Re: emacs idiom for sudo


From: Matthew Flaschen
Subject: Re: emacs idiom for sudo
Date: Mon, 21 May 2007 22:38:00 -0400
User-agent: Thunderbird 1.5.0.10 (X11/20070306)

Eric Hanchrow wrote:
>     Is there a more convenient way for doing 'root-things' than
>     -- get out of emacs (maybe suspend)
>     -- start a shell
>     -- sudo editor (usually vi) OR su ... password... editor
> 
> Indeed there is -- use "tramp", by doing, e.g.,
> 
>         C-x C-f /sudo::/etc/passwd RET

Thanks!  A little hackish, but it works.

Matt Flaschen




reply via email to

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