From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20502: 24.4; json-pretty-print escapes forward slashes in strings Date: Mon, 04 May 2015 13:19:04 -0400 Message-ID: References: <1CD6717D-B6F0-43BD-8A3E-3952F3AFDEBE@algesten.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1430760023 28480 80.91.229.3 (4 May 2015 17:20:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2015 17:20:23 +0000 (UTC) To: 20502-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 04 19:20:15 2015 Return-path: Envelope-to: geb-bug-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 1YpK2Q-0008QR-Ux for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 May 2015 19:20:15 +0200 Original-Received: from localhost ([::1]:35290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpK2Q-0003Hp-2M for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 May 2015 13:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpK2M-0003FG-Cr for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 13:20:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpK2L-0005IB-3b for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 13:20:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpK2L-0005I1-1i for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 13:20:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YpK2K-0007rM-OX for bug-gnu-emacs@gnu.org; Mon, 04 May 2015 13:20:08 -0400 Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 May 2015 17:20:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20502 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20502@debbugs.gnu.org, rgm@gnu.org, martin@algesten.se Original-Received: via spool by 20502-done@debbugs.gnu.org id=D20502.143075994830085 (code D ref 20502); Mon, 04 May 2015 17:20:07 +0000 Original-Received: (at 20502-done) by debbugs.gnu.org; 4 May 2015 17:19:08 +0000 Original-Received: from localhost ([127.0.0.1]:33966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpK1L-0007pB-Mm for submit@debbugs.gnu.org; Mon, 04 May 2015 13:19:07 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:52914 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpK1K-0007p4-HF for 20502-done@debbugs.gnu.org; Mon, 04 May 2015 13:19:06 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YpK1J-0001X3-3f; Mon, 04 May 2015 13:19:05 -0400 X-Spook: assassination cryptographic AK-47 9705 Samford Road X-Ran: *`w\^O|enaBN9.J.lJ+PybA^fA|N(2%&.WW#)J.YJ}i^*C1~xW^#@1VBdJlAy%.IZW["(I X-Hue: green X-Attribution: GM In-Reply-To: <1CD6717D-B6F0-43BD-8A3E-3952F3AFDEBE@algesten.se> (Martin Algesten's message of "Mon, 4 May 2015 09:28:48 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102465 Archived-At: Version: 25.1 Martin Algesten wrote: > Whe doing "pretty-print-json" on this: (You meant "json-pretty-print", as in the subject.) > {"mimetype":"image/jpeg"} > > I end up with this: > > { > "mimetype": "image\/jpeg" > } > > Notice the incorrect escaping of /. Thanks for the report. By experiment, this is already fixed in current master. > In GNU Emacs 24.4.1 (x86_64-apple-darwin14.0.0, NS apple-appkit-1343.14)