unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Peter Dyballa <Peter_Dyballa@freenet.de>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; TRAMP does not pass regime
Date: Sat, 15 Mar 2008 10:59:06 +0100	[thread overview]
Message-ID: <877ig42tqt.fsf@gmx.de> (raw)
In-Reply-To: <EC1DF778-446D-45A8-958B-C2C6913A37B3@freenet.de> (Peter Dyballa's message of "Fri, 14 Mar 2008 17:57:53 +0100")

Peter Dyballa <Peter_Dyballa@freenet.de> writes:

> Hello!

Hi,

> When I'm in a dired buffer fed via TRAMP from a remote server and I
> type: 'C-x d /pat TAB' (leading to a path name construct in mini- 
> buffer of ``/ssh:root@tisnam.tisdom.de:/var/log//patŽŽ with the part
> until // in invalidating grey instead of usual black as soon as GNU
> Emacs sees the two slashes) TRAMP does not understand that the
> leading slash introduces a new (and particularly local) absolute path
> (adding as another try /ssh:root@tisnam.tisdom.de:/var/log/apache2 to
> the previous remote path pattern, makes TRAMP look for something  like
> /ssh:root@tisnam.tisdom.de:/ssh:root@tisnam.tisdom.de:/var/log/
> apache2, it does an ls of /ssh:root@tisnam.tisdom.de:/var/log/apache2
> on the remote server). It tries to expand the path name with // on
> the remote server and does not seem to be able to finish/time-out
> this nonsense – or I was not patient enough.

That is a feature. See (info "(tramp)Filename completion")

"This works pretty much like for files on the local host, with the
 exception that minibuffer killing via a double-slash works only on the
 filename part, except that filename part starts with `//'.  A
 triple-slash stands for the default behaviour."

The idea behind is, that it is more likely to open another file on the
remote host, than to open a file from somwhere else.

The greyed part of the filename tries to show this visually.

Best regards, Michael.




  reply	other threads:[~2008-03-15  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 16:57 23.0.60; TRAMP does not pass regime Peter Dyballa
2008-03-15  9:59 ` Michael Albinus [this message]
2008-03-15 10:12   ` Peter Dyballa
2008-03-15 10:22     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ig42tqt.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=Peter_Dyballa@freenet.de \
    --cc=emacs-pretest-bug@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).