From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: inigoserna@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Any examples of using request.el? Date: Wed, 18 Nov 2015 09:39:23 +0000 Message-ID: References: <87r3jo1f3m.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447839598 17287 80.91.229.3 (18 Nov 2015 09:39:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2015 09:39:58 +0000 (UTC) To: "Marcin Borkowski" , "Help Gnu Emacs mailing list" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 18 10:39:50 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 1ZyzDP-0002cj-Dq for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Nov 2015 10:39:48 +0100 Original-Received: from localhost ([::1]:34795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyzDJ-0001IC-OA for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Nov 2015 04:39:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyzD6-0001I6-M8 for help-gnu-emacs@gnu.org; Wed, 18 Nov 2015 04:39:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyzD3-00078T-Es for help-gnu-emacs@gnu.org; Wed, 18 Nov 2015 04:39:28 -0500 Original-Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:36191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyzD3-00078I-9v for help-gnu-emacs@gnu.org; Wed, 18 Nov 2015 04:39:25 -0500 Original-Received: by wmww144 with SMTP id w144so188970470wmw.1 for ; Wed, 18 Nov 2015 01:39:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:content-type:content-transfer-encoding:message-id :from:subject:to:in-reply-to:references; bh=QbzUL2d1sGUlWFjlFRZ5d0NjrA6/ehltQZgi0l7ti3o=; b=GswVbpEAS/CsFPkX10Qh+rM3Qmk8V+2AlAdCGocmbWFLUHx9TaKHJmVwQzXYMEpeG/ itWUWD/PbfTIXpem62v8OThlIQPfPqAUVG+vJvJtjK4VM0PLHeLg9k1qjckep0q5PZRi 0OElQYEmPtDZ+uWFqLvHtbw2NoVInXKd0lu7l0EgAMU9UGkx9TM5QpgXUh8rJAcehz/v +YIqN4NcTmJh5+YCaSEvWRPHred3AOiRQFSldAy7M6Kw93jG8HDGmLGpRYfidm5TBhr1 mXhECNGi8pztHNO/weWdit8b4XODxO+fieQC4Xu7JMDYlZzz7cGsKocoXJw9UxlpVaXw Z6fg== X-Received: by 10.28.186.138 with SMTP id k132mr2888981wmf.75.1447839564578; Wed, 18 Nov 2015 01:39:24 -0800 (PST) Original-Received: from rainloop (alt.serna.eu. [212.47.247.41]) by smtp.gmail.com with ESMTPSA id u139sm28132543wmu.22.2015.11.18.01.39.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Nov 2015 01:39:23 -0800 (PST) X-Mailer: RainLoop/1.9.3.365 In-Reply-To: <87r3jo1f3m.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c09::22e 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:108122 Archived-At: Hi,=0A=0ANovember 17 2015 10:38 PM, "Marcin Borkowski" w= rote:=0A> I've written a small package using the request.el library. Howe= ver,=0A> since I know next to nothing about the web's inner workings, I d= idn't=0A> really know how to use it well. In particular I mean error hand= ling.=0A> Are there any packages using request.el out there so that I cou= ld study=0A> their code?=0A> =0A> I'm especially interested in /synchrono= us/ calls (I neither need nor=0A> want asynchronous ones in my library), = but anything will do.=0A=0AI'm not a elisp coder, just an apprentice, but= I was able to build an emacs front-end for my python web-based news read= er using request.el in a few days - it was quite easy -, so I guess it co= uld be an useful look.=0A=0AThere isn't an official release with this fea= ture yet, but you can see the code at:=0Ahttps://bitbucket.org/inigoserna= /mynewspaper4/src/2a5b15a9e82e41546da5ea430695d787f26954e7/tools/mynewspa= per.el?at=3Ddefault=0A=0A=0AHope it helps,=0AI=C3=B1igo Serna