From: Andrew Koenig <ark@research.att.com>
Subject: Re: ange-ftp appears to have trouble with symbolic links to directories
Date: Sat, 1 Feb 2003 04:16:21 GMT [thread overview]
Message-ID: <yu99znpgab56.fsf@europa.research.att.com> (raw)
In-Reply-To: 5lhebo6c1t.fsf@rum.cs.yale.edu
Stefan> Wait, I think the patch below was the meat of it, can you try it ?
Doesn't seem to help. The relevant code now looks like this:
(defun ange-ftp-insert-directory (file switches &optional wildcard full)
(save-match-data
(let ((short (ange-ftp-abbreviate-filename file))
(parsed (ange-ftp-ftp-name (expand-file-name file)))
tem)
(if parsed
(if (and (not wildcard)
(setq tem (file-symlink-p (directory-file-name file))))
(ange-ftp-insert-directory
(ange-ftp-expand-symlink
tem (file-name-directory (directory-file-name file)))
switches wildcard full)
(insert
(if wildcard
(let ((default-directory (file-name-directory file)))
(ange-ftp-ls (file-name-nondirectory file)
switches nil nil t))
(ange-ftp-ls file switches full))))
(ange-ftp-real-insert-directory file switches wildcard full)))))
--
Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark
next prev parent reply other threads:[~2003-02-01 4:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-01 0:25 ange-ftp appears to have trouble with symbolic links to directories Andrew Koenig
2003-02-01 1:10 ` Stefan Monnier <foo@acm.com>
2003-02-01 4:16 ` Andrew Koenig [this message]
2003-02-03 21:01 ` Andrew Koenig
2003-02-03 21:08 ` Andrew Koenig
2003-02-07 21:47 ` Andrew Koenig
2003-02-23 21:15 ` Stefan Monnier
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=yu99znpgab56.fsf@europa.research.att.com \
--to=ark@research.att.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.