From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#13900: 24.3.50; tramp mode for for /su: and /sudo: on localhost Date: Sat, 09 Mar 2013 12:34:15 +0100 Message-ID: <87d2v8g62w.fsf@gmx.de> References: <87k3pi94xi.fsf@debian.i-did-not-set--mail-host-address--so-tickle-me> <87a9qe72ls.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362828933 6218 80.91.229.3 (9 Mar 2013 11:35:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Mar 2013 11:35:33 +0000 (UTC) Cc: 13900@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 09 12:35:57 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UEI4C-0004Xv-BD for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Mar 2013 12:35:56 +0100 Original-Received: from localhost ([::1]:50885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEI3q-0000vI-E5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Mar 2013 06:35:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEI3g-0000v5-R2 for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 06:35:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEI3c-0004sz-1N for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 06:35:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEI3b-0004sm-U4 for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 06:35:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UEI4H-0006BD-Vk for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 06:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2013 11:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13900 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 13900-submit@debbugs.gnu.org id=B13900.136282891523698 (code B ref 13900); Sat, 09 Mar 2013 11:36:01 +0000 Original-Received: (at 13900) by debbugs.gnu.org; 9 Mar 2013 11:35:15 +0000 Original-Received: from localhost ([127.0.0.1]:41014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEI3W-0006AA-Es for submit@debbugs.gnu.org; Sat, 09 Mar 2013 06:35:15 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:50337) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEI3T-00069x-SL for 13900@debbugs.gnu.org; Sat, 09 Mar 2013 06:35:12 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.29]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MFfRr-1U1vh53oIf-00EdEy for <13900@debbugs.gnu.org>; Sat, 09 Mar 2013 12:34:22 +0100 Original-Received: (qmail invoked by alias); 09 Mar 2013 11:34:22 -0000 Original-Received: from p57BB81BE.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.129.190] by mail.gmx.net (mp029) with SMTP; 09 Mar 2013 12:34:22 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19MIGI1tRFMRE9+TBuZMp3YMwSavemgeT5Y2PO0vE ywPlbrAikjTOdC In-Reply-To: (Stefan Monnier's message of "Fri, 08 Mar 2013 21:10:18 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72270 Archived-At: Stefan Monnier writes: > BTW, could you try and make TAB on such a file name "expand" to > "/ssh:sudo:..." so as to clarify what's going on? > IOW, demote the "/:" syntax such that it is expanded to the > corresponding "/::" form as early as possible (and as > visibly as possible)? `expand-file-name' does it already: (expand-file-name "/sudo:/home/jason/somefile") => "/scp:sudo:/home/jason/somefile" So maybe we could add `expand-file-name' somewhere in the minibuffer completion remote file names? Sorry, I'm not so familiar with pcomplete and friends. > Also, if is the name of an existing method, the behavior should > be to treat it as a method name, rather than a host name (i.e. force > the user to type "/ssh:sudo:" if she wants to connect to the "sudo" > host). I thought of this already a while ago. The major problem might be "ftp". Old ange-ftp users who are not interested in Tramp at all will kill me, when they are forced to type "/ftp:ftp:". > Stefan Best regards, Michael.