unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: emacs-devel@gnu.org
Subject: Re: Tramp Trips
Date: Wed, 07 Aug 2002 12:34:23 +0200	[thread overview]
Message-ID: <vafk7n3ufdc.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <20020806.113110.60849126.Takaaki.Ota@am.sony.com> (Tak Ota's message of "Tue, 06 Aug 2002 11:31:10 -0700 (PDT)")

Tak Ota <Takaaki.Ota@am.sony.com> writes:

> I thought the tramp takes care of ange-ftp path name.  Why does it
> complain about the name "/ota@xenon:~/"?
>
> I am using the CVS head updated on Aug. 6th.
>
> -Tak
>
> Debugger entered--Lisp error: (error "Not a tramp file name: /ota@xenon:~/")
>   signal(error ("Not a tramp file name: /ota@xenon:~/"))
>   error("Not a tramp file name: %s" "/ota@xenon:~/")

What's tramp-file-name-structure when this happens?  It should be:

/----
| tramp-file-name-structure's value is 
| ("\\`/\\(\\([a-zA-Z0-9-]+\\):\\)?\\(\\([^:@/]+\\)@\\)?\\([^:/]+\\):\\(.*\\)\\'" 2 4 5 6)
| 
| 
| *List of five elements (REGEXP METHOD USER HOST FILE), detailing the tramp file name structure.
| 
| The first element REGEXP is a regular expression matching a tramp file
| name.  The regex should contain parentheses around the method name,
| the user name, the host name, and the file name parts.
| 
| The second element METHOD is a number, saying which pair of
| parentheses matches the method name.  The third element USER is
| similar, but for the user name.  The fourth element HOST is similar,
| but for the host name.  The fifth element FILE is for the file name.
| These numbers are passed directly to `match-string', which see.  That
| means the opening parentheses are counted to identify the pair.
| 
| See also `tramp-file-name-regexp' and `tramp-make-tramp-file-format'.
| 
| You can customize this variable.
| 
| Defined in `tramp'.
\----

What happens when you eval the following Lisp expression?  (The
second line shows the result when I do it.)

(tramp-dissect-file-name "/ota@xenon:~/")
[cl-struct-tramp-file-name nil "sm" "ota" "xenon" "~/"]

The "sm" is wrong.  I think it's due to our broken local config.  It
should be "ssh".

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

  reply	other threads:[~2002-08-07 10:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-06 18:31 Tramp Trips Tak Ota
2002-08-07 10:34 ` Kai Großjohann [this message]
2002-08-07 18:04   ` Tak Ota
2002-08-07 18:37     ` Tak Ota
2002-08-08  8:45       ` Kai Großjohann

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=vafk7n3ufdc.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=emacs-devel@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).