From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#57877: [PATCH] Add empty X-Debbugs-Cc header to bug report template Date: Sat, 17 Sep 2022 10:45:55 +0200 Message-ID: <87edwacrss.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8106"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 57877@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 10:47:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZTTm-0001zS-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 10:47:14 +0200 Original-Received: from localhost ([::1]:48816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZTTl-0007Hi-8S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 04:47:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZTTb-0007HV-67 for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 04:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZTTa-0008Eu-UM for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 04:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZTTa-0001ZW-FE for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 04:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 08:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57877 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16634043695976 (code B ref -1); Sat, 17 Sep 2022 08:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Sep 2022 08:46:09 +0000 Original-Received: from localhost ([127.0.0.1]:45160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZTSg-0001YH-F0 for submit@debbugs.gnu.org; Sat, 17 Sep 2022 04:46:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZTSb-0001XY-FW for submit@debbugs.gnu.org; Sat, 17 Sep 2022 04:46:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZTSa-00076s-Qa for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 04:46:01 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:46667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZTSZ-00085y-7H for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 04:46:00 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id z13so20622469edb.13 for ; Sat, 17 Sep 2022 01:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date; bh=drDSpue89wA7Naas8usENukKc/kglF6IVMDVsE3q/iI=; b=p7VyygYLKJ40QEDInf8f579kJHG0/9FYdS92m5JTrMxOJprt3UhZv6l8av2R+uqErV c/SBVMiuXLdMjH7oDBAa/0h5WyonrfmRHTnxYyYOM7wWM15RU9GbL9zMguPje5nZz6EH +Pxc8HgV7gQ8DxlY9jqxaBfVU2ymdulgB6WIY/7LwgeZfi2StCWZ4tG5OfleicwTt01A 5VC+qL9YhRePtx+sbSM7326YG6BBQt22LDhgI4pdg6CEFVU03Eo9MmpDSnELCUhc0WQR +r4b/zQrgJ/pWL+ILYI8xmZnPUt0LWfueCh444kvNdl4rbUNdLCzyfqpmyjAjaFJL74x Yi/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date; bh=drDSpue89wA7Naas8usENukKc/kglF6IVMDVsE3q/iI=; b=432Qf1Rk5BFT49LFF4rMGu+frtuRPVKw11BoRCkoDgZ9JH+HXiQ9L+DGbIMnycWpv1 F3B0N/p4hdT4n/ETwffxkxu19cH/RwUKnXeNSxVa+3ZqGZT9vMKx6502uyveLBbUbcjK E8XQ3x5yGV+4K8sHHHwVDdxcoEqSDl7omODXC8BYCQs1vdUBKO8G3HEKBC/6OX1+QROf JaqKDXO837jEePFnrIeYT8u47+Av5Q3gs7jOf9UagNlVYvABP32DBYwbszTTobSHrhfS IqeqhB9U7j4AK44dCJx5dIWBVrYMxojS+mR1g4e7WB1U8CdgiPB/cEkI/3XxGgY+/CB9 i3NA== X-Gm-Message-State: ACrzQf2W+MW0yA+Pjiy2ID7PDqDu4zf4zTV/izElxXE4QZA3TzyixCm+ 9dqmmevyPXPGiLc3p7LqCy1ra0nsYXQ= X-Google-Smtp-Source: AMsMyM6bAz1FNwvan8ESKxb51xzrr9j5E27FBa3K588CJLWFIRhr+ynvIoBBrXVZu4RzWfoZ5gSGqA== X-Received: by 2002:aa7:da4f:0:b0:44e:864b:7a3e with SMTP id w15-20020aa7da4f000000b0044e864b7a3emr7283127eds.378.1663404357369; Sat, 17 Sep 2022 01:45:57 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8510]) by smtp.gmail.com with ESMTPSA id p5-20020a50cd85000000b0043ba7df7a42sm15448320edi.26.2022.09.17.01.45.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 01:45:56 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x534.google.com 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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242851 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tags: patch I can never remember what that funny CC header was when I need it, how about adding an empty X-Debbugs-Cc to the bug report and patch message templates? An alternative would be to add a reminder and explanation about it to that portion of text that gets deleted (=E2=80=9CThis bug report will be sent...=E2=80=9D). In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-09-14 built on ars3 Repository revision: a9941269683fe50673d0aa81feefb7a9d3d8a6b9 Repository branch: HEAD System Description: Fedora Linux 36 (Workstation Edition) Configured using: 'configure --with-pgtk' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Add-empty-X-Debbugs-Cc-header-to-bug-report-template.patch >From 8a15db7a0ad9e102ed7bb50bb8a9e02e232cce96 Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Sat, 17 Sep 2022 10:39:46 +0200 Subject: [PATCH] Add empty X-Debbugs-Cc header to bug report template * lisp/mail/emacsbug.el: (report-emacs-bug, submit-emacs-patch): Add empty X-Debbugs-Cc header. --- lisp/mail/emacsbug.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index a85ceaf1a5..ea99e3eddc 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -228,7 +228,7 @@ report-emacs-bug (set-window-dedicated-p nil nil) (set-frame-parameter nil 'unsplittable nil)) (error nil)) - (compose-mail report-emacs-bug-address topic) + (compose-mail report-emacs-bug-address topic '(("X-Debbugs-Cc" . ""))) ;; The rest of this does not execute if the user was asked to ;; confirm and said no. (when (eq major-mode 'message-mode) @@ -518,7 +518,10 @@ submit-emacs-patch (goto-char (point-min)) (view-mode 1) (button-mode 1)) - (compose-mail-other-window report-emacs-bug-address subject) + (compose-mail-other-window report-emacs-bug-address + subject + '(("X-Debbugs-Cc" . ""))) + (message-sort-headers) (message-goto-body) (insert "\n\n\n") (emacs-bug--system-description) -- 2.37.3 --=-=-=--