From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#21798: 25.0.50; [PATCH] Add support for retrieving paths to JSON elements Date: Sat, 07 Nov 2015 08:23:29 -0500 Message-ID: References: <1446281162.2607.0@smtp.gmail.com> <5634CEE7.3070200@yandex.ru> <1446407553.4906.0@smtp.gmail.com> <1446420466.13180.0@smtp.gmail.com> <56381558.7050607@yandex.ru> <1446827488.11140.2@smtp.gmail.com> <563CE043.9060404@yandex.ru> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1446902660 10717 80.91.229.3 (7 Nov 2015 13:24:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2015 13:24:20 +0000 (UTC) Cc: 21798@debbugs.gnu.org, simenheg@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 07 14:24:09 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 1Zv3TU-0005R7-Kk for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Nov 2015 14:24:08 +0100 Original-Received: from localhost ([::1]:43820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3TT-000187-Q2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Nov 2015 08:24:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3TP-00017x-OB for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2015 08:24:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv3TP-000172-03 for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2015 08:24:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3TO-00016o-TK for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2015 08:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zv3TO-0001LV-IH for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2015 08:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2015 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21798 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21798-submit@debbugs.gnu.org id=B21798.14469026185140 (code B ref 21798); Sat, 07 Nov 2015 13:24:02 +0000 Original-Received: (at 21798) by debbugs.gnu.org; 7 Nov 2015 13:23:38 +0000 Original-Received: from localhost ([127.0.0.1]:56567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zv3T0-0001Kq-3p for submit@debbugs.gnu.org; Sat, 07 Nov 2015 08:23:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41047) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zv3Sy-0001Ki-2s for 21798@debbugs.gnu.org; Sat, 07 Nov 2015 08:23:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv3Sx-0000n3-54 for 21798@debbugs.gnu.org; Sat, 07 Nov 2015 08:23:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3Ss-0000k6-Dv; Sat, 07 Nov 2015 08:23:30 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Zv3Sr-00082I-Lo; Sat, 07 Nov 2015 08:23:29 -0500 In-reply-to: <563CE043.9060404@yandex.ru> (message from Dmitry Gutov on Fri, 6 Nov 2015 19:15:47 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: 208.118.235.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:108520 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I happen to think that an advice with a short lifetime is okay, but yes, > these are the guidelines. The reason that Emacs sources should not use advice is that advice is bad for debugging. If you look at function foo's source code, it won't tell you that advice is causing the function to do something not in that source. This problem occurs no matter how long the advice is on function foo. The right thing to do, instead of using advice on foo, is to change foo to call a hook, and put things in that hook. This is better because the source code of foo will include code to run the hook. When you see that, you'll know you should check what is in the hook. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.