unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13141: please review bug #13141
  2012-12-11 16:00 bug#13141: 24.3.50; Be able to customize the info included by default for `report-emacs-bug' Drew Adams
@ 2013-01-19 23:10 ` Drew Adams
  2013-01-20  0:35   ` Dmitry Gutov
       [not found]   ` <87ip6sofn7.fsf@yandex.ru>
  0 siblings, 2 replies; 19+ messages in thread
From: Drew Adams @ 2013-01-19 23:10 UTC (permalink / raw)
  To: emacs-devel; +Cc: 13141

This is about the info that gets automatically added to bug reports.

Stefan granted that most of that info is anyway useless, to him at least.
Jambunathan suggested a Boolean option to skip such info altogether.
 
I provided a patch that lets users customize which info to include.

Glenn simply tagged the bug `wontfix', saying "There is no need for such
complexity."


The patch is straightforward.  Please reconsider it.
Why not let users set the behavior they want for this?

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13141#43






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found] <415AF94149E240B7BCB28128E45D3135@us.oracle.com>
@ 2013-01-19 23:20 ` Alan Mackenzie
  2013-01-19 23:21 ` Drew Adams
       [not found] ` <20130119232015.GA517@acm.acm>
  2 siblings, 0 replies; 19+ messages in thread
From: Alan Mackenzie @ 2013-01-19 23:20 UTC (permalink / raw)
  To: Drew Adams; +Cc: 13141, emacs-devel

Hi, Drew.

On Sat, Jan 19, 2013 at 03:10:09PM -0800, Drew Adams wrote:
> This is about the info that gets automatically added to bug reports.

> Stefan granted that most of that info is anyway useless, to him at least.
> Jambunathan suggested a Boolean option to skip such info altogether.

> I provided a patch that lets users customize which info to include.

> Glenn simply tagged the bug `wontfix', saying "There is no need for such
> complexity."


> The patch is straightforward.  Please reconsider it.
> Why not let users set the behavior they want for this?

I have to side with Glenn here.  We need to make Bug reporters' jobs as
simple as possible.  Sadly, there is a tendency for things which one
_can_ configure to become things that one _must_ configure - we know all
about this in Emacs - which would be most unfriendly for novice bug
reporters.

Let's keep this as simple as possible.

> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13141#43

-- 
Alan Mackenzie (Nuremberg, Germany).





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found] <415AF94149E240B7BCB28128E45D3135@us.oracle.com>
  2013-01-19 23:20 ` bug#13141: please review bug #13141 Alan Mackenzie
@ 2013-01-19 23:21 ` Drew Adams
       [not found] ` <20130119232015.GA517@acm.acm>
  2 siblings, 0 replies; 19+ messages in thread
From: Drew Adams @ 2013-01-19 23:21 UTC (permalink / raw)
  To: emacs-devel; +Cc: 13141

> Jambunathan suggested a Boolean option to skip such info altogether.

I should have said that J. reminded that option
`report-emacs-bug-no-explanations' does that.






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found] ` <20130119232015.GA517@acm.acm>
@ 2013-01-19 23:59   ` Drew Adams
       [not found]   ` <ED6808FFB4C84116B3267774EC79431F@us.oracle.com>
  1 sibling, 0 replies; 19+ messages in thread
From: Drew Adams @ 2013-01-19 23:59 UTC (permalink / raw)
  To: 'Alan Mackenzie'; +Cc: 13141, emacs-devel

> > The patch is straightforward.  Please reconsider it.
> > Why not let users set the behavior they want for this?
> 
> I have to side with Glenn here.  We need to make Bug 
> reporters' jobs as simple as possible.

Why not give the individual bug reporters a say in what they think is simple?
Your idea of making their life easier might not be their idea.

Why does giving other users a choice bother you?
The default behavior would be the same as now.

> Sadly, there is a tendency for things which one _can_
> configure to become things that one _must_ configure -

I don't recognize any such tendency.  Give one example.

> we know all about this in Emacs

Well I don't know about it.  I've never seen the addition of a user option, with
no change to the default behavior, require any user to configure that option.

That's logically impossible.

If you do nothing then there is no change in behavior.  If you are unaware of
the option then your life is as simple as before.  If you are aware of it and IF
you want to take advantage of it, then you might even make life simpler for
yourself than before - but that's your choice.

> - which would be most unfriendly for novice bug reporters.

What would?  Giving a choice to any user who wants it?

> Let's keep this as simple as possible.

Let's give _users_ the choice.  Let's let them decide what is "as simple as
possible" for themselves, individually.

> > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13141#43






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]   ` <ED6808FFB4C84116B3267774EC79431F@us.oracle.com>
@ 2013-01-20  0:12     ` Xue Fuqiao
  2013-01-20  7:16     ` Stephen J. Turnbull
                       ` (3 subsequent siblings)
  4 siblings, 0 replies; 19+ messages in thread
From: Xue Fuqiao @ 2013-01-20  0:12 UTC (permalink / raw)
  To: Drew Adams; +Cc: 'Alan Mackenzie', 13141, emacs-devel

On Sat, 19 Jan 2013 15:59:45 -0800
"Drew Adams" <drew.adams@oracle.com> wrote:

> If you are unaware of
> the option then your life is as simple as before.  If you are aware of it and IF
> you want to take advantage of it, then you might even make life simpler for
> yourself than before - but that's your choice.

I think so, too.
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
  2013-01-19 23:10 ` bug#13141: please review bug #13141 Drew Adams
@ 2013-01-20  0:35   ` Dmitry Gutov
       [not found]   ` <87ip6sofn7.fsf@yandex.ru>
  1 sibling, 0 replies; 19+ messages in thread
From: Dmitry Gutov @ 2013-01-20  0:35 UTC (permalink / raw)
  To: Drew Adams; +Cc: 13141, emacs-devel

"Drew Adams" <drew.adams@oracle.com> writes:

> This is about the info that gets automatically added to bug reports.
>
> Stefan granted that most of that info is anyway useless, to him at least.
> Jambunathan suggested a Boolean option to skip such info altogether.
>  
> I provided a patch that lets users customize which info to include.
>
> Glenn simply tagged the bug `wontfix', saying "There is no need for such
> complexity."
>
>
> The patch is straightforward.  Please reconsider it.
> Why not let users set the behavior they want for this?

Personally, I disagree that the user should choose what information to
include. The report goes to Emacs maintainers, so they should pick the
always-useful parts (say, the version, bzr revision and build options) and
leave out the noise. While possibly still providing interactive commands
allowing to insert the additional information in a follow-up email.

I also think this is one of the parts of Emacs where backwards
compatibility is the least important, so it's odd that the bug reporting
interface hasn't changed much in years.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]   ` <87ip6sofn7.fsf@yandex.ru>
@ 2013-01-20  0:54     ` Xue Fuqiao
  2013-01-20  1:03     ` Drew Adams
       [not found]     ` <20130120085455.93b0f44394a4db0ffcebd5c9@gmail.com>
  2 siblings, 0 replies; 19+ messages in thread
From: Xue Fuqiao @ 2013-01-20  0:54 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 13141, emacs-devel

On Sun, 20 Jan 2013 04:35:24 +0400
Dmitry Gutov <dgutov@yandex.ru> wrote:

> Personally, I disagree that the user should choose what information to
> include. The report goes to Emacs maintainers, so they should pick the
> always-useful parts (say, the version, bzr revision and build options) and
> leave out the noise.

In (info "(emacs) Checklist"):
You may feel that some of the information inserted by `M-x
report-emacs-bug' is not relevant, but unless you are absolutely sure
it is best to leave it, so that the developers can decide for
themselves.

But *extensible and customizable* (and self-documenting) are the core
of Emacs.  Experienced users *know* that what information should be go
to the Emacs developers.  It also lightens the burden of Emacs
developers.
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]   ` <87ip6sofn7.fsf@yandex.ru>
  2013-01-20  0:54     ` Xue Fuqiao
@ 2013-01-20  1:03     ` Drew Adams
       [not found]     ` <20130120085455.93b0f44394a4db0ffcebd5c9@gmail.com>
  2 siblings, 0 replies; 19+ messages in thread
From: Drew Adams @ 2013-01-20  1:03 UTC (permalink / raw)
  To: 'Dmitry Gutov'; +Cc: 13141, emacs-devel

> Personally, I disagree that the user should choose what information
> to include. 

Too bad for you, then.  The user already chooses that.  As well s?he should.  A
user should _of course_ be able to choose what information s?he sends.

This is about the information that is _automatically_ inserted into the
report-preparation buffer.  If the user does not want to send some of that info
then s?he need not, even today, as Xue Fuqiao made clear.  All my patch does is
make it easier for a user to not send this or that info.

> The report goes to Emacs maintainers, so they should pick the
> always-useful parts

The maintainers should pick the parts that they think should be provided _by
default_, just as they do today.  They cannot and should not pick, in place of
the user, what the user actually sends.

And one of the maintainers has already stated, FWIW, that he finds "most of
those info useless".

> (say, the version, bzr revision and build options) and leave
> out the noise.

One person's noise is another's important information.  That's part of the point
of providing this option: if a user so chooses, s?he can easily cut down on what
s?he considers noise.

Let users decide.  Emacs proposes, users dispose.

And I repeat, the default behavior - the information that is automatically
included by default - does NOT change with this patch.

> While possibly still providing interactive commands
> allowing to insert the additional information in a follow-up email.

Nothing wrong with that, IMO.  Consider submitting an enhancement request for
the addition of such commands.

> I also think this is one of the parts of Emacs where backwards
> compatibility is the least important, so it's odd that the 
> bug reporting interface hasn't changed much in years.

You are welcome to submit an enhancement request to change the set of info that
gets inserted by default.

My patch is not so radical as what you are requesting.  It maintains the status
quo wrt that set of info - the default behavior.  It simply makes it easy for a
user to customize what which info gets inserted by default.

There already is a user option, `report-emacs-bug-no-explanations', that turns
it all off.  My patch just gives users more control than an on/off switch.






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]   ` <ED6808FFB4C84116B3267774EC79431F@us.oracle.com>
  2013-01-20  0:12     ` Xue Fuqiao
@ 2013-01-20  7:16     ` Stephen J. Turnbull
  2013-01-20 10:50     ` Alan Mackenzie
                       ` (2 subsequent siblings)
  4 siblings, 0 replies; 19+ messages in thread
From: Stephen J. Turnbull @ 2013-01-20  7:16 UTC (permalink / raw)
  To: Drew Adams; +Cc: 'Alan Mackenzie', 13141, emacs-devel

Drew Adams writes:

 > Why not give the individual bug reporters a say in what they think
 > is simple?  Your idea of making their life easier might not be
 > their idea.

Why in the world do you think making life easier for bug *reporters*
deserves precedence?  The first principle of bug reporting is to get
useful information for the debuggers.  Over the 15 years that I've
been responding to bug reports, I've had at least half a dozen cases
where users deleted automatically added information which I then
requested -- to no avail, since the reporters never responded.  The
cases where users fail to include useful and readily available
information in plain ol' mail are legion.  In general, users are
notoriously poor judges of what information is useful.

It might be useful to hide the automatically generated information in
a MIME attachment, or add it at send time, and allow the user the
option of displaying/editing it.

 > Let's give _users_ the choice.  Let's let them decide what is "as
 > simple as possible" for themselves, individually.

Bug reporting is not an individual activity.  It is a community
activity, and the needs of developers must take precedence over users'
ideas of what's useful.  If you think some information is unnecessary,
argue it shouldn't be in the report in the first place, and get the
developers to agree.

Note that just because Stefan never uses the information doesn't mean
that other developers don't.






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]     ` <20130120085455.93b0f44394a4db0ffcebd5c9@gmail.com>
@ 2013-01-20  7:19       ` Stephen J. Turnbull
  0 siblings, 0 replies; 19+ messages in thread
From: Stephen J. Turnbull @ 2013-01-20  7:19 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: 13141, Dmitry Gutov, emacs-devel

Xue Fuqiao writes:

 > But *extensible and customizable* (and self-documenting) are the core
 > of Emacs.  Experienced users *know* that what information should be go
 > to the Emacs developers.

Experienced developers know that what experienced users "know" often
enough just ain't so.

The only case where users are in a good position to decide is about
privacy-sensitive information that might be in traces or keystroke
logs, etc.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]     ` <87obgk5npd.fsf@uwakimon.sk.tsukuba.ac.jp>
@ 2013-01-20 10:33       ` Xue Fuqiao
  2013-01-20 17:08       ` Eli Zaretskii
  2013-01-20 18:41       ` Richard Stallman
  2 siblings, 0 replies; 19+ messages in thread
From: Xue Fuqiao @ 2013-01-20 10:33 UTC (permalink / raw)
  To: Stephen J. Turnbull; +Cc: 'Alan Mackenzie', 13141, emacs-devel

On Sun, 20 Jan 2013 16:16:14 +0900
"Stephen J. Turnbull" <stephen@xemacs.org> wrote:

> In general, users are
> notoriously poor judges of what information is useful.

But not all users.  We can add some notice (or maybe warning) in the
doc string of the user option and Emacs manual.

It seems that bug reporting in XEmacs and SXEmacs manuals is a little
poor: 
http://xemacs.org/Documentation/21.5/html/xemacs_30.html#SEC421
http://www.sxemacs.org/docs/sxemacs/Bugs.html#Bugs

-- 
http://www.gnu.org/software/emacs/manual/html_node/emacs/Bugs.html#Bugs





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]   ` <ED6808FFB4C84116B3267774EC79431F@us.oracle.com>
  2013-01-20  0:12     ` Xue Fuqiao
  2013-01-20  7:16     ` Stephen J. Turnbull
@ 2013-01-20 10:50     ` Alan Mackenzie
       [not found]     ` <20130120105003.GA3091@acm.acm>
       [not found]     ` <87obgk5npd.fsf@uwakimon.sk.tsukuba.ac.jp>
  4 siblings, 0 replies; 19+ messages in thread
From: Alan Mackenzie @ 2013-01-20 10:50 UTC (permalink / raw)
  To: Drew Adams; +Cc: 13141, emacs-devel

Good Morning, Drew!

On Sat, Jan 19, 2013 at 03:59:45PM -0800, Drew Adams wrote:
> > > The patch is straightforward.  Please reconsider it.
> > > Why not let users set the behavior they want for this?

> > I have to side with Glenn here.  We need to make Bug 
> > reporters' jobs as simple as possible.

> Why not give the individual bug reporters a say in what they think is simple?
> Your idea of making their life easier might not be their idea.

My model of bug reporter, right now, is somebody considering submitting
their very first Emacs bug report

> Why does giving other users a choice bother you?
> The default behavior would be the same as now.

I've not seen the patch, but it is surely either a set of configuration
settings or a sequence of questions to be answered each time a new bug
report is done.  The former doesn't seem useful, since the useful info to
include will vary by bug report, not by bug submitter.  The latter would
be a burden on the bug reporter, and surely could come to be an
annoyance.

> > Sadly, there is a tendency for things which one _can_
> > configure to become things that one _must_ configure -

> I don't recognize any such tendency.  Give one example.

Er, CC Mode.

> > we know all about this in Emacs

> Well I don't know about it.  I've never seen the addition of a user option, with
> no change to the default behavior, require any user to configure that option.

That's a narrower case than I meant, I was talking more generally.  We
all have .emacses and I should think they are mostly biggish files.  I
would think there are few Emacs users without .emacses, if for nothing
more than customize-* settings.

> That's logically impossible.

> If you do nothing then there is no change in behavior.  If you are unaware of
> the option then your life is as simple as before.  If you are aware of it and IF
> you want to take advantage of it, then you might even make life simpler for
> yourself than before - but that's your choice.

> > - which would be most unfriendly for novice bug reporters.

> What would?  Giving a choice to any user who wants it?

To give somebody a choice is to inflict responsibility on her for
choosing.

> > Let's keep this as simple as possible.

> Let's give _users_ the choice.  Let's let them decide what is "as simple as
> possible" for themselves, individually.

I don't think users having this choice would be helpful.

> > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13141#43

-- 
Alan Mackenzie (Nuremberg, Germany).





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]     ` <20130120105003.GA3091@acm.acm>
@ 2013-01-20 12:02       ` Xue Fuqiao
  2013-01-20 17:40       ` Drew Adams
       [not found]       ` <1543326591D441B1ABA599BE163B141E@us.oracle.com>
  2 siblings, 0 replies; 19+ messages in thread
From: Xue Fuqiao @ 2013-01-20 12:02 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: 13141, emacs-devel

On Sun, 20 Jan 2013 10:50:03 +0000
Alan Mackenzie <acm@muc.de> wrote:

> I've not seen the patch, but it is surely either a set of configuration
> settings or a sequence of questions to be answered each time a new bug
> report is done.  The former doesn't seem useful, since the useful info to
> include will vary by bug report, not by bug submitter.  The latter would
> be a burden on the bug reporter, and surely could come to be an
> annoyance.

I haven't seen the patch, either.  As for the latter, I think
`map-y-or-n-p' is a good choice, `!' in `query-replace-map' can act on
all following objects.

> I
> would think there are few Emacs users without .emacses, if for nothing
> more than customize-* settings.

I ever used Emacs without .emacs (except for custmize-* settings) for a long time, because:
1. I didn't know when to use `setq' and when to use `setq-default';
2. I wanted to add a load-path, but I didn't know what function I should use (`push' or `add-to-list');
3. I didn't know when to use `boundp', `fboundp' or `featurep';
4. I didn't know what feature to `require';
5. I didn't know the differences between `global-set-key' and `define-key';
And many other reasons.  I think I'm not the only one who met these problems.
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]     ` <87obgk5npd.fsf@uwakimon.sk.tsukuba.ac.jp>
  2013-01-20 10:33       ` Xue Fuqiao
@ 2013-01-20 17:08       ` Eli Zaretskii
  2013-01-20 18:41       ` Richard Stallman
  2 siblings, 0 replies; 19+ messages in thread
From: Eli Zaretskii @ 2013-01-20 17:08 UTC (permalink / raw)
  To: Stephen J. Turnbull; +Cc: acm, 13141, emacs-devel

> From: "Stephen J. Turnbull" <stephen@xemacs.org>
> Date: Sun, 20 Jan 2013 16:16:14 +0900
> Cc: 'Alan Mackenzie' <acm@muc.de>, 13141@debbugs.gnu.org, emacs-devel@gnu.org
> 
> Note that just because Stefan never uses the information doesn't mean
> that other developers don't.

Indeed, I do most of the time, and frequently find there valuable
information that I otherwise would have needed to ask for.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]     ` <20130120105003.GA3091@acm.acm>
  2013-01-20 12:02       ` Xue Fuqiao
@ 2013-01-20 17:40       ` Drew Adams
       [not found]       ` <1543326591D441B1ABA599BE163B141E@us.oracle.com>
  2 siblings, 0 replies; 19+ messages in thread
From: Drew Adams @ 2013-01-20 17:40 UTC (permalink / raw)
  To: 'Alan Mackenzie'; +Cc: 13141, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 3658 bytes --]

> > Why does giving other users a choice bother you?
> > The default behavior would be the same as now.
> 
> I've not seen the patch, but it is surely either a set of 
> configuration settings or a sequence of questions to be
> answered each time a new bug report is done.

It is simple to look at the patch.  Or if you want to try it, to see the option
(a single option) for yourself, you can load this tiny library that I just put
together quickly:
http://www.emacswiki.org/emacs-en/emacsbug%2b.el

(The code there is more complex than the patch version because it also provides
compatibility for older Emacs versions.)

And if loading that file is also too much trouble, then please at least take a
quick look at the attached screenshot to see what the option looks like.

(You can ignore any differences in the appearance from vanilla Emacs, e.g., the
additional buttons.  They are from my setup and are unrelated to this patch.
Just look at the option check boxes and doc string.)

> The former doesn't seem useful, since the useful info to
> include will vary by bug report, not by bug submitter.

It can vary by both.  The option just provides for a user to have her own,
customized default behavior, instead of being stuck with the one decided by
Emacs Dev.

And I agree with Dmitry's additional suggestion that we could provide a command
or commands to insert individual information items, e.g., the same items a user
can choose for the default behavior using the option:

* version info
* important settings list
* major mode
* minor modes
* recent input
* recent messages
* load-path shadows
* features

> The latter would be a burden on the bug reporter, and surely
> could come to be an annoyance.

You can be assured that I would never propose anything like that.  It should be
quite clear by know that I am not in favor of unnecessary interrogations when a
user tries to communicate with Emacs.  See, for example, bug #13506 and the long
history of such bug-report interrogation bugs over the last few years.

> > > Sadly, there is a tendency for things which one _can_
> > > configure to become things that one _must_ configure -
> 
> > I don't recognize any such tendency.  Give one example.
> 
> Er, CC Mode.

Sorry, I'm not familiar with it.  Can you elaborate?  Can you please show how
"the addition of a user option, with no change to the default behavior,
require[s] any user to configure that option"?  I cannot imagine that
possibility in this universe.

> > > we know all about this in Emacs
> 
> > Well I don't know about it.  I've never seen the addition 
> > of a user option, with no change to the default behavior,
> > require any user to configure that option.
> 
> That's a narrower case than I meant, I was talking more generally.

Oh.  Then maybe we are in agreement.  That is all that the patch I proposed
does.  It does not in any way change the default behavior.  At ease, please.

> To give somebody a choice is to inflict responsibility on her for choosing.

Not if the choice is not mandatory.  You need not even be aware of this choice.
That's why it's called an "option".

I would agree with you if this were about a mandatory grilling of the user,
making her reply to questions about things that s?he might not know or care
about.

That is not at all the case here.  You and any other users can totally ignore
this option and go on your business as before, with no change in behavior.
Emacs will leave you alone.

> I don't think users having this choice would be helpful.

Perhaps your thinking was based on some confusion about what this does?  See if
what I've explained above about it doesn't change your mind.

[-- Attachment #2: throw-report-emacs-bug-included-fields.png --]
[-- Type: image/png, Size: 38331 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]     ` <87obgk5npd.fsf@uwakimon.sk.tsukuba.ac.jp>
  2013-01-20 10:33       ` Xue Fuqiao
  2013-01-20 17:08       ` Eli Zaretskii
@ 2013-01-20 18:41       ` Richard Stallman
  2013-01-21  1:03         ` Dmitry Gutov
  2013-01-21  2:39         ` Stephen J. Turnbull
  2 siblings, 2 replies; 19+ messages in thread
From: Richard Stallman @ 2013-01-20 18:41 UTC (permalink / raw)
  To: Stephen J. Turnbull; +Cc: acm, 13141, emacs-devel

    I've had at least half a dozen cases
    where users deleted automatically added information which I then
    requested -- to no avail, since the reporters never responded.

To go out of their way to delete it makes me wonder why.  Maybe it was
a valid reason.  Could it be that there was something private in that
information which they specifically did not want to send?

Because of this consideration it would not be right to hide
that information.  We should not try to trick our users into sending
us something they did not want to send.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
  2013-01-20 18:41       ` Richard Stallman
@ 2013-01-21  1:03         ` Dmitry Gutov
  2013-01-21  2:39         ` Stephen J. Turnbull
  1 sibling, 0 replies; 19+ messages in thread
From: Dmitry Gutov @ 2013-01-21  1:03 UTC (permalink / raw)
  To: Richard Stallman; +Cc: acm, Stephen J. Turnbull, 13141, emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Stephen J. Turnbull writes:
>
>     I've had at least half a dozen cases
>     where users deleted automatically added information which I then
>     requested -- to no avail, since the reporters never responded.

If there's no information at all, maybe the users didn't go through the
Emacs bug reporting interface, writing the report directly in the email client.

> To go out of their way to delete it makes me wonder why.  Maybe it was
> a valid reason.  Could it be that there was something private in that
> information which they specifically did not want to send?

I usually delete most of it, because the default text looks messy, and I
don't like sending emails that look untidy. Also, it's harder to find
the actual report description if it's surrounded by auto-generated text.

It's better now that some parts of it are just shown through the display
property, but the user might not know/understand that.

> Because of this consideration it would not be right to hide
> that information.  We should not try to trick our users into sending
> us something they did not want to send.

As it is, the exact information the user's sending is not immediately
obvious, they'd have to carefully scroll though a fairly large chunk of
text to know that.

IMO, it would be better to ask about each potentially-sensitive section
(last keystrokes, obviously; local paths, recent messages? maybe), and
then include them as attachment or several.





^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
  2013-01-20 18:41       ` Richard Stallman
  2013-01-21  1:03         ` Dmitry Gutov
@ 2013-01-21  2:39         ` Stephen J. Turnbull
  1 sibling, 0 replies; 19+ messages in thread
From: Stephen J. Turnbull @ 2013-01-21  2:39 UTC (permalink / raw)
  To: rms; +Cc: acm, 13141, emacs-devel

Richard Stallman writes:
 >     I've had at least half a dozen cases
 >     where users deleted automatically added information which I then
 >     requested -- to no avail, since the reporters never responded.
 > 
 > To go out of their way to delete it makes me wonder why.  Maybe it was
 > a valid reason.  Could it be that there was something private in that
 > information which they specifically did not want to send?

Some of it, yes, such as the keystroke log.  The list of shadowed
libraries would only very rarely be considered sensitive.  (For
example, if the user had modified a corporate internal library and was
shadowing it in her load-path.)

The cases of deletion I'm referring to were done with a chainsaw
rather than a scalpel.  I've always assumed the motive was a misguided
attempt to either localize the information to what they user thought
was a bug or to save bandwidth, but you could be right: they were
worried about the possibility of sensitive information leaking, and
chose to deal with the issue brutally.

 > Because of this consideration it would not be right to hide that
 > information.  We should not try to trick our users into sending us
 > something they did not want to send.

Agreed.  I withdraw the suggestion of appending the information after
the user hits "send".  Of course attaching it via MIME etc would be
not be the default (my phrasing is at fault here, I was writing from
the point of view of appeasing Drew and Fuqiao).






^ permalink raw reply	[flat|nested] 19+ messages in thread

* bug#13141: please review bug #13141
       [not found]       ` <1543326591D441B1ABA599BE163B141E@us.oracle.com>
@ 2013-01-21  4:24         ` Drew Adams
  0 siblings, 0 replies; 19+ messages in thread
From: Drew Adams @ 2013-01-21  4:24 UTC (permalink / raw)
  To: 'Alan Mackenzie'; +Cc: 13141, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]

> http://www.emacswiki.org/emacs-en/emacsbug%2b.el
>
> And I agree with Dmitry's additional suggestion that we could 
> provide a command or commands to insert individual information
> items, e.g., the same items a user can choose for the default
> behavior using the option:
> 
> * version info
> * important settings list
> * major mode
> * minor modes
> * recent input
> * recent messages
> * load-path shadows
> * features

I've done that now in the standalone version at the URL above.  The help buffer
describes the available keys (commands) for inserting info.  All such keys are
on prefix C-o.

Only those keys corresponding to info that is not automatically inserted,
according to the option value, are bound to keys.  And the help lists only those
that are currently bound.

E.g., if a user customizes the option to include no info by default, then a
command is bound for each info type, and all of those keys are listed in the
help, as shown in the attached screenshot.  When no info is inserted by default,
there is also a command/key to insert everything.

At the other extreme, by default everything is inserted automatically, so no
insertion commands are bound to keys and nothing is said in the help about the
commands.  The help is the same as in vanilla Emacs today, in that case, except
that it mentions the option that you can customize, with a link for that.

In between these extremes, the help shows keys for any info that did not get
inserted automatically.  It is very easy to add any type of info.

It's hard for me to believe that some people are still suggesting we require
users to answer a guantlet of questions about what info they want to provide.
That is so barbaric it makes my head spin.

This is the right approach, IMO:

Pick a good set of default info types to insert automatically (e.g., all of
them, today).  Then tell users, in the displayed help, that they can customize
an option to not include, by default, any of the info types they want.  If they
have customized that option to not include some types of info, then mention, in
the help, the keys that insert that missing info.

What could be simpler and more flexible?

[-- Attachment #2: throw-emacsbug-help.png --]
[-- Type: image/png, Size: 34408 bytes --]

[-- Attachment #3: throw-emacsbug-help-default.png --]
[-- Type: image/png, Size: 25336 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-01-21  4:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <415AF94149E240B7BCB28128E45D3135@us.oracle.com>
2013-01-19 23:20 ` bug#13141: please review bug #13141 Alan Mackenzie
2013-01-19 23:21 ` Drew Adams
     [not found] ` <20130119232015.GA517@acm.acm>
2013-01-19 23:59   ` Drew Adams
     [not found]   ` <ED6808FFB4C84116B3267774EC79431F@us.oracle.com>
2013-01-20  0:12     ` Xue Fuqiao
2013-01-20  7:16     ` Stephen J. Turnbull
2013-01-20 10:50     ` Alan Mackenzie
     [not found]     ` <20130120105003.GA3091@acm.acm>
2013-01-20 12:02       ` Xue Fuqiao
2013-01-20 17:40       ` Drew Adams
     [not found]       ` <1543326591D441B1ABA599BE163B141E@us.oracle.com>
2013-01-21  4:24         ` Drew Adams
     [not found]     ` <87obgk5npd.fsf@uwakimon.sk.tsukuba.ac.jp>
2013-01-20 10:33       ` Xue Fuqiao
2013-01-20 17:08       ` Eli Zaretskii
2013-01-20 18:41       ` Richard Stallman
2013-01-21  1:03         ` Dmitry Gutov
2013-01-21  2:39         ` Stephen J. Turnbull
2012-12-11 16:00 bug#13141: 24.3.50; Be able to customize the info included by default for `report-emacs-bug' Drew Adams
2013-01-19 23:10 ` bug#13141: please review bug #13141 Drew Adams
2013-01-20  0:35   ` Dmitry Gutov
     [not found]   ` <87ip6sofn7.fsf@yandex.ru>
2013-01-20  0:54     ` Xue Fuqiao
2013-01-20  1:03     ` Drew Adams
     [not found]     ` <20130120085455.93b0f44394a4db0ffcebd5c9@gmail.com>
2013-01-20  7:19       ` Stephen J. Turnbull

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).