From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23424: 25.0.93; error in process sentinel with Melpa added to package-archives Date: Tue, 03 May 2016 17:59:08 +0300 Message-ID: <83h9efkx1f.fsf@gnu.org> References: <8337q0mpe7.fsf@gnu.org> <83twigl7mn.fsf@gnu.org> <83lh3skybm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462287641 641 80.91.229.3 (3 May 2016 15:00:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 May 2016 15:00:41 +0000 (UTC) Cc: 23424@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 03 17:00:31 2016 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 1axboM-0006fj-7r for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2016 17:00:30 +0200 Original-Received: from localhost ([::1]:41671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axboI-00040N-GW for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2016 11:00:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axbo9-0003o4-Dd for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 11:00:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axbnx-0000sw-OZ for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 11:00:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axbnx-0000r1-La for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 11:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axbnu-0006QN-3t for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 11:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2016 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23424-submit@debbugs.gnu.org id=B23424.146228756524609 (code B ref 23424); Tue, 03 May 2016 15:00:02 +0000 Original-Received: (at 23424) by debbugs.gnu.org; 3 May 2016 14:59:25 +0000 Original-Received: from localhost ([127.0.0.1]:35478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axbnI-0006Or-TI for submit@debbugs.gnu.org; Tue, 03 May 2016 10:59:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axbnH-0006Oe-Vc for 23424@debbugs.gnu.org; Tue, 03 May 2016 10:59:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axbn3-0000ZH-F9 for 23424@debbugs.gnu.org; Tue, 03 May 2016 10:59:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axbn3-0000Yf-CM; Tue, 03 May 2016 10:59:09 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4394 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1axbmx-0002E8-6K; Tue, 03 May 2016 10:59:03 -0400 In-reply-to: (message from Kaushal Modi on Mon, 02 May 2016 23:18:38 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:117637 Archived-At: > From: Kaushal Modi > Date: Mon, 02 May 2016 23:18:38 +0000 > Cc: 23424@debbugs.gnu.org > > So can we have something like: > - If (apply url-callback-function url-callback-arguments) returns an error, then extract the url being fetched from > url-callback-function and print some like "Error incurred when when processing XYZ url.". In this case, we > know that read-from-string threw an error. So we can even say that the string fetched from XYZ url could not > be parsed as a valid lisp form (it does not necessarily mean that it read an empty string; in this case the lisp > form was incomplete). Can you propose a patch? > The value of url-callback-function has a lot of other info which I do not understand (I spy mainly the URL in it > and "read-from-string" in it). But may be using all the info in that var, we can have a well constructed error > message that can tell us what exactly went wrong. What do you think? I know almost nothing about that code, perhaps someone else could answer.