From debbugs-submit-bounces@debbugs.gnu.org Sun May 17 22:15:02 2020 Received: (at submit) by debbugs.gnu.org; 18 May 2020 02:15:02 +0000 Received: from localhost ([127.0.0.1]:45217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaVIz-0007dd-W6 for submit@debbugs.gnu.org; Sun, 17 May 2020 22:15:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:60076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaVIy-0007d9-LN for submit@debbugs.gnu.org; Sun, 17 May 2020 22:15:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaVIy-0007Zu-G2 for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 22:15:00 -0400 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]:42050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaVIx-0002rc-KM for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 22:15:00 -0400 Received: by mail-yb1-xb2d.google.com with SMTP id i16so4487242ybq.9 for ; Sun, 17 May 2020 19:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:date:message-id:subject:to :content-transfer-encoding; bh=wjjsSxYpWUiA2PSPuGKd1O4edP0Uveyabglx6StAIj8=; b=m9g9GoKz8nzHqcNhwgD+aoORk/4qrjKg0IzHdG6mnKj8U6T0/GXQc3rLJLssBPohIO 9YKSoQnEWBeFKsYE9/rXtAm6shTbRx5/Ch+5E4gEJSbdhnjWOsQPUsWHf+pxSIF2YL6Q X5QKiMOz3eIo2ZLnF0ColNavzDrJGf5j6Y9pmQzPkFxhK9mslj0AF83zMm1GO9d01ga5 rsFsJ1+M/rt8UJJH4o5Gisu9z0P0Kte0b3bKyV0JgfBkk3REaw48+B/AAsbBNRimJHUM jb+73ehUmHJfo9kIK46KhdIYV3LBl9L2VpLq546kiRvbq9X6i4ZZ/Cky8wBhg+JKNaej HZIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to :content-transfer-encoding; bh=wjjsSxYpWUiA2PSPuGKd1O4edP0Uveyabglx6StAIj8=; b=PVTUabIV0XjZ1B8xweHuTVoUTSHnzxIvACRBzvFJWkFikJkvcPnx2lW+ppzMVFfmGZ LiWiy0Im4qjAGW9EGkfNKiNYkeByizbvTQLZeqS+iXFJ+n00Y0Y4yuK3T/79auireDq/ mg4y9HGxdaC+NmJqralj9/WIVopIQqvAGy7n1b6jEjHUnIXTwB72frXnu6cF1JwjRF5d 39etHPzDxfIbZ13jJuy1BmJZ2UJ9RfXu599PEA0p6sXaHzH6mOUcJZoL2ETEKZ8n7A77 22duqgCyhM8UXDNrgdjf6A5taWWdouvLHMKJmu9VxqiFhn383CxDqcgnYJPl1F3b6wo2 0evQ== X-Gm-Message-State: AOAM531Y6PmNBsfb67G0IbWGux6wf5Jh7GswOJAUdCv/ZMY8UdRap5mu 4SG7Tr/vVdQdzWBBoMNwjUJobItMD5+1DxaDy1gMWw== X-Google-Smtp-Source: ABdhPJzBK1z9Vv6DzOJkZBAm32gVNY9o0pss/QTXpxzGyHIlZBddPGh2lYhkdscVMsPKT8e2BFQGrETkdpFxIokwAxY= X-Received: by 2002:a25:4c04:: with SMTP id z4mr21891538yba.466.1589768098378; Sun, 17 May 2020 19:14:58 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 17 May 2020 19:14:57 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Sun, 17 May 2020 19:14:57 -0700 Message-ID: Subject: GNU ELPA: Add "reporting bugs" to individual package pages To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::b2d; envelope-from=stefankangas@gmail.com; helo=mail-yb1-xb2d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) One user reports: That change fixes the issue! Great! Let=E2=80=99s file a bug and then s= ubmit the fix for it=E2=80=A6 except=E2=80=A6 the project.el file contains absolu= tely no information about how to submit bugs or patches. There=E2=80=99s nothin= g on the project.el web page. No websites, no bug tracker, no email addresses. Folks, if you maintain Open Source software and you ever wonder why you=E2=80=99re not getting contributions=E2=80=A6 this is why you=E2=80= =99re not getting contributions: because you don=E2=80=99t spend any time thinking about = making it easy (or in this case, even possible) for folks to contribute back to your project. So, instead of supplying a bug report and a patch, so that other folks might avoid this problem when they upgrade their Emacs packages (and instead of working on PROJECT APOLLO, like I planned to do today), I=E2= =80=99m writing this blog post. Hopefully, after I post this online in a few places, Cunningham=E2=80=99s Law will kick in and somebody will show up= and tell me where I can send this patch after all=E2=80=A6 https://genehack.blog/2020/05/open-source-annoyances-and-affordances/ I think this is situation could be alleviated by including a static section on the pages for individual packages which explains how to report bugs. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon May 18 14:04:54 2020 Received: (at 41373) by debbugs.gnu.org; 18 May 2020 18:04:54 +0000 Received: from localhost ([127.0.0.1]:48202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jak8E-0002mt-3E for submit@debbugs.gnu.org; Mon, 18 May 2020 14:04:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jak8B-0002md-RA for 41373@debbugs.gnu.org; Mon, 18 May 2020 14:04:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34205) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jak86-0004A3-JB; Mon, 18 May 2020 14:04:46 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jak85-0006BY-Fq; Mon, 18 May 2020 14:04:45 -0400 From: Glenn Morris To: Stefan Kangas Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: X-Spook: Bin Laden Department of Homeland Security Tony Blair X-Ran: iE(*)Z.y5"1Uq<^LR`L>E#|68?9h14&_KMN3,%cU5Q8$piXe"EY`0"{{hj!k1!&%|x!I'F X-Hue: brightyellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 18 May 2020 14:04:45 -0400 In-Reply-To: (Stefan Kangas's message of "Sun, 17 May 2020 19:14:57 -0700") Message-ID: <62r1vh6rwi.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas wrote: > I think this is situation could be alleviated by including a static > section on the pages for individual packages which explains how to > report bugs. This will vary from package to package. I doubt "M-x report-emacs-bug" is right in anything more than a small minority of cases (because it would require the package developer to subscribe to bug-gnu-emacs). I would think that the package itself needs to contain its bug reporting information, independent of elpa.gnu.org. From debbugs-submit-bounces@debbugs.gnu.org Mon May 18 14:07:58 2020 Received: (at 41373) by debbugs.gnu.org; 18 May 2020 18:07:58 +0000 Received: from localhost ([127.0.0.1]:48215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jakBC-0002si-2e for submit@debbugs.gnu.org; Mon, 18 May 2020 14:07:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jakB8-0002sU-Tq for 41373@debbugs.gnu.org; Mon, 18 May 2020 14:07:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34266) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jakB3-0004kS-OC; Mon, 18 May 2020 14:07:49 -0400 Received: from [176.228.60.248] (port=1680 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jakB3-0006XG-10; Mon, 18 May 2020 14:07:49 -0400 Date: Mon, 18 May 2020 21:07:45 +0300 Message-Id: <83tv0d86by.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Sun, 17 May 2020 19:14:57 -0700) Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Sun, 17 May 2020 19:14:57 -0700 > > One user reports: > > That change fixes the issue! Great! Let’s file a bug and then submit the > fix for it… except… the project.el file contains absolutely no > information about how to submit bugs or patches. There’s nothing on the > project.el web page. No websites, no bug tracker, no email addresses. > > Folks, if you maintain Open Source software and you ever wonder why > you’re not getting contributions… this is why you’re not getting > contributions: because you don’t spend any time thinking about making it > easy (or in this case, even possible) for folks to contribute back to > your project. > > So, instead of supplying a bug report and a patch, so that other folks > might avoid this problem when they upgrade their Emacs packages (and > instead of working on PROJECT APOLLO, like I planned to do today), I’m > writing this blog post. Hopefully, after I post this online in a few > places, Cunningham’s Law will kick in and somebody will show up and tell > me where I can send this patch after all… > > https://genehack.blog/2020/05/open-source-annoyances-and-affordances/ > > I think this is situation could be alleviated by including a static > section on the pages for individual packages which explains how to > report bugs. Is this about project.el that's in Emacs? That one says it is part of GNU Emacs, like any other bundled package, and thus bugs should be reported to the Emacs bug tracker, see "emacs --help". Not sure what you mean by "pages for individual packages". From debbugs-submit-bounces@debbugs.gnu.org Mon May 18 14:12:18 2020 Received: (at 41373) by debbugs.gnu.org; 18 May 2020 18:12:18 +0000 Received: from localhost ([127.0.0.1]:48237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jakFO-00030V-9b for submit@debbugs.gnu.org; Mon, 18 May 2020 14:12:18 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:55169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jakFM-00030I-Uq for 41373@debbugs.gnu.org; Mon, 18 May 2020 14:12:17 -0400 Received: by mail-wm1-f44.google.com with SMTP id h4so441761wmb.4 for <41373@debbugs.gnu.org>; Mon, 18 May 2020 11:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RPKB46TsvQo3aUvidOplyEt/tVbdLs3mRmkuioOVG0g=; b=Tub7HAJueAEPyGJp3WthPzZvDpcPG7slc10heFUYwpeZbnnDotk6urTr426Bsflh9s dp8IudHOwBc9hMZJJ812KL1eN68p2PFrBsNOIXf9uibuqmRnenEakFj4FUpBdMQHVGMk wHMDQX2WDcjIP/VwDxArig2i0gBXY6QjrvHF+VWGN3aD6NSUrQzqWwAguzo1tpDThS1K LcpcM2aJ2w9A/lWaAl2LWsWEoC62wnD+UhvAO+9C8wS7Rz59JM9/9tqXvYhqlNQS3ztj tX9gcT4NM/7LqZbepNxHYgixrTee+SzztroubvQ90w5LctryJ9HnE6l1pSXEi6DkOqCW BqIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RPKB46TsvQo3aUvidOplyEt/tVbdLs3mRmkuioOVG0g=; b=M/qQ/YuhYviPq7oe1wRMSMMdpBiFhCqXCamGJ58tHP2HBjPIsmYHE3R60XMpYUQxtC VbJ6T0T5q6YNKNg3GAFo2AcTut7VdZ5sHiKS8ykUwRcka+JXGJ0mYfy3JTykW+uQ3+Cj 6uxTIsZePCeMp0WrNTgx9oWiuHsUOrVig9NohYz+JQBBJyC1LJGcqXQUHMSxhNF+1r4p QotoT2COjRDrZZma6ANorrSr7j+E156ENxVMkCMZuWue5JOjEb2zEMo3gv1rR9eHvJUy Y8U/nU27A9bJwvQpI3OOcnulhgG6jq3likaaEHQXNMOOr1GNqirN3pZNm1Vsd/1z8N8d cX1g== X-Gm-Message-State: AOAM533nqGUoYgaNhanRoYUP+IDfvtHRKAy52wnBWs/mtZtgEGmlRNlk ysnhZ7G8so3WbNpR1zxwNn0hsTCF X-Google-Smtp-Source: ABdhPJyixf/VOdvA0iJnpV7h9hn/l3iSyBziyxYnpAMrS1aNQEFrLLFIMLDVmvtf7rfGUhV6XDzcKA== X-Received: by 2002:a7b:c959:: with SMTP id i25mr621916wml.84.1589825530817; Mon, 18 May 2020 11:12:10 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id q74sm500247wme.14.2020.05.18.11.12.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 May 2020 11:12:10 -0700 (PDT) Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages To: Stefan Kangas , 41373@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: Date: Mon, 18 May 2020 21:12:07 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 41373 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 18.05.2020 05:14, Stefan Kangas wrote: > I think this is situation could be alleviated by including a static > section on the pages for individual packages which explains how to > report bugs. Since the example was about project.el, we could limit our response to adding an explanatory section to :core packages. I have a rough patch ready, but having trouble building the HTML pages of GNU ELPA locally thus far. From debbugs-submit-bounces@debbugs.gnu.org Mon May 18 20:15:35 2020 Received: (at 41373) by debbugs.gnu.org; 19 May 2020 00:15:35 +0000 Received: from localhost ([127.0.0.1]:48612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1japux-0005QQ-BT for submit@debbugs.gnu.org; Mon, 18 May 2020 20:15:35 -0400 Received: from mail-qk1-f182.google.com ([209.85.222.182]:37069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1japuw-0005QE-EQ for 41373@debbugs.gnu.org; Mon, 18 May 2020 20:15:34 -0400 Received: by mail-qk1-f182.google.com with SMTP id m11so12628223qka.4 for <41373@debbugs.gnu.org>; Mon, 18 May 2020 17:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=mjuHl8I5btHtYrbnGejyjFQ0FRBk3NxJHaaXYmpt18Q=; b=KGxMtws5jRBJ6yhGvgyvL5qUzKDVXHN7i1vY9eccFbkSHa8b/nIvr+UV9ADM3jS2JZ H+uUFnkq7mWi6Xab3GF0A+YKlyN8oD9U4lN/9FGDfJTKMKJBnv3kyjJTKJKjK7rEe4Hv C7YDMFvlRm9p19ay75NiF/VAxlE0no8xM20DTp3lflvtARbtJn8aodor1/GhFevMA1VM 9WApJslizIjWSwevo4N+ov4kBJjIBytHNXFhEUZ9JqCCPDlWXRZo5QT3WIC2FlXtzkpk 4OKJJVAs7tTlaVqhtxtjqjiAAw6VTVmBX0U4y8QFyORQuYxGBrPVnpuAUDK2roJuF/s1 dOAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=mjuHl8I5btHtYrbnGejyjFQ0FRBk3NxJHaaXYmpt18Q=; b=PZ58mD/lBIq/y83SbuULJ7MOWlWlzDJIF9YWO6vPRhfi8FP3Z45LPhdf4Evdw8RVX8 ykTfHCfAcVNYZmFemi9FX3CId6efqH8o6VPfgpYFhFQqMCP/XnB0cq3/ySMoXasvXva7 omb5iLgQ29WZEDpocryL1TMISw8j4XsMXlwuHfJZyXWVs11FF+UcAQMV2kJfK7pHqobc PU4i4vC/U54lk7XU+t0WbuIpN6EcWOzfnzPsC8w2EOUdFMzc54LH2J3n8f4zIXFPnvjC n8PHEP5kPsaqe8vSmsAKphWOvOoKwAQiCxP0Fc2Cg4sCsG/Va3tO4oNiW6sYhBiTyA2R OKNQ== X-Gm-Message-State: AOAM5323/FmKChRlyfmnramxQJoezBpJcC/euHFkTWngK8GlCODtyXeY yjUjE5vVq0ZT25zeosM3LJP6zPXdoymt0ALUttk= X-Google-Smtp-Source: ABdhPJyudLYPAxb73Z8oabVqa9sYKILrtxBFK8GI/p9bTXX+1/Y9QJs034F6CrjU60WKR/BsmLKnjjDzIFDOVLIVi30= X-Received: by 2002:a25:41cd:: with SMTP id o196mr29417253yba.181.1589847328875; Mon, 18 May 2020 17:15:28 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 18 May 2020 17:15:28 -0700 From: Stefan Kangas In-Reply-To: References: MIME-Version: 1.0 Date: Mon, 18 May 2020 17:15:28 -0700 Message-ID: Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages To: Dmitry Gutov , 41373@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41373 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dmitry Gutov writes: > On 18.05.2020 05:14, Stefan Kangas wrote: >> I think this is situation could be alleviated by including a static >> section on the pages for individual packages which explains how to >> report bugs. > > Since the example was about project.el, we could limit our response to > adding an explanatory section to :core packages. > > I have a rough patch ready, but having trouble building the HTML pages > of GNU ELPA locally thus far. Indeed, that probably makes more sense. Thanks. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon May 18 20:20:56 2020 Received: (at 41373) by debbugs.gnu.org; 19 May 2020 00:20:56 +0000 Received: from localhost ([127.0.0.1]:48620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaq08-0005YP-By for submit@debbugs.gnu.org; Mon, 18 May 2020 20:20:56 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:36485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaq06-0005YD-Ix for 41373@debbugs.gnu.org; Mon, 18 May 2020 20:20:54 -0400 Received: by mail-qk1-f173.google.com with SMTP id y22so12611604qki.3 for <41373@debbugs.gnu.org>; Mon, 18 May 2020 17:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=j35IxxjzfU4ydfNoRa1XveqF5RibSLHc+5CPEsLABgE=; b=ZxUlSWyyqGtDsdRTwAKiMEFzef+bJvi+o+g/EeDphNtqeQ3w8qXTG5gtWxVzaAj0VO T2dZEQrzS1hzJiQviZuTDYMqXhFfiFbdiB4yjKHC7ecnzmMWE0+q1lx8XSdxRPIf7rKF 2Tq5JutctKw82/hfcKEVodQSUp3SmN1mikVUvZvh0HT7T00CroiwkpuFOFgenIo7nITz RKz6+3ja1gQ3i196y5ZLUif0vaT+md4CKFlmD7OnZ+mWK+4aSr+dKGEOypT4eanTx06v sAnFkNZeOd9gPyfVD6pqIS+kszJB9pPzAS6B2YX0UznDB2EIvye8mW/pMccW20/dYft+ UygQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=j35IxxjzfU4ydfNoRa1XveqF5RibSLHc+5CPEsLABgE=; b=RiUvk66Fvav+Qa/1A8YutAwymf6KZuFviuaxYSraaDaJKR1w/79F10MbguOJKtytcR JyDs7doxf5yFhkBdTfDoPHRptwoTSfyIyFs5Wt2stZ4NoNlqA8QLmqLkAHIrbR5egSTh EXZJzNXOCHmnbyH+gDUW1x/4zLRsAp69yDKFFdMs24SnoRL+vTNSayhpB71F1rB9oMBY vN1DO5Tp9fDB6GxjZnUkE+n6AU27oTbBgaTn5e0LcT/Q12nziTUwuHyl1jIkyUyS3m9v 6mqbE7CAHFWr+cuTlDnAnQmGOjlItbMbByaRAd1In1GGjLyNyrT80yYE4wOLizHMwQ+C Sh1w== X-Gm-Message-State: AOAM5304LgcRpRbxTFTflV3X6wMo9c/L+kfRxiM9sxzPh0l//k/IVhJk PGSEPZR//aeiqJOzKHWhQQMaguaOhu/9CfefJlI= X-Google-Smtp-Source: ABdhPJyj+VtPiDj178W6H+zERCAK8mOpBFKmaEWVaB905OFoPUEK4iqmApykCzs4nIdRxE0tJEx1EJmeYC93mQyzIKw= X-Received: by 2002:a25:9304:: with SMTP id f4mr18596888ybo.309.1589847649105; Mon, 18 May 2020 17:20:49 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 18 May 2020 17:20:48 -0700 From: Stefan Kangas In-Reply-To: <83tv0d86by.fsf@gnu.org> References: <83tv0d86by.fsf@gnu.org> MIME-Version: 1.0 Date: Mon, 18 May 2020 17:20:48 -0700 Message-ID: Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41373 Cc: 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Not sure what you mean by "pages for individual packages". For example: https://elpa.gnu.org/packages/project.html Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Tue May 19 23:54:22 2020 Received: (at 41373) by debbugs.gnu.org; 20 May 2020 03:54:22 +0000 Received: from localhost ([127.0.0.1]:51828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbFoE-0007gd-3d for submit@debbugs.gnu.org; Tue, 19 May 2020 23:54:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbFoC-0007gO-HA for 41373@debbugs.gnu.org; Tue, 19 May 2020 23:54:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38901) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbFo7-00034Q-3O; Tue, 19 May 2020 23:54:15 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jbFo4-0004AY-8c; Tue, 19 May 2020 23:54:12 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Mon, 18 May 2020 17:15:28 -0700) Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: Message-Id: Date: Tue, 19 May 2020 23:54:12 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: 41373@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ 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. ]]] We could have report-emacs-bug ask for which package the bug is in. The Bug Subject argument could be one of the acceptable package names, including 'emacs' and whichever ELPA packages have been loaded. The user could specify one of those. If the definition of a package says where to send bug reports for it, report-emacs-bug could send each bug to the right place. If Bug Subject argument isn't on that list, report-emacs-bug could ask, "Would you like to specify one of the ELPA packages that have been loaded?" But you would not have to do that. If Bug Subject is unknown, the message would go to bug-gnu-emacs, as now. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Wed May 20 01:30:49 2020 Received: (at 41373) by debbugs.gnu.org; 20 May 2020 05:30:49 +0000 Received: from localhost ([127.0.0.1]:51965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbHJZ-0001ir-DC for submit@debbugs.gnu.org; Wed, 20 May 2020 01:30:49 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:45576 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbHJY-0001if-B8 for 41373@debbugs.gnu.org; Wed, 20 May 2020 01:30:48 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 346A3FA0E2; Wed, 20 May 2020 05:30:42 +0000 (UTC) From: Eric Abrahamsen To: Richard Stallman Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: Date: Tue, 19 May 2020 22:30:40 -0700 In-Reply-To: (Richard Stallman's message of "Tue, 19 May 2020 23:54:12 -0400") Message-ID: <87imgr9nr3.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: dgutov@yandex.ru, Stefan Kangas , 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Richard Stallman writes: > [[[ 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. ]]] > > We could have report-emacs-bug ask for which package the bug is in. > The Bug Subject argument could be one of the acceptable package names, > including 'emacs' and whichever ELPA packages have been loaded. The > user could specify one of those. > > If the definition of a package says where to send bug reports for it, > report-emacs-bug could send each bug to the right place. > > If Bug Subject argument isn't on that list, report-emacs-bug could ask, > "Would you like to specify one of the ELPA packages that have been > loaded?" But you would not have to do that. If Bug Subject is unknown, > the message would go to bug-gnu-emacs, as now. Several years ago I cooked up something basic like that. I've attached the patch from that thread, which might serve as the basis for something usable. Eric --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Cc-package-maintainers-when-reporting-emacs-bugs.patch >From 542d7b342d0ce86933d8c6998ca7a817952b0b3f Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Thu, 21 Jul 2016 15:58:47 -0400 Subject: [PATCH] Cc package maintainers when reporting emacs bugs * lisp/mail/emacsbug.el (report-emacs-bug): Prompt for a package to report a bug against, and cc the package maintainer, if any, on the bug report. --- lisp/mail/emacsbug.el | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 18eaa22..87ac234 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -144,11 +144,17 @@ message-send-mail-function (defvar message-sendmail-envelope-from) ;;;###autoload -(defun report-emacs-bug (topic &optional unused) +(defun report-emacs-bug (topic package &optional unused) "Report a bug in GNU Emacs. Prompts for bug subject. Leaves you in a mail buffer." (declare (advertised-calling-convention (topic) "24.5")) - (interactive "sBug Subject: ") + (interactive (list + (read-string "Bug Subject: ") + (completing-read + "Package: " + (progn + (package-initialize) + package-alist)))) ;; The syntax `version;' is preferred to `[version]' because the ;; latter could be mistakenly stripped by mailing software. (if (eq system-type 'ms-dos) @@ -158,6 +164,9 @@ report-emacs-bug (let ((from-buffer (current-buffer)) (can-insert-mail (or (report-emacs-bug-can-use-xdg-email) (report-emacs-bug-can-use-osx-open))) + (cc (unless (or (string-empty-p package) (string= package "emacs")) + (require 'finder) + (lm-maintainer (find-library-name package)))) user-point message-end-point) (setq message-end-point (with-current-buffer (messages-buffer) @@ -184,6 +193,13 @@ report-emacs-bug (when (and (not message-sendmail-envelope-from) (message-bogus-recipient-p (message-make-address))) (set (make-local-variable 'message-sendmail-envelope-from) 'header))) + (when (cdr cc) ;; The cdr is the email address. + (if (derived-mode-p 'message-mode) + (message-goto-cc) + (mail-cc)) + (if (car cc) + (insert (format "%s <%s>" (car cc) (cdr cc))) + (insert (format "%s" (cdr cc))))) (rfc822-goto-eoh) (forward-line 1) ;; Move the mail signature to the proper place. -- 2.9.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 25 05:05:06 2020 Received: (at 41373) by debbugs.gnu.org; 25 May 2020 09:05:06 +0000 Received: from localhost ([127.0.0.1]:39773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd92f-0005sC-PZ for submit@debbugs.gnu.org; Mon, 25 May 2020 05:05:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd92d-0005rc-U2 for 41373@debbugs.gnu.org; Mon, 25 May 2020 05:05:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46221) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd92Y-0001RB-Ct; Mon, 25 May 2020 05:04:58 -0400 Received: from lns-bzn-32-82-254-31-120.adsl.proxad.net ([82.254.31.120]:46580 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jd92N-0003ul-6h; Mon, 25 May 2020 05:04:47 -0400 Received: by guerry (Postfix, from userid 1000) id 5AB561A605CD; Mon, 25 May 2020 11:04:44 +0200 (CEST) From: Bastien To: Eric Abrahamsen Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages Organization: GNU References: <87imgr9nr3.fsf@ericabrahamsen.net> Date: Mon, 25 May 2020 11:04:44 +0200 In-Reply-To: <87imgr9nr3.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 19 May 2020 22:30:40 -0700") Message-ID: <87r1v85qs3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: dgutov@yandex.ru, Stefan Kangas , Richard Stallman , 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Eric, Eric Abrahamsen writes: > Richard Stallman writes: > >> [[[ 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. ]]] >> >> We could have report-emacs-bug ask for which package the bug is in. >> The Bug Subject argument could be one of the acceptable package names, >> including 'emacs' and whichever ELPA packages have been loaded. The >> user could specify one of those. >> >> If the definition of a package says where to send bug reports for it, >> report-emacs-bug could send each bug to the right place. >> >> If Bug Subject argument isn't on that list, report-emacs-bug could ask, >> "Would you like to specify one of the ELPA packages that have been >> loaded?" But you would not have to do that. If Bug Subject is unknown, >> the message would go to bug-gnu-emacs, as now. > > Several years ago I cooked up something basic like that. I've attached > the patch from that thread, which might serve as the basis for something > usable. I tested your patch and it looks really useful to me. Two things that come to my mind: - Package completion could not find "org" as a package: still, a bare emacs -q list Org as a built-in package. Maybe we can add those to the completion list? - If completion fails, then the bug reporting process is stopped, which may be confusing for users -- when there is no completion, I suggest to fall back on the current report-emacs-bug behavior. - I wonder what happens if the "maintainer" email is a mailing list address: this might lead to confusion, with people cross-posting to both bug-gnu-emacs@gnu.org and emacs-orgmode@gnu.org for example, which would perhaps lead to some more confusion because bugs on bug-gnu-emacs@gnu.org are posted to emacs-orgmode@gnu.org when they are tagged "org-mode" (if I understand correctly). A simple solution for the last issue would be to forbid mailing list addresses in the "maintainer" email field. In the case of org-mode, for example, the address could be that of someone in charge of doing bug triage, assigning tags to bug-gnu-emacs@gnu.org when needed. In any case, thanks for spending time on this! -- Bastien From debbugs-submit-bounces@debbugs.gnu.org Mon May 25 07:51:24 2020 Received: (at 41373) by debbugs.gnu.org; 25 May 2020 11:51:24 +0000 Received: from localhost ([127.0.0.1]:40078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdBdc-0005rM-Li for submit@debbugs.gnu.org; Mon, 25 May 2020 07:51:24 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:53320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdBdb-0005r9-7j for 41373@debbugs.gnu.org; Mon, 25 May 2020 07:51:23 -0400 Received: by mail-wm1-f47.google.com with SMTP id l26so905355wme.3 for <41373@debbugs.gnu.org>; Mon, 25 May 2020 04:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/eBsCXbEczfOz81sIsgqHHYOR7vlC0KOrJk7dZCsv54=; b=IORmyzZ5xUlkokWgG/iRm1a1G7AdK1qjKBlcLw2ydeEKY2r+vNcet9IuHTQkHTasz3 9NfdLtJIDl2n6c3FCkYcTNFTvXuMUk5is98HRLvHZN+qJC0btWJC75jCiAieYst+pAjm cgnHv8T7X7RoVj25e4fue6jxULNFY6eGD4/MTCJMgvActtBywEhHYpv7c8XAnFwEuYs4 o3bwcNAQRilEubDPOtr8fNFiHyadkri8CUCzm5pEH0Ewl2qxb7R3LDCwVz+X0HRO/6/6 A32I8pbioSzXvsnHOHv+d0DpnXj/NK76eG/r5bbcWe4ymE0uqlB1f7aNaL4dyh4tlr3/ 96jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/eBsCXbEczfOz81sIsgqHHYOR7vlC0KOrJk7dZCsv54=; b=a+h8CMHJVaoVLwuEEhcpZ5vKOz68NVWeEIwl76He08HJ1j9Q5dmUCoFCObEXzZVXvn h0KgV5TVeT6EVIgSycN2491T4wQLcv7TjnPm7r7uiwKB2LRNfadAcg7GUVVodxXY9tPt 7FTKfx/6LfQRvv+NsnX3kuOrLlrjmN+vWH9jW/u/XgM9NRSida89SbscFmbvHd/paUsA JklhxJy6t6F8W0FxFGXij2IO+Qer7wj+lBRVhqcKLUwB8IEMyMBLRc9hoyNQVbtco6SJ VMkfFrNyOfDYegnd143K2pHgLA1KXOXejYrNqAhh/zo8XQasDfH+b+j3V8DBjOhvU8vD W6yA== X-Gm-Message-State: AOAM532NcbFBkRsZoOIQc7TJ0/badTifSVwjiSpqTphFc4Cxb7KdqTG+ JhoteksvUvt/fn5flw31nIR9UpMH X-Google-Smtp-Source: ABdhPJx9KBsp+ZbeMytCbEzdUPS8EipaT4a3qhEgjhg886TgZgeqTRYX0Qf+W6ewvw7FNcqqqntaMg== X-Received: by 2002:a1c:9a47:: with SMTP id c68mr13464273wme.19.1590407476899; Mon, 25 May 2020 04:51:16 -0700 (PDT) Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id 94sm18695741wrf.74.2020.05.25.04.51.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 May 2020 04:51:16 -0700 (PDT) Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages To: rms@gnu.org, Stefan Kangas References: From: Dmitry Gutov Message-ID: <20d99f0b-a0d3-6cc6-c018-c7d35d2cd4d5@yandex.ru> Date: Mon, 25 May 2020 14:51:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 41373 Cc: 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 20.05.2020 06:54, Richard Stallman wrote: > We could have report-emacs-bug ask for which package the bug is in. > The Bug Subject argument could be one of the acceptable package names, > including 'emacs' and whichever ELPA packages have been loaded. The > user could specify one of those. I hope people understand that this won't solve the problem reported by the user: they didn't know that 'M-x report-emacs-bug' should be used in this case at all. From debbugs-submit-bounces@debbugs.gnu.org Mon May 25 11:39:19 2020 Received: (at 41373) by debbugs.gnu.org; 25 May 2020 15:39:20 +0000 Received: from localhost ([127.0.0.1]:42205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdFCB-0007cG-F3 for submit@debbugs.gnu.org; Mon, 25 May 2020 11:39:19 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:59748 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdFCA-0007c3-CX for 41373@debbugs.gnu.org; Mon, 25 May 2020 11:39:18 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 65E98FA0E2; Mon, 25 May 2020 15:39:12 +0000 (UTC) From: Eric Abrahamsen To: Bastien Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> Date: Mon, 25 May 2020 08:39:10 -0700 In-Reply-To: <87r1v85qs3.fsf@gnu.org> (Bastien's message of "Mon, 25 May 2020 11:04:44 +0200") Message-ID: <87imgkt469.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: dgutov@yandex.ru, 41373@debbugs.gnu.org, Richard Stallman , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Bastien writes: > Hi Eric, > > Eric Abrahamsen writes: > >> Richard Stallman writes: >> >>> [[[ 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. ]]] >>> >>> We could have report-emacs-bug ask for which package the bug is in. >>> The Bug Subject argument could be one of the acceptable package names, >>> including 'emacs' and whichever ELPA packages have been loaded. The >>> user could specify one of those. >>> >>> If the definition of a package says where to send bug reports for it, >>> report-emacs-bug could send each bug to the right place. >>> >>> If Bug Subject argument isn't on that list, report-emacs-bug could ask, >>> "Would you like to specify one of the ELPA packages that have been >>> loaded?" But you would not have to do that. If Bug Subject is unknown, >>> the message would go to bug-gnu-emacs, as now. >> >> Several years ago I cooked up something basic like that. I've attached >> the patch from that thread, which might serve as the basis for something >> usable. > > I tested your patch and it looks really useful to me. > > Two things that come to my mind: > > - Package completion could not find "org" as a package: still, a bare > emacs -q list Org as a built-in package. Maybe we can add those to > the completion list? I think in the original discussion the patch went back and forth between completing on `package-alist' and completing on `features'. The former didn't offer enough, the latter offered too much. > - If completion fails, then the bug reporting process is stopped, > which may be confusing for users -- when there is no completion, > I suggest to fall back on the current report-emacs-bug behavior. Yes, that's a bug! It shouldn't require a package. > - I wonder what happens if the "maintainer" email is a mailing list > address: this might lead to confusion, with people cross-posting to > both bug-gnu-emacs@gnu.org and emacs-orgmode@gnu.org for example, > which would perhaps lead to some more confusion because bugs on > bug-gnu-emacs@gnu.org are posted to emacs-orgmode@gnu.org when they > are tagged "org-mode" (if I understand correctly). If we complete on `features', that's definitely an issue. I think my solution in that version of the patch simply dropped the issue if the Maintainer header was emacs-devel, or there was no Maintainer. > A simple solution for the last issue would be to forbid mailing list > addresses in the "maintainer" email field. In the case of org-mode, > for example, the address could be that of someone in charge of doing > bug triage, assigning tags to bug-gnu-emacs@gnu.org when needed. > > In any case, thanks for spending time on this! My pleasure -- as Dmitry notes, this might not solve the problem that this thread is about, but I think it's definitely worthwhile on its own. Eric From debbugs-submit-bounces@debbugs.gnu.org Mon May 25 13:09:19 2020 Received: (at 41373) by debbugs.gnu.org; 25 May 2020 17:09:19 +0000 Received: from localhost ([127.0.0.1]:42394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdGbH-0003am-5j for submit@debbugs.gnu.org; Mon, 25 May 2020 13:09:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdGbF-0003aZ-Tr for 41373@debbugs.gnu.org; Mon, 25 May 2020 13:09:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52945) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdGbA-0005mf-0S; Mon, 25 May 2020 13:09:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jdGb2-0003JZ-CP; Mon, 25 May 2020 13:09:08 -0400 From: Glenn Morris To: Eric Abrahamsen Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> X-Spook: counter terrorism Nationalist Violence Legion of Doom X-Ran: kcLuI_OCv-0DRAc}a/o~v.Kw`:G0^RvB46Vjbmy$iGli+Kv|60+nmpk34>Phgq')w;o0s& X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 25 May 2020 13:09:03 -0400 In-Reply-To: <87imgkt469.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 25 May 2020 08:39:10 -0700") Message-ID: <7w5zckuekw.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: Bastien , dgutov@yandex.ru, Stefan Kangas , Richard Stallman , 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This should use "X-Debbugs-CC" rather than "Cc". Experience with c-submit-bug-report is that some mail clients don't support X- headers, so it should also add a pseudo-header to the start of the message body. Maintainers of some packages may have no interest in interacting with debbugs.gnu.org, so Someone will need to tidy up those reports. From debbugs-submit-bounces@debbugs.gnu.org Mon May 25 13:49:59 2020 Received: (at 41373) by debbugs.gnu.org; 25 May 2020 17:49:59 +0000 Received: from localhost ([127.0.0.1]:42465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdHEd-0004gx-LE for submit@debbugs.gnu.org; Mon, 25 May 2020 13:49:59 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:37606 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdHEb-0004gl-S7 for 41373@debbugs.gnu.org; Mon, 25 May 2020 13:49:58 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 13B99FA0E2; Mon, 25 May 2020 17:49:50 +0000 (UTC) From: Eric Abrahamsen To: Glenn Morris Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <7w5zckuekw.fsf@fencepost.gnu.org> Date: Mon, 25 May 2020 10:49:47 -0700 In-Reply-To: <7w5zckuekw.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 25 May 2020 13:09:03 -0400") Message-ID: <87eer7ucp0.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: Bastien , dgutov@yandex.ru, 41373@debbugs.gnu.org, Richard Stallman , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Glenn Morris writes: > This should use "X-Debbugs-CC" rather than "Cc". > Experience with c-submit-bug-report is that some mail clients don't > support X- headers, so it should also add a pseudo-header to the start > of the message body. Thanks for these notes! I'll make this change. > Maintainers of some packages may have no interest in interacting with > debbugs.gnu.org, so Someone will need to tidy up those reports. By "tidy up" do you mean close the reports and let them get resolved elsewhere? Interacting with debbugs seems fairly low-overhead when it's just a matter of keeping it in the cc. Thanks again, Eric From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 02:32:41 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 06:32:41 +0000 Received: from localhost ([127.0.0.1]:34361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfe01-0004sh-LM for submit@debbugs.gnu.org; Mon, 01 Jun 2020 02:32:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfe00-0004sU-4p for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 02:32:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42264) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfdzu-0002yP-56; Mon, 01 Jun 2020 02:32:34 -0400 Received: from lns-bzn-32-82-254-31-120.adsl.proxad.net ([82.254.31.120]:44904 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jfdzm-0007bE-W4; Mon, 01 Jun 2020 02:32:27 -0400 Received: by guerry (Postfix, from userid 1000) id ADA251A603C1; Mon, 1 Jun 2020 08:32:24 +0200 (CEST) From: Bastien To: Eric Abrahamsen Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages Organization: GNU References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> Date: Mon, 01 Jun 2020 08:32:24 +0200 In-Reply-To: <87imgkt469.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 25 May 2020 08:39:10 -0700") Message-ID: <87h7vvjnyf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 41373 Cc: dgutov@yandex.ru, Stefan Kangas , Richard Stallman , 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Eric, Eric Abrahamsen writes: > I think in the original discussion the patch went back and forth between > completing on `package-alist' and completing on `features'. The former > didn't offer enough, the latter offered too much. While not offering "enough", the former is already an improvement, I'd be in favor of implementing it. The latter really offers too much IMO. > If we complete on `features', that's definitely an issue. I think my > solution in that version of the patch simply dropped the issue if the > Maintainer header was emacs-devel, or there was no Maintainer. Yes, it looks fine to me like this. > My pleasure -- as Dmitry notes, this might not solve the problem that > this thread is about, but I think it's definitely worthwhile on its own. Definitely. What is still needed here so that you can make this change? -- Bastien From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 14:29:32 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 18:29:32 +0000 Received: from localhost ([127.0.0.1]:36995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfpBk-00045N-7E for submit@debbugs.gnu.org; Mon, 01 Jun 2020 14:29:32 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:41726 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfpBa-000453-Ve for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 14:29:30 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 4493CFA034; Mon, 1 Jun 2020 18:29:16 +0000 (UTC) From: Eric Abrahamsen To: Bastien Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages In-Reply-To: <87h7vvjnyf.fsf@gnu.org> (Bastien's message of "Mon, 01 Jun 2020 08:32:24 +0200") References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 01 Jun 2020 11:29:14 -0700 Message-ID: <877dwqbpxh.fsf@ericabrahamsen.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: dgutov@yandex.ru, Stefan Kangas , Richard Stallman , 41373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain On 06/01/20 08:32 AM, Bastien wrote: > Hi Eric, > > Eric Abrahamsen writes: > >> I think in the original discussion the patch went back and forth between >> completing on `package-alist' and completing on `features'. The former >> didn't offer enough, the latter offered too much. > > While not offering "enough", the former is already an improvement, I'd > be in favor of implementing it. The latter really offers too much IMO. Yes, I've come to the same conclusion over time. >> If we complete on `features', that's definitely an issue. I think my >> solution in that version of the patch simply dropped the issue if the >> Maintainer header was emacs-devel, or there was no Maintainer. > > Yes, it looks fine to me like this. > >> My pleasure -- as Dmitry notes, this might not solve the problem that >> this thread is about, but I think it's definitely worthwhile on its own. > > Definitely. What is still needed here so that you can make this change? Here's a new version of the patch. It: 1. doesn't require a package 2. only honors the Maintainer header (not the Author header, if there's no Maintainer) 3. screens out "emacs.devel@gnu.org" as a Maintainer value (we could easily add more values to screen out) 4. uses X-Debbugs-CC instead of Cc 5. Adds a "Package:" pseudo-header Remaining questions: 1. I've seen some reference to a X-Debbugs-Package header, is that honored? 2. Glenn mentioned the fact that some package maintainers might not want anything to do with debbugs. I'm not sure how to handle that situation, except manually. I suppose, if we do end up adding a package maintainer, we could also add a line of text in the intangible instructions saying, "If you don't want to deal with this bug on the Emacs bug tracker, please send a message to XXX-done@debbugs.gnu.org to close it." 3. Lastly, this is a fairly in-your-face change to how Emacs bugs are reported, and I'm not sure everyone agrees it's a good idea! Adding an extra prompt to the process is a bit intrusive. Eric --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Cc-package-maintainers-when-reporting-emacs-bugs.patch >From ae806f23a8e8b784ed1c18a0783c563fa013f601 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Thu, 21 Jul 2016 15:58:47 -0400 Subject: [PATCH] Cc package maintainers when reporting emacs bugs * lisp/mail/emacsbug.el (report-emacs-bug): Prompt for a package to report a bug against, and cc the package maintainer, if any, on the bug report. --- lisp/mail/emacsbug.el | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 7f3dc4454a..0a39cb682f 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -206,17 +206,30 @@ message-send-mail-function (defvar message-sendmail-envelope-from) ;;;###autoload -(defun report-emacs-bug (topic &optional unused) +(defun report-emacs-bug (topic package &optional unused) "Report a bug in GNU Emacs. Prompts for bug subject. Leaves you in a mail buffer." (declare (advertised-calling-convention (topic) "24.5")) - (interactive "sBug Subject: ") + (interactive (list + (read-string "Bug Subject: ") + (completing-read + "Package: " + (progn + (package-initialize) + package-alist) + nil nil))) ;; The syntax `version;' is preferred to `[version]' because the ;; latter could be mistakenly stripped by mailing software. (setq topic (concat emacs-version "; " topic)) (let ((from-buffer (current-buffer)) (can-insert-mail (or (report-emacs-bug-can-use-xdg-email) (report-emacs-bug-can-use-osx-open))) + (cc (unless (or (string-empty-p package) (string= package "emacs")) + (require 'finder) + (lm-with-file (find-library-name package) + ;; Don't use `lm-maintainer', as that falls back on + ;; author. + (lm-header "maintainer")))) user-point message-end-point) (setq message-end-point (with-current-buffer (messages-buffer) @@ -232,7 +245,7 @@ report-emacs-bug (compose-mail report-emacs-bug-address topic) ;; The rest of this does not execute if the user was asked to ;; confirm and said no. - (when (eq major-mode 'message-mode) + (when (derived-mode-p 'message-mode) ;; Message-mode sorts the headers before sending. We sort now so ;; that report-emacs-bug-orig-text remains valid. (Bug#5178) (message-sort-headers) @@ -243,6 +256,15 @@ report-emacs-bug (when (and (not (message--sendmail-envelope-from)) (message-bogus-recipient-p (message-make-address))) (set (make-local-variable 'message-sendmail-envelope-from) 'header))) + (when (and cc + (setq cc (lm-crack-address cc)) + (null (string= "emacs.devel@gnu.org" (cdr cc)))) + (if (derived-mode-p 'message-mode) + (message-position-on-field "X-Debbugs-CC") + (mail-position-on-field "X-Debbugs-CC")) + (if (car cc) + (insert (format "%s <%s>" (car cc) (cdr cc))) + (insert (format "%s" (cdr cc))))) (rfc822-goto-eoh) (forward-line 1) ;; Move the mail signature to the proper place. @@ -415,7 +437,9 @@ report-emacs-bug (make-local-variable 'report-emacs-bug-orig-text) (setq report-emacs-bug-orig-text (buffer-substring-no-properties (point-min) (point))) - (goto-char user-point))) + (goto-char user-point) + (unless (string-empty-p package) + (insert "Package: " package "\n\n")))) (define-obsolete-function-alias 'report-emacs-bug-info 'info-emacs-bug "24.3") -- 2.26.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 14:42:16 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 18:42:16 +0000 Received: from localhost ([127.0.0.1]:37007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfpO4-0004PU-80 for submit@debbugs.gnu.org; Mon, 01 Jun 2020 14:42:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfpO3-0004PI-43 for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 14:42:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54797) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfpNw-0000s2-Uw; Mon, 01 Jun 2020 14:42:08 -0400 Received: from [176.228.60.248] (port=4905 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jfpNo-00043Q-S0; Mon, 01 Jun 2020 14:42:01 -0400 Date: Mon, 01 Jun 2020 21:41:55 +0300 Message-Id: <83k10qeih8.fsf@gnu.org> From: Eli Zaretskii To: Eric Abrahamsen In-Reply-To: <877dwqbpxh.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Mon, 01 Jun 2020 11:29:14 -0700) Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: bzg@gnu.org, dgutov@yandex.ru, 41373@debbugs.gnu.org, rms@gnu.org, stefankangas@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Eric Abrahamsen > Date: Mon, 01 Jun 2020 11:29:14 -0700 > Cc: 41373@debbugs.gnu.org, Stefan Kangas , > Richard Stallman , dgutov@yandex.ru > > + (interactive (list > + (read-string "Bug Subject: ") > + (completing-read > + "Package: " > + (progn > + (package-initialize) > + package-alist) > + nil nil))) Does this mean reporting a bug will initialize all the packages that are installed? Will it also access the network and check for upgrades? I'm not sure I understand the need to produce a potentially huge list of completion candidates, when it isn't even clear that the bug is about some add-on package. Can we be smarter about this? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 15:25:21 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 19:25:21 +0000 Received: from localhost ([127.0.0.1]:37040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfq3l-0005Ri-0D for submit@debbugs.gnu.org; Mon, 01 Jun 2020 15:25:21 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:45838 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfq3j-0005RT-MK for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 15:25:19 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 17AD1FA034; Mon, 1 Jun 2020 19:25:12 +0000 (UTC) From: Eric Abrahamsen To: Eli Zaretskii Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> <83k10qeih8.fsf@gnu.org> Date: Mon, 01 Jun 2020 12:25:11 -0700 In-Reply-To: <83k10qeih8.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Jun 2020 21:41:55 +0300") Message-ID: <87mu5ma8rs.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: bzg@gnu.org, dgutov@yandex.ru, 41373@debbugs.gnu.org, rms@gnu.org, stefankangas@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 06/01/20 21:41 PM, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Date: Mon, 01 Jun 2020 11:29:14 -0700 >> Cc: 41373@debbugs.gnu.org, Stefan Kangas , >> Richard Stallman , dgutov@yandex.ru >> >> + (interactive (list >> + (read-string "Bug Subject: ") >> + (completing-read >> + "Package: " >> + (progn >> + (package-initialize) >> + package-alist) >> + nil nil))) > > Does this mean reporting a bug will initialize all the packages that > are installed? Will it also access the network and check for > upgrades? I don't believe so, no. But we should probably call `package-initialize' with the NO-ACTIVATE argument, which will skip loading autoloads and some other stuff. Or, for minimum invasiveness, just skip everything if `package-alist' is nil. > I'm not sure I understand the need to produce a potentially huge list > of completion candidates, when it isn't even clear that the bug is > about some add-on package. Can we be smarter about this? Right, this is the part of the suggestion with the biggest question marks. I can imagine the prompt would get annoying for frequent contributors who are mostly filing bugs against emacs itself. The only thing I can think of is providing a separate command, `report-emacs-package-bug', that is a thin wrapper around `report-emacs-bug'. That could live in package.el. Actually, maybe that's the way to go? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 15:38:25 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 19:38:25 +0000 Received: from localhost ([127.0.0.1]:37049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfqGP-0005lq-G8 for submit@debbugs.gnu.org; Mon, 01 Jun 2020 15:38:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfqGN-0005ld-Ti for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 15:38:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56034) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfqGI-0002ji-6n; Mon, 01 Jun 2020 15:38:18 -0400 Received: from [176.228.60.248] (port=4408 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jfqGA-00024c-OH; Mon, 01 Jun 2020 15:38:11 -0400 Date: Mon, 01 Jun 2020 22:38:04 +0300 Message-Id: <83ftbeefvn.fsf@gnu.org> From: Eli Zaretskii To: Eric Abrahamsen In-Reply-To: <87mu5ma8rs.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Mon, 01 Jun 2020 12:25:11 -0700) Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> <83k10qeih8.fsf@gnu.org> <87mu5ma8rs.fsf@ericabrahamsen.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: bzg@gnu.org, dgutov@yandex.ru, 41373@debbugs.gnu.org, rms@gnu.org, stefankangas@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Eric Abrahamsen > Cc: bzg@gnu.org, 41373@debbugs.gnu.org, stefankangas@gmail.com, > rms@gnu.org, dgutov@yandex.ru > Date: Mon, 01 Jun 2020 12:25:11 -0700 > > > I'm not sure I understand the need to produce a potentially huge list > > of completion candidates, when it isn't even clear that the bug is > > about some add-on package. Can we be smarter about this? > > Right, this is the part of the suggestion with the biggest question > marks. I can imagine the prompt would get annoying for frequent > contributors who are mostly filing bugs against emacs itself. > > The only thing I can think of is providing a separate command, > `report-emacs-package-bug', that is a thin wrapper around > `report-emacs-bug'. That could live in package.el. I thought about making some conclusions from the text of the report, which may contain function names. Of course, this is only possible after the report is written and is about to be sent. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 15:53:07 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 19:53:07 +0000 Received: from localhost ([127.0.0.1]:37066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfqUd-00067S-Fb for submit@debbugs.gnu.org; Mon, 01 Jun 2020 15:53:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfqUa-00066y-JM for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 15:53:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56218) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfqUU-0007Er-If; Mon, 01 Jun 2020 15:52:58 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jfqUM-00036Q-Vm; Mon, 01 Jun 2020 15:52:51 -0400 From: Glenn Morris To: Eric Abrahamsen Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> X-Spook: INSCOM USCG Foot and Mouth Mitigation ASPIC UOP ASLET X-Ran: fGN{'=R&o-K0p{}Q,I57UGY?>bg9Xod24rt49D5>|"h6]h.1n*MG&tVV.1E,T{]Y0UB(B$ X-Hue: brightwhite X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 01 Jun 2020 15:52:47 -0400 In-Reply-To: <877dwqbpxh.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 01 Jun 2020 11:29:14 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: Bastien , dgutov@yandex.ru, 41373@debbugs.gnu.org, Richard Stallman , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eric Abrahamsen wrote: > 5. Adds a "Package:" pseudo-header That is not the right thing to do. A debbugs.gnu.org package is not the same thing as an elpa.gnu.org package. [1] The valid debbugs.gnu.org packages are listed at https://debbugs.gnu.org/Packages.html Trying to use one not listed there will result in the mail going to the help-debbugs list. Separately, you should add an "X-Debbugs-CC" pseudo-header, because it seems some mail clients don't allow arbitrary (real) X- mail headers. I hope this is at most restricted to elpa.gnu.org packages. There are already thousands of open Emacs bug reports. If reports for melpa packages start getting funnelled into the same system, it will make it harder than it already is to find relevant reports. (Also IMO this doesn't actually fix the issue from this bug report. Each elpa.gnu.org package should still be defining where it wants its bug reports to go to. This may be the maintainer address, github issue, or whatever.) [1] With some effort, someone could in principle automatically create an elpa-X package on debbugs for every package X on elpa.gnu.org. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 16:07:04 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 20:07:04 +0000 Received: from localhost ([127.0.0.1]:37076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfqi7-0006Su-Ux for submit@debbugs.gnu.org; Mon, 01 Jun 2020 16:07:04 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:48940 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfqi7-0006SS-2A for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 16:07:03 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 3A89DFA034; Mon, 1 Jun 2020 20:06:57 +0000 (UTC) From: Eric Abrahamsen To: Eli Zaretskii Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> <83k10qeih8.fsf@gnu.org> <87mu5ma8rs.fsf@ericabrahamsen.net> <83ftbeefvn.fsf@gnu.org> Date: Mon, 01 Jun 2020 13:06:55 -0700 In-Reply-To: <83ftbeefvn.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Jun 2020 22:38:04 +0300") Message-ID: <87ftbea6u8.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: bzg@gnu.org, dgutov@yandex.ru, 41373@debbugs.gnu.org, rms@gnu.org, stefankangas@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 06/01/20 22:38 PM, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Cc: bzg@gnu.org, 41373@debbugs.gnu.org, stefankangas@gmail.com, >> rms@gnu.org, dgutov@yandex.ru >> Date: Mon, 01 Jun 2020 12:25:11 -0700 >> >> > I'm not sure I understand the need to produce a potentially huge list >> > of completion candidates, when it isn't even clear that the bug is >> > about some add-on package. Can we be smarter about this? >> >> Right, this is the part of the suggestion with the biggest question >> marks. I can imagine the prompt would get annoying for frequent >> contributors who are mostly filing bugs against emacs itself. >> >> The only thing I can think of is providing a separate command, >> `report-emacs-package-bug', that is a thin wrapper around >> `report-emacs-bug'. That could live in package.el. > > I thought about making some conclusions from the text of the report, > which may contain function names. Of course, this is only possible > after the report is written and is about to be sent. Huh, so just before sending build a regexp like: (mapconcat (lambda (p) (format "\\_<%s-" (symbol-name (car p)))) package-alist "\\|") run it over the subject and body, and then either automatically add the package header, or stop and prompt the user? Feels a bit guess-worky to me, but it would certainly be possible! From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 16:31:38 2020 Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 20:31:38 +0000 Received: from localhost ([127.0.0.1]:37112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfr5u-00073L-2C for submit@debbugs.gnu.org; Mon, 01 Jun 2020 16:31:38 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:50726 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfr5s-000738-5e for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 16:31:36 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 52931FA034; Mon, 1 Jun 2020 20:31:30 +0000 (UTC) From: Eric Abrahamsen To: Glenn Morris Subject: Re: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> Date: Mon, 01 Jun 2020 13:31:29 -0700 In-Reply-To: (Glenn Morris's message of "Mon, 01 Jun 2020 15:52:47 -0400") Message-ID: <87blm2a5pa.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41373 Cc: Bastien , dgutov@yandex.ru, 41373@debbugs.gnu.org, Richard Stallman , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 06/01/20 15:52 PM, Glenn Morris wrote: > Eric Abrahamsen wrote: > >> 5. Adds a "Package:" pseudo-header > > That is not the right thing to do. > A debbugs.gnu.org package is not the same thing as an elpa.gnu.org package. [1] > The valid debbugs.gnu.org packages are listed at > https://debbugs.gnu.org/Packages.html > Trying to use one not listed there will result in the mail going to the > help-debbugs list. > > Separately, you should add an "X-Debbugs-CC" pseudo-header, because it > seems some mail clients don't allow arbitrary (real) X- mail headers. Thanks for this. You'd mentioned a pseudo-header in your previous message, and all I could see defined was "Package" and "Version", so I assumed you meant Package; my mistake. > I hope this is at most restricted to elpa.gnu.org packages. > There are already thousands of open Emacs bug reports. > If reports for melpa packages start getting funnelled into the same > system, it will make it harder than it already is to find relevant reports. Good point. You could also argue that, by putting their packages on Melpa, these authors have already implicitly hinted that they'd rather not interact with the Emacs organization/infrastructure. > (Also IMO this doesn't actually fix the issue from this bug report. > Each elpa.gnu.org package should still be defining where it wants its > bug reports to go to. This may be the maintainer address, github issue, > or whatever.) While I was succumbing to mission-creep this afternoon, I thought of the same thing: an "Issues-to" package header. This would also give package authors an explicit mechanism to opt out of debbugs. > [1] With some effort, someone could in principle automatically create an > elpa-X package on debbugs for every package X on elpa.gnu.org. Dunno about this. I started with this idea from the point of view of an (ELPA) package maintainer. At this point, I'm happy to just implement whatever everyone agrees makes the most sense. Eric