From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kentaro NAKAZAWA Newsgroups: gmane.emacs.devel Subject: Re: bug#23750: 25.0.95; bug in url-retrieve or json.el Date: Tue, 29 Nov 2016 20:03:08 +0900 Message-ID: <0cb406fb-ffc4-a4ad-557a-2cacc99b8e75@nifty.com> References: <6d0c8c2e-8428-2fdb-0d6e-899f7b9d7ffd@nifty.com> <8053af81-80e1-a24a-f649-8ffc86963ed5@nifty.com> <0cc7fab4-9a2c-6a8d-def7-36bd50317ca3@yandex.ru> <7f9a799f-de88-fd78-0cdc-dac0928f1503@nifty.com> <308bb78f-8be3-092d-d877-e129d340242b@nifty.com> <4dc615e7-ec73-60a5-426e-0d6986f15d76@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1480417528 3988 195.159.176.226 (29 Nov 2016 11:05:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 11:05:28 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 Cc: emacs-devel@gnu.org To: Dmitry Gutov , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 12:05:19 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBgDu-0007zr-1K for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 12:05:18 +0100 Original-Received: from localhost ([::1]:36067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBgDw-00081t-94 for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 06:05:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBgCO-0007X8-Gu for emacs-devel@gnu.org; Tue, 29 Nov 2016 06:03:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBgCJ-0004Y0-Jm for emacs-devel@gnu.org; Tue, 29 Nov 2016 06:03:44 -0500 Original-Received: from conssluserg-03.nifty.com ([210.131.2.82]:59760) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1cBgCJ-0004Tk-5V for emacs-devel@gnu.org; Tue, 29 Nov 2016 06:03:39 -0500 Original-Received: from [192.168.0.5] (nfmv001097188.uqw.ppp.infoweb.ne.jp [222.158.160.188]) (authenticated) by conssluserg-03.nifty.com with ESMTP id uATB39qP021035; Tue, 29 Nov 2016 20:03:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com uATB39qP021035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1480417390; bh=ExI1zrEvDQfhC49hOUKvWLQIu6vuMa+2GHlmbsUTR3U=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=DPx5QeS/ImFqmZVcG6dOZQrc6fxZ4Mq70H40u9UvHqR3OTWvLzeEMfrmDUTIGvoN4 sExcF3vMb78qR4nd+5G0i4PuALN0xwM4//Sm9/dB9+cG6uHDfhwcRWGhOL7uyo+aqu Ldvy33j5HnJVJRtR6r+lpgZTunQ5EyKnqWgLmLP4I8Y7/If05CCaFdnRXrvp8d/UmG vKUfdvAaPGFoEt1WPqL1dF7FSAvDTwJDyGXxiEEWbj1o6dXmlERlPFO42AdmvQxP3Y eK3WkFftCH/SJGYCKyXJSwTjA/jpts6cyFbPOGLYfBESU37/Q4y+DDCJizZYwNMXQY qBNmg5TiV8YpA== X-Nifty-SrcIP: [222.158.160.188] In-Reply-To: <4dc615e7-ec73-60a5-426e-0d6986f15d76@yandex.ru> X-MIME-Autoconverted: from 8bit to quoted-printable by conssluserg-03.nifty.com id uATB39qP021035 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 210.131.2.82 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209724 Archived-At: On 2016/11/29 19:59, Dmitry Gutov wrote: > Where is the encode-coding-string call? Sorry, this is it. (let* ((content (encode-coding-string "=E3=81=BB=E3=81=92 <- VALID utf-8 Japanese multibyte te= xt" 'utf-8)) (url "https://api.github.com/gists") (url-request-method "POST") (url-request-data (json-encode `(("description" . "test") ("public" . false) ("files" . (("test.txt" . (("content" . ,content))))))))) (with-current-buffer (url-retrieve-synchronously url) (buffer-string)))