From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#25735: 26.0.50; url-retrieve errors are peculiar Date: Thu, 16 May 2019 09:11:24 +0100 Message-ID: References: <87lfz8uuc0.fsf@mouse.gnus.org> <87ef50uqzu.fsf@mouse.gnus.org> <87tvdwtb1k.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000763d8a0588fcd13c" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="261075"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 25735@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 16 10:25:57 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRBi9-0015nk-0h for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2019 10:25:57 +0200 Original-Received: from localhost ([127.0.0.1]:50559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRBi7-0002kn-HQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2019 04:25:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRBhv-0002G1-Lj for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 04:25:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRBVe-0002Wi-NG for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 04:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRBVe-0002Wc-IG for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 04:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRBVe-0005Ca-Ck for bug-gnu-emacs@gnu.org; Thu, 16 May 2019 04:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2019 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 25735-submit@debbugs.gnu.org id=B25735.155799432419931 (code B ref 25735); Thu, 16 May 2019 08:13:02 +0000 Original-Received: (at 25735) by debbugs.gnu.org; 16 May 2019 08:12:04 +0000 Original-Received: from localhost ([127.0.0.1]:54153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRBUi-0005BP-6H for submit@debbugs.gnu.org; Thu, 16 May 2019 04:12:04 -0400 Original-Received: from mail-ot1-f41.google.com ([209.85.210.41]:33977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRBUf-0005Ar-LI for 25735@debbugs.gnu.org; Thu, 16 May 2019 04:12:02 -0400 Original-Received: by mail-ot1-f41.google.com with SMTP id l17so2641859otq.1 for <25735@debbugs.gnu.org>; Thu, 16 May 2019 01:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kHwmw28VrOLM0Ecv6c6evq2l2+0z3ZwBk351QWOAXEI=; b=EI9Pzfz5vNnc07+/UXLjDwJsJt2g+4yLEM69RpHz9YFwLwGBxVfr1OjRDlmucpio/G azQdrC0ISuIGwUrYDxApGtICZsr4z2Kmd1tRINzp271ZZ91RsZ1A93AXYXMifbf2AgXq d/URhpipVtBTtcYwWZz2ZoYniubRbH2HKqr4OPD5j8Ytk16HRXTPuQXMXw20hUz8y1Zf 71iHakyJdzNLjGJZ4qCc68eG5U1kqpGw0ucSUyzPo2v+RnF37yHqYh3Ht0M8IyFVza8u eeR26lNcWxSmRmDoFJ+7PDZi9qRJW6jRABXBUSSaTOvAcT4hfqzUvfLlqTaYkkFul9lS jGBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kHwmw28VrOLM0Ecv6c6evq2l2+0z3ZwBk351QWOAXEI=; b=ZLelTDs+WS+a5RA9gHdtNlTDzC01OSb7vzCGXV1Tb3H/DDjORLrgR9zqmPphJ4rOWZ FxdwaybE+FkGunzHE87RHX5N1pspkAXfN/G6jCIj8m9jFK+47SyHp3DVofUzU2tDg0IU olZefqstsuKZnDCgl0k68XRuWn/GT+ck8tkRW4m+w+foQhzf2AxCcjP1j3NVgvN7EIZD 1mynauaALZ7xLYHijkf4esOiOFDT0/AB+GgDsULSyqL6jmmi36CUuKQ7eInxvBRyW69U O0ta4LwFerTJAIOTYQmT63HqWml7076X55V3m5LPQG+3keDARWmmk0AiQNkdlfUMIGHg vPmA== X-Gm-Message-State: APjAAAWz2XZH4xay8n4EeG3SmL9iFusOVh5MmQ1c5XKF0cakq5/A7R76 vU+1IFZi7LEKqNUTlQsQkAu03cvc8zznHIkMPT0= X-Google-Smtp-Source: APXvYqwrvbtQy6bTgaooFpqD6rQ8lXv8ehjV2l7yToCXvIoBZQkOKHf1XmyHusBK2kA5KiBSPYApJ4fNlFzcAPtXPrU= X-Received: by 2002:a9d:5c0f:: with SMTP id o15mr8126251otk.47.1557994310875; Thu, 16 May 2019 01:11:50 -0700 (PDT) In-Reply-To: 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: 209.51.188.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:159375 Archived-At: --000000000000763d8a0588fcd13c Content-Type: text/plain; charset="UTF-8" On Thu, 16 May 2019 at 04:59, Lars Ingebrigtsen wrote: > Richard Copley writes: > > > If there's a way to use that data to format an error message, > > it would be good to provide an example, or a "see info node X", > > if it's a common idiom. > > > > I think usually if you're looking at a docstring it's because you > > want to know how to use the function (as well as what it is for > > and what exactly it does, which I think are covered in this case). > > Well, I think we should assume that people know what arguments `error' > takes, and the structure of the error data is now documented correctly. > So I think that should be sufficient. > OK. It's (error STRING &rest ARGS), by the way. --000000000000763d8a0588fcd13c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, 16 May 2019 at 04:59, Lars Ingebrigtsen <larsi@gnus.org> wrote:
Richard Copley <rcopley@gmail.com> writes:
> If there's a way to use that data to format an error message,
> it would be good to provide an example, or a "see info node X&quo= t;,
> if it's a common idiom.
>
> I think usually if you're looking at a docstring it's because = you
> want to know how to use the function (as well as what it is for
> and what exactly it does, which I think are covered in this case).

Well, I think we should assume that people know what arguments `error'<= br> takes, and the structure of the error data is now documented correctly.
So I think that should be sufficient.

O= K. It's (error STRING &rest ARGS), by the way.

--000000000000763d8a0588fcd13c--