From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 8764544: Treat control characters in JSON strings as invalid Date: Fri, 18 Aug 2017 10:13:30 -0400 Message-ID: <20170818141330.GA848@holos.localdomain> References: <20170818000543.9841.93700@vcs0.savannah.gnu.org> <20170818000544.84B5E2052C@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: blaine.gmane.org 1503065629 30943 195.159.176.226 (18 Aug 2017 14:13:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 Aug 2017 14:13:49 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 18 16:13:46 2017 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 1dii1s-0007Yd-M8 for ged-emacs-devel@m.gmane.org; Fri, 18 Aug 2017 16:13:40 +0200 Original-Received: from localhost ([::1]:56901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dii1z-0004rN-Cv for ged-emacs-devel@m.gmane.org; Fri, 18 Aug 2017 10:13:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dii1s-0004qe-O6 for emacs-devel@gnu.org; Fri, 18 Aug 2017 10:13:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dii1m-0004fW-Vs for emacs-devel@gnu.org; Fri, 18 Aug 2017 10:13:40 -0400 Original-Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:35232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dii1m-0004ew-NF for emacs-devel@gnu.org; Fri, 18 Aug 2017 10:13:34 -0400 Original-Received: by mail-qt0-x231.google.com with SMTP id p3so54252034qtg.2 for ; Fri, 18 Aug 2017 07:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=u063+6XRrEvBuoRHvQTWiM9wkpoIhfrwCkaaBfFgfJ0=; b=PcB3qJWtwmflqoK370JarEOkO9OOt5D9OUjMUpUrSNFNCk2ukPDlxAExzVD4d1hLEd DFy7JVUQqguMAjhydGzdUus1Sd0tBZlBPmFOKO1KMsBK4ut+QuVsxXVYB+qIRtBU0d80 hbK1rFrnAggPzrBDAEJDtMDlxBOPEFXshIhgxcRA71eQ2W42ZJ0GkxEZaaOYe1/k5EHz 2cBt0jboASu7bqwfTXpsAMBM9jVEVAfnknLKuTZ/EpU9XGgc3jf4lLnDnDBNTi22LTfQ evhXwiM17PnCeYlZDG4EuAwn6XYYFJ52dD9X2gvZN9UDSlTRAD4pwSalSCHLczJ8AlqF WNRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=u063+6XRrEvBuoRHvQTWiM9wkpoIhfrwCkaaBfFgfJ0=; b=RGmbtL2+M4/+7nHDw/CcXEJZiGrRyBdWkX9DXDl1CfCZTCx9OwmkCLbuovHs8Ttjui 8RWEUluxUIUbb1LavzM/DSQno5UelAFokmnZOnK7G8Ff5LMwMACQ+XEYuqsNYp2/l2vD Qu5d4zfWefrirAEneJc+52wvWRkRVEcGMusvOdNZ9Acr/zJzBh+KT0MOTdHtXWy9yMLA cL/6vLdr+5hF7LTX6VK2QbD6HmEFYtF6mKoyrARAcJ1zNCY0gMiTfBMZyd/eTkF0ViEW XefvFCQsLos8UMTDMU1r82LxwGTCZB8okWDMptcKldyRWGsGjnjhp/T2jQcamXRLuelX WjEg== X-Gm-Message-State: AHYfb5h0OTzUsGVm3p8MldraHJDjlN1DDjEUejntvhCqeL85kiEMwin2 AiOaZB3a9Pvi91JmlIpq1g== X-Received: by 10.237.59.200 with SMTP id s8mr2989938qte.168.1503065612136; Fri, 18 Aug 2017 07:13:32 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-88-95.bltmmd.fios.verizon.net. [173.64.88.95]) by smtp.gmail.com with ESMTPSA id t184sm2728633qkc.54.2017.08.18.07.13.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Aug 2017 07:13:31 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 4D09366209; Fri, 18 Aug 2017 10:13:30 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::231 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:217608 Archived-At: On 18/08/17 at 03:51am, Stefan Monnier wrote: >> - (or (char-after (point)) :json-eof)) > >I wonder why it used :json-eof instead of using nil ? >Any idea? Not sure--it has been there since json.el was added to Emacs.