help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A (probably silly) problem with request.el


From: Nicolas Richard
Subject: Re: A (probably silly) problem with request.el
Date: Fri, 05 Jun 2015 17:40:28 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Le 05/06/2015 16:02, Marcin Borkowski a écrit :
> On 2015-06-05, at 12:09, Nicolas Richard <youngfrog@members.fsf.org> wrote:
>> Marcin Borkowski <mbork@mbork.pl> writes:
>>> (require 'request)
>>> (request "http://google.com";)
>>
>> Google provides examples of use:
>> http://tkf.github.io/emacs-request/
> 
> I tried them, with similar results.

What do you expect ?

The (request ...) form will always (I guess, I did not check the code)
return a structure like the one you pasted. The real job must be done by
a callback function. (Probably in the synchronous case it's different, I
don't know, but as the docstring says: don't use that except for testing
purposes.)

Nicolas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]