From: Kin Cho <kin@techie.com>
Subject: Re: tramp: plain ftp problem
Date: 01 Jul 2003 09:07:44 -0700 [thread overview]
Message-ID: <7i65mmp6wf.fsf@neoscale.com> (raw)
In-Reply-To: 84smprn08h.fsf@lucy.is.informatik.uni-duisburg.de
kai.grossjohann@gmx.net (Kai Großjohann) writes:
> > 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).
>
> I think I agree, but before I commit this, could you tell me how to
> reproduce the problem?
I've included the stack trace I got when I run this at home. For
some reason ange-ftp-generate-root-prefixes doesn't get called at
all here at work. I'm using the same customization scripts and
emacs version in both environments.
Thanks.
-kin
ange-ftp-generate-root-prefixes()
(all-completions file (ange-ftp-generate-root-prefixes))
(nconc (all-completions file (ange-ftp-generate-root-prefixes)) (ange-ftp-real-file-name-all-completions file ange-ftp-this-dir))
(if (ange-ftp-root-dir-p ange-ftp-this-dir) (nconc (all-completions file ...) (ange-ftp-real-file-name-all-completions file ange-ftp-this-dir)) (ange-ftp-real-file-name-all-completions file ange-ftp-this-dir))
(if (ange-ftp-ftp-name ange-ftp-this-dir) (progn (ange-ftp-barf-if-not-directory ange-ftp-this-dir) (setq ange-ftp-this-dir ...) (let* ... ...)) (if (ange-ftp-root-dir-p ange-ftp-this-dir) (nconc ... ...) (ange-ftp-real-file-name-all-completions file ange-ftp-this-dir)))
(let ((ange-ftp-this-dir ...)) (if (ange-ftp-ftp-name ange-ftp-this-dir) (progn ... ... ...) (if ... ... ...)))
ange-ftp-file-name-all-completions("fo" "/")
apply(ange-ftp-file-name-all-completions ("fo" "/"))
(progn (apply fn args))
(unwind-protect (progn (apply fn args)) (set-match-data save-match-data-internal))
(let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-match-data save-match-data-internal)))
(save-match-data (apply fn args))
(if fn (save-match-data (apply fn args)) (ange-ftp-run-real-handler operation args))
(let ((fn ...)) (if fn (save-match-data ...) (ange-ftp-run-real-handler operation args)))
ange-ftp-hook-function(file-name-all-completions "fo" "/")
apply(ange-ftp-hook-function file-name-all-completions ("fo" "/"))
ange-ftp-completion-hook-function(file-name-all-completions "fo" "/")
#<subr read-file-name-internal>("/fo" "/home/kin/" t)
read-file-name-internal("/fo" "/home/kin/" t)
all-completions("/fo" read-file-name-internal "/home/kin/")
PC-do-completion(nil)
PC-complete()
call-interactively(PC-complete)
prev parent reply other threads:[~2003-07-01 16:07 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
2003-06-30 13:50 ` Kai Großjohann
2003-06-30 17:33 ` Kin Cho
2003-07-01 16:07 ` Kin Cho [this message]
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=7i65mmp6wf.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.