From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Tramp su from dired Date: Tue, 26 May 2009 21:37:22 +0200 Message-ID: <873aary7t9.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243366683 28934 80.91.229.12 (26 May 2009 19:38:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 19:38:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: notbob Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 26 21:38:01 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M92TI-0006hf-M2 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 21:38:00 +0200 Original-Received: from localhost ([127.0.0.1]:54864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M92TI-0007Ow-6D for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 15:38:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M92Su-0007MY-NX for help-gnu-emacs@gnu.org; Tue, 26 May 2009 15:37:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M92Sq-0007Iz-8m for help-gnu-emacs@gnu.org; Tue, 26 May 2009 15:37:36 -0400 Original-Received: from [199.232.76.173] (port=55019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M92Sq-0007Ik-0g for help-gnu-emacs@gnu.org; Tue, 26 May 2009 15:37:32 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:37319) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M92Sp-0002Ez-Fj for help-gnu-emacs@gnu.org; Tue, 26 May 2009 15:37:31 -0400 Original-Received: (qmail invoked by alias); 26 May 2009 19:37:27 -0000 Original-Received: from brln-4db97343.pool.einsundeins.de (EHLO arthur.local) [77.185.115.67] by mail.gmx.net (mp069) with SMTP; 26 May 2009 21:37:27 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19B+GQRgk5B/Mq0ramz1xdQYQv6181vrJRwcmjf2i 2XI8lVC0+W2PhH In-Reply-To: (notbob@nothome.com's message of "Sat, 23 May 2009 23:11:56 GMT") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64736 Archived-At: notbob 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.