all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "foo@bar.baz" <Simon.Me@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs idiom for sudo
Date: 22 May 2007 07:25:16 -0700	[thread overview]
Message-ID: <1179843916.583993.14130@x35g2000prf.googlegroups.com> (raw)
In-Reply-To: <87abvxdzwk.fsf@lion.rapttech.com.au>

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	other threads:[~2007-05-22 14:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.880.1179633671.32220.help-gnu-emacs@gnu.org>
2007-05-20  5:58 ` emacs idiom for sudo Tim X
2007-05-22  4:18   ` Amy Templeton
     [not found]   ` <mailman.947.1179807172.32220.help-gnu-emacs@gnu.org>
2007-05-22  8:29     ` Tim X
2007-05-22 14:25       ` foo@bar.baz [this message]
2007-05-22 17:11         ` Peter Dyballa
2007-05-22 21:45         ` Xavier Maillard
2007-05-23  4:13         ` Tim X
2007-05-22 20:45       ` Michael Albinus
     [not found]       ` <mailman.1025.1179866756.32220.help-gnu-emacs@gnu.org>
2007-05-23  4:18         ` Tim X
2007-05-22 22:53     ` David Kastrup
2007-05-23 10:33       ` reader
2007-05-23 12:02         ` Peter Dyballa
2007-05-20  4:01 Rustom Mody
2007-05-20  5:19 ` Eric Hanchrow
2007-05-21 12:07   ` Rustom Mody
2007-05-22  2:38   ` Matthew Flaschen
2007-05-22  4:38 ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1179843916.583993.14130@x35g2000prf.googlegroups.com \
    --to=simon.me@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.