GNU bug report logs -
#15784
24.3.50; cc-mode bug reporting
Previous Next
Reported by: Michael Welsh Duggan <mwd <at> md5i.com>
Date: Fri, 1 Nov 2013 16:02:01 UTC
Severity: minor
Fixed in version 25.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15784 in the body.
You can then email your comments to 15784 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15784
; Package
emacs
.
(Fri, 01 Nov 2013 16:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Welsh Duggan <mwd <at> md5i.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 01 Nov 2013 16:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I reported a bug a while back (I think) from my mwd <at> cert.org address
that deals with C++11 enumeration class indentation. I reported it via
c-submit-bug-report.
Example of bad behavior:
enum class foo : int {
A,
B,
C
};
This message is only partially about this problem, though. My real
question is whether `M-x c-submit-bug-report' is still a valid way to
report bugs for cc-mode. It sends to bug-cc-mode <at> gnu.org. It might
make sense to change this to send to the gnu debbugs list instead, with
an appropriate cc-mode tag.
In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit)
of 2013-09-11 on maru2
Bzr revision: 111214 md5i <at> md5i.com-20130911160422-ijaro6wn80j0j7ff
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
System Description: Debian GNU/Linux unstable (sid)
Configured using:
`configure --without-toolkit-scroll-bars --with-x-toolkit=lucid
'CFLAGS=-Og -ggdb' --with-wide-int'
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Recent messages:
You can run the command `c-submit-bug-report' with C-c C-b
Please enter your report. Type C-c C-c to send, C-c C-k to abort.
Mark set
Auto-saving...done
Scanning for dabbrevs...done
Expansion found in ' *Minibuf-1*'
Don't touch it! It's the History Eraser Button, you fool! [2 times]
syntax: ((topmost-intro-cont 23)), indent: 8
Undo!
Auto-saving...done
--
Michael Welsh Duggan
(md5i <at> md5i.com)
bug reassigned from package 'emacs' to 'emacs,cc-mode'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 01 Nov 2013 16:11:02 GMT)
Full text and
rfc822 format available.
bug No longer marked as found in versions 24.3.50.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 01 Nov 2013 16:11:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Sun, 03 Nov 2013 22:04:01 GMT)
Full text and
rfc822 format available.
Message #12 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi, Michael.
On Fri, Nov 01, 2013 at 12:01:12PM -0400, Michael Welsh Duggan wrote:
> I reported a bug a while back (I think) from my mwd <at> cert.org address
> that deals with C++11 enumeration class indentation. I reported it via
> c-submit-bug-report.
> Example of bad behavior:
> enum class foo : int {
> A,
> B,
> C
> };
Sorry, I should have acknwledged that some while ago. It's going to be a
tricky one to tackle, since it overturns the notion of a type being just
a type.
> This message is only partially about this problem, though. My real
> question is whether `M-x c-submit-bug-report' is still a valid way to
> report bugs for cc-mode.
Yes, it is.
> It sends to bug-cc-mode <at> gnu.org. It might make sense to change this to
> send to the gnu debbugs list instead, with an appropriate cc-mode tag.
Right at the moment, I don't think this would be a good idea. CC Mode is
also upstream from XEmacs, and bug reports come from that quarter, too.
It is convenient to be able to filter a mailbox for mails addressed to
*cc-mode*. Mail to bug-gnu-emacs is much easier to lose in the sheer
volume of postings.
[ .... ]
> --
> Michael Welsh Duggan
> (md5i <at> md5i.com)
--
Alan Mackenzie (Nuremberg, Germany).
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Mon, 04 Nov 2013 00:32:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 15784 <at> debbugs.gnu.org (full text, mbox):
Alan Mackenzie wrote:
>> It sends to bug-cc-mode <at> gnu.org. It might make sense to change this to
>> send to the gnu debbugs list instead, with an appropriate cc-mode tag.
>
> Right at the moment, I don't think this would be a good idea. CC Mode is
> also upstream from XEmacs, and bug reports come from that quarter, too.
> It is convenient to be able to filter a mailbox for mails addressed to
> *cc-mode*. Mail to bug-gnu-emacs is much easier to lose in the sheer
> volume of postings.
I think you may have misunderstood the suggestion.
If you change c-submit-bug-report to send mail to
submit <at> 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 <at> 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.
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Wed, 06 Nov 2013 20:31:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 15784 <at> debbugs.gnu.org (full text, mbox):
Hello, Glenn.
On Sun, Nov 03, 2013 at 07:31:36PM -0500, Glenn Morris wrote:
> Alan Mackenzie wrote:
> >> It sends to bug-cc-mode <at> gnu.org. It might make sense to change this to
> >> send to the gnu debbugs list instead, with an appropriate cc-mode tag.
> > Right at the moment, I don't think this would be a good idea. CC Mode is
> > also upstream from XEmacs, and bug reports come from that quarter, too.
> > It is convenient to be able to filter a mailbox for mails addressed to
> > *cc-mode*. Mail to bug-gnu-emacs is much easier to lose in the sheer
> > volume of postings.
> I think you may have misunderstood the suggestion.
That may be the case.
> If you change c-submit-bug-report to send mail to
> submit <at> 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 <at> 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.
--
Alan Mackenzie (Nuremberg, Germany).
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Wed, 06 Nov 2013 20:53:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 15784 <at> debbugs.gnu.org (full text, mbox):
Alan Mackenzie wrote:
> The header "X-Debbugs-Package:" isn't mentioned in
> .../admin/notes/bugtracker. Can you point me at any documentation for
> it?
I added it specifically for Gnus bug reporting.
It functions exactly the same as the Package: pseudo-header.
Likewise with X-Debbugs-Version.
That's about all there is to say. :)
You can use "Package:" in the first line of the body for an identical
effect, but then you have to rely on users not deleting it, or adding
any body text before it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Sun, 10 Nov 2013 11:13:01 GMT)
Full text and
rfc822 format available.
Message #24 received at 15784 <at> debbugs.gnu.org (full text, mbox):
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 <at> 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 <at> 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 <at> 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. ;-)
--
Alan Mackenzie (Nuremberg, Germany).
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Sun, 10 Nov 2013 18:44:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 15784 <at> debbugs.gnu.org (full text, mbox):
Alan Mackenzie <acm <at> muc.de> 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 <at> 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 <at> 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 <at> 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 <at> md5i.com)
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org
:
bug#15784
; Package
emacs,cc-mode
.
(Thu, 30 Jan 2014 03:00:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 15784 <at> debbugs.gnu.org (full text, mbox):
Michael Welsh Duggan wrote:
> 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'.
Works for me.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 27 May 2015 06:32:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Michael Welsh Duggan <mwd <at> md5i.com>
:
bug acknowledged by developer.
(Wed, 27 May 2015 06:32:03 GMT)
Full text and
rfc822 format available.
Message #35 received at 15784-done <at> debbugs.gnu.org (full text, mbox):
Version: 25.1
Done.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 24 Jun 2015 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.