From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#15784: 24.3.50; cc-mode bug reporting Date: Sun, 10 Nov 2013 13:43:19 -0500 Message-ID: <87d2m8yu60.fsf@maru2.md5i.com> References: <87k3gs9kmv.fsf@maru2.md5i.com> <20131103215429.GA2917@acm.acm> <20131106202839.GA4404@acm.acm> <20131110111031.GA3089@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384109110 22346 80.91.229.3 (10 Nov 2013 18:45:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2013 18:45:10 +0000 (UTC) Cc: Michael Welsh Duggan , 15784@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 10 19:45:15 2013 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 1Vfa0Y-0008B5-N0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2013 19:45:14 +0100 Original-Received: from localhost ([::1]:33167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfa0Y-0000dF-9g for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2013 13:45:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfZzX-0000RP-Q6 for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 13:44:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfZzT-0001xT-L0 for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 13:44:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfZzO-0001wT-VB; Sun, 10 Nov 2013 13:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VfZzO-00028R-9Y; Sun, 10 Nov 2013 13:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 10 Nov 2013 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15784 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 15784-submit@debbugs.gnu.org id=B15784.13841090078092 (code B ref 15784); Sun, 10 Nov 2013 18:44:02 +0000 Original-Received: (at 15784) by debbugs.gnu.org; 10 Nov 2013 18:43:27 +0000 Original-Received: from localhost ([127.0.0.1]:45805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfZyp-00026R-3e for submit@debbugs.gnu.org; Sun, 10 Nov 2013 13:43:27 -0500 Original-Received: from md5i.com ([75.151.244.229]:51628 helo=maru2.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfZym-00026I-6j for 15784@debbugs.gnu.org; Sun, 10 Nov 2013 13:43:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=ARPOu4VSddHJYOYt7d65BSIoWoQuX/7AGKaCnSw3Jb4=; b=koTCkOwcqA21d0GLNAM90HeRoAMFDelZPTrrEbLSwFdV9GJx6ZhjBl/pCf0/9ZyvwAh5Ag3yl+CtJFT8Hsds/XV2zrboPPO50zSpkyFNVRDy3caD0lSC5FxxLOeUAPpn; Original-Received: from md5i by maru2.md5i.com with local (Exim 4.80) (envelope-from ) id 1VfZyh-0000OX-8C; Sun, 10 Nov 2013 13:43:19 -0500 In-Reply-To: <20131110111031.GA3089@acm.acm> (Alan Mackenzie's message of "Sun, 10 Nov 2013 11:10:31 +0000") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) 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:80232 Archived-At: Alan Mackenzie writes: > Hello, Glenn. > > On Wed, Nov 06, 2013 at 08:28:39PM +0000, Alan Mackenzie wrote: >> On Sun, Nov 03, 2013 at 07:31:36PM -0500, Glenn Morris wrote: >> > Alan Mackenzie wrote: > >> > >> It sends to bug-cc-mode@gnu.org. It might make sense to change this to >> > >> send to the gnu debbugs list instead, with an appropriate cc-mode tag. > >> > If you change c-submit-bug-report to send mail to >> > submit@debbugs.gnu.org, with an "X-Debbugs-Package: cc-mode" header, >> > then all those reports will still end up on the bug-cc-mode list, not >> > the bug-gnu-emacs list (ie, submit@debbugs will act like an alias for >> > bug-cc-mode). But they will get entered into the tracker and get bug >> > numbers. So this change would actually make it _less_ easier to lose >> > cc-mode bugs. > >> The header "X-Debbugs-Package:" isn't mentioned in >> .../admin/notes/bugtracker. Can you point me at any documentation for >> it? > >> > This is what Gnus does, for example, and they have the same XEmacs >> > issues as you do. It seems to be working fine for them. > >> OK. This would involve amending `reporter-submit-bug-report'. I'll look >> at this. > > `reporter-submit-bug-report' doesn't seem amenable to easy amendation. > The function where the mail headers get inserted into the mail buffer is > the result of "(get mail-user-agent 'composefunc)". At this stage, we're > deep inside the Emacs mail functionality. > > I don't think it's worthwhile making such a large change just to get > debbugs error numbers onto CC Mode bug reports. But if somebody else > were to make this change, I'm sure CC Mode could use it. Patches > welcome. ;-) It seems easy enough. It looks like just need to add (save-excursion (or (mail-position-on-field "X-Debbugs-Package") (insert "cc-mode"))) To the lambda you are already passing as the last argument you pass to `reporter-submit-bug-report' in `c-submit-bug-report'. -- Michael Welsh Duggan (md5i@md5i.com)