[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp su from dired
From: |
Michael Albinus |
Subject: |
Re: Tramp su from dired |
Date: |
Tue, 26 May 2009 21:37:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
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.