unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Daniel Pittman <daniel@rimspace.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Asynchronously downloading a file
Date: Fri, 2 Jul 2010 12:11:39 +0200	[thread overview]
Message-ID: <AANLkTinpKrFDKddaLAwKO6wdv1UET7iGxAGpkWe8p6Js@mail.gmail.com> (raw)
In-Reply-To: <87k4pejjx5.fsf@rimspace.net>

2010/7/2 Daniel Pittman <daniel@rimspace.net>:
> Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
>> 2010/7/2 Daniel Pittman <daniel@rimspace.net>:
>>> Qiang Guo <mcknight0219@gmail.com> writes:
>>>
>>>> Emacs adheres to single thread fervently, so it may be impossible to do this
>>>> within emacs.
>>>
>>> [snip]
>>>
>>> The second way is to use an external process to do the same; you can even
>>> invoke 'emacs --batch --eval' if you really want to. :)
>>>
>>>        Daniel
>>>
>>> The second way is kind of wasteful given that `open-network-stream' is
>>> actually entirely asynchronous and all.
>>
>> I'm looking for something like that, but with some layer taking care of the
>> HTTP stuff for me.
>
> Oh.  You mean `url-retrieve'.
>

That looks very interesting. Thank you.

-- 
Deniz Dogan



  reply	other threads:[~2010-07-02 10:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 21:43 Asynchronously downloading a file Deniz Dogan
2010-07-02  6:33 ` Qiang Guo
2010-07-02  9:04   ` Deniz Dogan
2010-07-02  9:06   ` Daniel Pittman
2010-07-02  9:22     ` Deniz Dogan
2010-07-02  9:46       ` Daniel Pittman
2010-07-02 10:11         ` Deniz Dogan [this message]
2010-07-02 10:16           ` Lennart Borgman
2010-07-02  7:41 ` David Engster
2010-07-02  9:23 ` Alberto Luaces
     [not found] ` <mailman.5.1278062489.22038.help-gnu-emacs@gnu.org>
2010-07-02  9:24   ` Andreas Politz

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=AANLkTinpKrFDKddaLAwKO6wdv1UET7iGxAGpkWe8p6Js@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=daniel@rimspace.net \
    --cc=help-gnu-emacs@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.
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).