From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: A (probably silly) problem with request.el Date: Mon, 08 Jun 2015 07:36:39 +0200 Message-ID: <87zj4arcbc.fsf@members.fsf.org> References: <87bngv89g5.fsf@mbork.pl> <87h9qmsbyn.fsf@members.fsf.org> <87fv668d9f.fsf@mbork.pl> <5571C2EC.90903@members.fsf.org> <87y4jx7so5.fsf@mbork.pl> <878ubwskor.fsf@members.fsf.org> <87mw0c7ejj.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433741835 11143 80.91.229.3 (8 Jun 2015 05:37:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 05:37:15 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 08 07:37:00 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z1pk0-0003Y0-M0 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 07:36:56 +0200 Original-Received: from localhost ([::1]:55971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1pjz-0003df-Gd for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 01:36:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1pjq-0003dY-0r for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 01:36:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1pjk-00066P-TF for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 01:36:45 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:47228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1pjk-00066B-NR for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 01:36:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIKAGIpdVWkD4Xx/2dsb2JhbABchEKsXwEBAQMGmWYCgWMBAQEBAQGBC0EFg10BAQMBeQULCAMOEyUPAQRJE4glCM5cLIYZhSqFBgeELQEEplCPZSSDeTwxgkcBAQE Original-Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 08 Jun 2015 07:36:40 +0200 In-Reply-To: <87mw0c7ejj.fsf@mbork.pl> (Marcin Borkowski's message of "Sat, 06 Jun 2015 22:44:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104831 Archived-At: Marcin Borkowski writes: > OK, so now that I played with it for a moment, let me ask more questions > (not very urgent ones, I'm just curious). Do I get it correctly that > the "success" function will be called *at some later point* (assuming > that the request succeeded)? Yes. > What Emacs mechanism is used for that - > timers? I don't think so. > (I assume that the asynchronicity is more or less natural when > using curl, and then async processes are used, right? I don't know the internals of request.el (I never used it, and discovered it when reading this thread), but that would be my guess too. > Does url.el also > use some external tool?) Network processes are also asynchronous in emacs. See make-network-process for the low lever thing, and url-retrieve. Best, -- Nico.