all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 13900@debbugs.gnu.org
Subject: bug#13900: 24.3.50; tramp mode for for /su: and /sudo: on localhost
Date: Fri, 08 Mar 2013 21:10:18 -0500	[thread overview]
Message-ID: <jwv8v5x72e1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87a9qe72ls.fsf@gmx.de> (Michael Albinus's message of "Fri, 08 Mar 2013 08:49:35 +0100")

>> then C-x C-f /sudo:/home/jason/somefile
> This is a wrong syntax. You try to connect the host "sudo" with scp.

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 "/<host>:" syntax such that it is expanded to the
corresponding "/<method>:<host>:" form as early as possible (and as
visibly as possible)?

Also, if <host> 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).


        Stefan





  reply	other threads:[~2013-03-09  2:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 23:16 bug#13900: 24.3.50; tramp mode for for /su: and /sudo: on localhost Jason
2013-03-08  7:49 ` Michael Albinus
2013-03-09  2:10   ` Stefan Monnier [this message]
2013-03-09 11:34     ` Michael Albinus
2013-03-09 13:42       ` Stefan Monnier
2013-03-09 15:47         ` Michael Albinus
2013-03-18 13:09           ` Michael Albinus

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=jwv8v5x72e1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=13900@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.