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: address@hidden
Subject: Re: emacs idiom for sudo
Date: 22 May 2007 07:25:16 -0700
User-agent: G2/1.0

On May 22, 10:29 am, Tim X <t...@nospam.dev.null> wrote:
> You may be able to do something with emacsclient, but you woul dstill need an
> emacs running somewhere as the user you want th e code to run as.
>
> Probably more of a hassle than its worth - but that depends on your
> environment/needs I guess.

I often use emacsclient to edit files from the terminal. With files
that I have to edit as root I have to switch to emacs, start tramp,
find the file...
Is it possible to use emacsclient with sudo?

I tried 'sudo emacsclient file', but this didn't work.



reply via email to

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