all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: notbob <notbob@nothome.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp su from dired
Date: Tue, 26 May 2009 21:37:22 +0200	[thread overview]
Message-ID: <873aary7t9.fsf@gmx.de> (raw)
In-Reply-To: <slrnh1h0ls.3vq.notbob@bb.nothome.com> (notbob@nothome.com's message of "Sat, 23 May 2009 23:11:56 GMT")

notbob <notbob@nothome.com> writes:

> As a novice emacs fan, I'm learning by using emacs primarily as a file mgr
> and file editor.  I often need to edit a root file as a user and have
> usually just opened up a new session of emacs as root, but would like to
> utilize the tramp mode.  I've been able to edit a root file from via tramp
> when not in dired mode, but when using e (edit) or C-x C-f in dired and then
> specifying a file -- /su::/dir/foo -- I end up opening a new foo file
> instead of the existing foo file I specified.  
>
> Is it possible to do su from dired or should I just open up a non-dired
> window?  If so, how?  (told you I was a noob)  ;)

If you open dired with "file" name /su::/dir you have the remote
directory listing for navigating like for local directories. Just
clicking on the file foo shall open that file.

> nb

Best regeads, Michael.




      parent reply	other threads:[~2009-05-26 19:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 23:11 Tramp su from dired notbob
2009-05-24  2:03 ` Tim X
2009-05-26 16:12   ` Peter FELECAN
2009-05-26 18:59     ` notbob
2009-05-26 19:00       ` notbob
2009-05-29 12:23       ` Peter FELECAN
2009-05-26 19:37 ` Michael Albinus [this message]

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=873aary7t9.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=notbob@nothome.com \
    /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.