all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: bob@rattlesnake.com, emacs-devel@gnu.org
Subject: Re: Downloading with Emacs
Date: Tue, 28 Jun 2005 01:52:35 -0400	[thread overview]
Message-ID: <878y0vxc7h.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <42BF4CFF.6060508@student.lu.se> (Lennart Borgman's message of "Mon, 27 Jun 2005 02:49:03 +0200")

>> I just tried
>> 
>> (url-dl-download "http://purl.org/harder/dpans.html"
>> "/usr/local/src/"                     nil
>> "Common_Lisp.texi")
>> 
>> and received this error message:
>> 
>> error in process filter: progn:    Opening output file: no such file or
>> directory,
>> /home/bob/emacs-21/http:/www.ifa.au.dk/~harder/dpans.html-h.txt
>> 
>> I also tried the command replacing the nil argument with "" but the
>> expression also failed.
>> 
>> What should I do?
>> 
>> 
> Could not avoid testing. I believe it is a bug in the
> url.el -libraries. There is a callback telling a redirection was
> done. I recieve this instead of the one I should get when the download
> has finished.

I assume you use url-retrieve-synchronously or url-insert-file-contents.
For user-level use, I use url-handler-mode so that I can just do
C-x C-f http://foo/bar RET

Note that a "fix" in the area of http redirection was installed recently,
so maybe the bug you see was fixed, or maybe the fix introduced another bug
you're experiencing.

> Is there anyone who understands those libraries?

I don't understand URL, really, but I have worked on it a tiny bit.


        Stefan

  parent reply	other threads:[~2005-06-28  5:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-26  1:14 Downloading with Emacs Lennart Borgman
2005-06-26 12:17 ` Paul Pogonyshev
2005-06-26 14:32   ` Lennart Borgman
2005-06-26 17:43     ` Lennart Borgman
     [not found]       ` <m1Dmgr6-0004REC@rattlesnake.com>
2005-06-27  0:49         ` Lennart Borgman
2005-06-28  4:17           ` Richard M. Stallman
2005-06-28  5:52           ` Stefan Monnier [this message]
2005-06-27  6:32         ` Downloading with Emacs - bug in url-http.el? Lennart Borgman

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=878y0vxc7h.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=bob@rattlesnake.com \
    --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 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.