From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Asynchronously downloading a file Date: Thu, 1 Jul 2010 23:43:19 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1278020678 18617 80.91.229.12 (1 Jul 2010 21:44:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 21:44:38 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 01 23:44:36 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OURYh-0008VI-NK for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jul 2010 23:44:36 +0200 Original-Received: from localhost ([127.0.0.1]:34401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OURYh-0000ds-84 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jul 2010 17:44:35 -0400 Original-Received: from [140.186.70.92] (port=53217 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OURY8-0000cz-1l for help-gnu-emacs@gnu.org; Thu, 01 Jul 2010 17:44:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OURXy-0001nS-EY for help-gnu-emacs@gnu.org; Thu, 01 Jul 2010 17:43:59 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:40977) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OURXy-0001nA-AK for help-gnu-emacs@gnu.org; Thu, 01 Jul 2010 17:43:50 -0400 Original-Received: by fxm17 with SMTP id 17so2020221fxm.0 for ; Thu, 01 Jul 2010 14:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=j+2u/+ZNWhXH0SJo+OF4pn4kOYpRte/0Hk6R2Pgr6Pg=; b=IKonUhujqGS2OFuGrFAvx0UC7Mruc2SiNm+3koX01952HxxaNBm4Q38mEfhk/6qbZz LM2/OuDCn3Y10M13ivVGTCsgbHX+QdWHPaWlamdSGKmQnmxqPXZerYqMBupiS1bzI6Hp rJN5Wj2YSzbAXRh/AbsOskfV1WKFci3n0ti+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=t2ezsGtXVAxaOobO38PLrqcTDa60U2OEneJAVVyeJm5/K1LvXFSo8bd5qYFWKmgBJu At82ODQB483rGXZd2WegOAZsTYDtk5yyHOzC6H9a+ESOyoDncJW/8zl+7uv3XEj4gIwV iFTAc99YrFnR9KFbWh6MtFuJH9TJoZ9ikx2PE= Original-Received: by 10.239.147.212 with SMTP id c20mr3307hbb.173.1278020629127; Thu, 01 Jul 2010 14:43:49 -0700 (PDT) Original-Received: by 10.239.135.207 with HTTP; Thu, 1 Jul 2010 14:43:19 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74038 Archived-At: I'm currently using find-file to view images fetched over HTTP. However, sometimes the server hosting the image is kind of slow and thus Emacs just hangs waiting for the image to fully download before I can view it. Is there any existing Emacs functionality which asynchronously gets a file from any of the protocols that e.g. find-file (tramp?) supports which lets me provide a callback function? Thanks, Deniz Dogan