From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran C Newsgroups: gmane.emacs.bugs Subject: bug#21032: package.el acts pecularly Date: Sun, 12 Jul 2015 11:07:04 +0530 Message-ID: <55A1FD00.3060700@gmail.com> References: <559F6AE5.8030109@gmail.com> <55A16C83.3040605@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436722107 460 80.91.229.3 (12 Jul 2015 17:28:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2015 17:28:27 +0000 (UTC) Cc: 21032@debbugs.gnu.org To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 19:28:16 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 1ZEL31-0002jq-Nw for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2015 19:28:15 +0200 Original-Received: from localhost ([::1]:51430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEL31-0006QE-3g for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2015 13:28:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEL2s-0006JA-Pz for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2015 13:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEL2p-0006JI-9Y for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2015 13:28:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEL2p-0006JC-5v for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2015 13:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZEL2o-0002hJ-Uf for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2015 13:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vaidheeswaran C Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jul 2015 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21032 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21032-submit@debbugs.gnu.org id=B21032.143672207410340 (code B ref 21032); Sun, 12 Jul 2015 17:28:02 +0000 Original-Received: (at 21032) by debbugs.gnu.org; 12 Jul 2015 17:27:54 +0000 Original-Received: from localhost ([127.0.0.1]:47645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZEL2g-0002gd-8Y for submit@debbugs.gnu.org; Sun, 12 Jul 2015 13:27:54 -0400 Original-Received: from mail-pa0-f44.google.com ([209.85.220.44]:34650) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZE9wj-0001r6-IH for 21032@debbugs.gnu.org; Sun, 12 Jul 2015 01:37:02 -0400 Original-Received: by pabvl15 with SMTP id vl15so189088558pab.1 for <21032@debbugs.gnu.org>; Sat, 11 Jul 2015 22:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=5if//xIeZZIlOQOlmftvmhDmFVtuSoCVSD8hYHOyLVU=; b=Z2TbhFLmlh5+JQH1krTGfZBg+uZ1NGhLw3uU4YdejODHS92rHkxPAeY0zsFuKW/V6l pv34Yi5cDGOf3ABTZTMZIudNRu5HhN7mnf/n+YhMNc7tBnoNGjUQr1jUeXKWRURqe3Ry MKD8LMre58+WxF2ooVKXbjPP+d4jxncrf7QVz6JVktr3cjLN9DIyMNhobanvFaWs2X1J joMQHRNY31oSngPJ2/bXkXnlpmwHF3bgGllbNcXiNtg8CxjVFU/pqq3A1UFYHcU182d+ dNX6QbE6vpcyOS7Qyumc501YwQCa7UYuwbKATgDgfYLIYFX+JHX1kPk140h0KuhrHlGj ZrVg== X-Received: by 10.70.55.165 with SMTP id t5mr56787392pdp.102.1436679415524; Sat, 11 Jul 2015 22:36:55 -0700 (PDT) Original-Received: from [192.168.43.83] ([106.206.138.177]) by smtp.gmail.com with ESMTPSA id bi4sm14220896pbc.56.2015.07.11.22.36.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Jul 2015 22:36:54 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: X-Mailman-Approved-At: Sun, 12 Jul 2015 13:27:52 -0400 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:104928 Archived-At: On Sunday 12 July 2015 04:28 AM, Artur Malabarba wrote: >> Error contacting: http://blah.blah.blah:/archive-contents >> error in process filter: peculiar error: 404 [2 times] > The second error is saying that the page was not found. Removing the second error and rewording the first error is good enough for me. Actually speaking, there is no "second" error. There is only one error. The peculiar error is coming from `edebug-report-error'. I really think that user doesn't care much about the "innermost" errors. So, catching such errors and re-throwing it is a good idea. Even if one (as a developer) wants to see the "inner" errors, the *Messages* should reflect the "innerness" of the fact by (say) parenthesizing it. > I imagine other things that can happen are request time-out and > certificate issues. (The following pertains to url-http and may not concern package.el) One way to handle the 404 (or for that matter any error) is to replace it with it's string counterpart in `url-http-codes'. If the error code takes a "parameter", we can also convert entries like this: (404 not-found "Not found") to (404 not-found "%s Not found") etc.