all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kin Cho <kin@techie.com>
Subject: Re: tramp: plain ftp problem
Date: 28 Jun 2003 16:45:58 -0700	[thread overview]
Message-ID: <7iof0hu5op.fsf@neoscale.com> (raw)
In-Reply-To: 7id6h3wbwc.fsf@neoscale.com

Hi,

> Michael Albinus <Michael.Albinus@alcatel.de> writes:
> 
> > IIRC, this problem has been fixed already in Emacs CVS some weeks
> > ago. Pls try that ange-ftp.el.
> 
> The HEAD version of the main branch fixed my problem.  Thanks!

The HEAD version (Tue Jun 24 10:46:11 2003) of the main branch of
ange-ftp-generate-root-prefixes seems to have a problem.  It
returns a list instead of a list of lists as expected by
all-completions (called by ange-ftp-file-name-all-completions).

-kin

--- ange-ftp.el-orig	Tue Jun 24 10:46:11 2003
+++ ange-ftp.el	Sat Jun 28 09:26:37 2003
@@ -1402,10 +1402,10 @@
 	 (if (string-match "^[^/]*\\(/\\).*$" key)
 	     (let ((host (substring key 0 (match-beginning 1)))
 		   (user (substring key (match-end 1))))
-	       (push (concat user "@" host ":") res))))
+	       (push (list (concat user "@" host ":")) res))))
        ange-ftp-passwd-hashtable)
       (maphash
-       (lambda (host user) (push (concat host ":") res))
+       (lambda (host user) (push (list (concat host ":")) res))
        ange-ftp-user-hashtable)
       (or res (list nil)))))

  reply	other threads:[~2003-06-28 23:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23 23:30 tramp: plain ftp problem Kin Cho
2003-06-24  7:19 ` Kai Großjohann
     [not found] ` <nqsmq0f123.fsf@alcatel.de>
2003-06-24 18:47   ` Kin Cho
2003-06-28 23:45     ` Kin Cho [this message]
2003-06-30 13:50       ` Kai Großjohann
2003-06-30 17:33         ` Kin Cho
2003-07-01 16:07         ` Kin Cho

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=7iof0hu5op.fsf@neoscale.com \
    --to=kin@techie.com \
    /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.