GNU bug report logs - #9074
24.0.50; problems trying to mail bug report, again

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 13 Jul 2011 23:40:03 UTC

Severity: normal

Merged with 9877

Found in versions 24.0.50, 24.0.90

Fixed in version 24.0.94

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 9074 in the body.
You can then email your comments to 9074 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Wed, 13 Jul 2011 23:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Jul 2011 23:40:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.50; problems trying to mail bug report, again
Date: Wed, 13 Jul 2011 16:39:20 -0700
I quickly scanned some recent mails in emacs-devel about users being
forced, one time only, to answer a question about their mailer, when
they try to submit a bug.  At least that's what I thought I read.
That in itself sounded like something users of an outside mail
client such as myself could live with.
 
But it seems that what was described is nowhere near as annoying and
confusing as what really happens.
 
Before you get to the (confusing enough) question about SMTP mail
configuration, where some users of outside mail clients will want to
answer `n', never to be bothered again, you have to go through the same
silliness we saw before (see previous bugs), about the `From:' field.
 
If the user is going to answer `n' to the SMTP mail config question,
in order to just use an outsider mailer (e.g. Outlook), then there is no
reason for them to have to go through the silly dialog about "tickle me"
and be told they must edit the `From:' field in order to be able to
continue.
 
The UI for this seems to be all backward.  Whoever dreamed it up
perhaps did not take serious enough the use case of a user who just
wants to say, once and for all, "No, I do not want to use Emacs for
mail. I do not want to configure SMTP mail".  You've made it 42
times more complex than it should be.  Please straighten this out.
 
Not only that, but it is apparently the case that this is NOT a
one-time ordeal.  For emacs -Q, a user has to go through all of
this EACH time.  Just hitting `n' would be bad enough.  But no
one who will use `n' should have to go through all of this crap:
 
"Is `joeblow <at> JOESMACHINE.i-did-not-set--mail-host-address--so-tickle-me'
really your email address? (yes or no) " no
 
"Please edit the From address and try again"
 
WTF?, edit, edit, grumble, edit...
 
C-c C-c
 
"Send this bug report to the Emacs maintainers (yes or no) " yes
 
"Configure outgoing SMTP in Emacs (y or n) " n
 
Args out of range: 102021, 102022
 
[I saw that error one time I tried, from emacs -Q.  I don't know
how systematic it is.  THIS bug report is only about the RIDICULOUS
obstacle-course dialog we make users go through now, after asking
them to please start each bug report from emacs -Q.]

And why would we even think about mixing `(yes or no)' and `(y or n)' in the
same dialog?  Downright diabolical.
 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-07-11 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'
 





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Wed, 13 Jul 2011 23:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 9074 <at> debbugs.gnu.org
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Wed, 13 Jul 2011 19:54:24 -0400
Drew Adams wrote (on Wed, 13 Jul 2011 at 16:39 -0700):

> THIS bug report is only about the RIDICULOUS obstacle-course dialog
> we make users go through now, after asking them to please start each
> bug report from emacs -Q.

I never know who "we" is supposed to be.

"We" don't ask people to submit bug reports from emacs -Q, that adds
no value. What the instructions ask for is a *recipe starting from
emacs -Q that shows the problem*. This is a way to get you to show how
to reproduce the problem. Send the actual report from your normal,
configured Emacs.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Thu, 14 Jul 2011 00:06:01 GMT) Full text and rfc822 format available.

Message #11 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Glenn Morris'" <rgm <at> gnu.org>, <9074 <at> debbugs.gnu.org>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Wed, 13 Jul 2011 17:05:35 -0700
> > THIS bug report is only about the RIDICULOUS obstacle-course dialog
> > we make users go through now, after asking them to please start each
> > bug report from emacs -Q.
> 
> I never know who "we" is supposed to be.

Emacs Dev and all other little elves such as myself who contribute to its
development.

> "We" don't ask people to submit bug reports from emacs -Q, that adds
> no value. What the instructions ask for is a *recipe starting from
> emacs -Q that shows the problem*.

Excuse my shorthand.  That is precisely what I meant.

> This is a way to get you to show how
> to reproduce the problem. Send the actual report from your normal,
> configured Emacs.

No.  For many people, including me, their normal, configured Emacs is far too
complex to be the basis of most bug reports.  We do not want to pick all of a
user's extra customizations, if we can help it.

I don't know where this mailer stuff is saved, but if it is saved in the user's
`custom-file' or init file then in order to start from emacs -Q and get to a
reasonable bug-report state s?he needs to answer this mail nonsense EACH time.

This is (should be considered) totally unacceptable.  It works against what _we_
want in terms of bug reporting.  Not to mention that it is simply not nice to
users.

At the very least we should be able to get rid of the backwardness: making users
who will ultimately hit `n' for SMTP configuration jump through lots of
irrelevant obstacles.  Ask the SMTP question first, if you absolutely must ask
it each time, and then DTRT for a `n' response.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Thu, 14 Jul 2011 08:31:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lawrence Mitchell <wence <at> gmx.li>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Thu, 14 Jul 2011 09:29:21 +0100
Drew Adams wrote:

[...]

>> This is a way to get you to show how
>> to reproduce the problem. Send the actual report from your normal,
>> configured Emacs.

> No.  For many people, including me, their normal, configured
> Emacs is far too complex to be the basis of most bug reports.
> We do not want to pick all of a user's extra customizations, if
> we can help it.

The customisations in your normal emacs have /nothing to do/ with
the bug report.  The bug report has a /self-contained/ recipe
starting from emacs -Q, but for all one cares it might have been
written on parchment and sent by pigeon.

I don't know how you produce bug reports but for me the process
is something like:

* notice bug in my (customised) emacs
* emacs -Q
* try and reproduce bug
* if successful go back to the normal emacs, hit report-emacs-bug
* type the commands I used from emacs -Q to trigger the bug
* send

At no point do I try and send email from an emacs -Q instance.

> I don't know where this mailer stuff is saved, but if it is
> saved in the user's `custom-file' or init file then in order to
> start from emacs -Q and get to a reasonable bug-report state
> s?he needs to answer this mail nonsense EACH time.

Yes, that's what -Q does, ignore /all/ user settings.  How do you
propose ignoring all but one user setting in a way that doesn't
lead to more pain.

> This is (should be considered) totally unacceptable.  It works
> against what _we_ want in terms of bug reporting.  Not to
> mention that it is simply not nice to users.

> At the very least we should be able to get rid of the
> backwardness: making users who will ultimately hit `n' for SMTP
> configuration jump through lots of irrelevant obstacles.  Ask
> the SMTP question first, if you absolutely must ask it each
> time, and then DTRT for a `n' response.

This I agree with.  If the option exists to send mail through
emacs or not it should go something like:

M-x report-emacs-bug RET

Do you want to configure SMTP in Emacs?
no

Write bug report.

Hit send.

If mailclient-send-it is being used, you get to fill in the
address (maybe) in your normal mail client.  If you're passing
off to a local sendmail (sendmail-send-it) you'll need to specify
a valid address at this point.

So effectively I feel there are two bug reports here:

1) Change order of questioning for one-time SMTP configuration to
avoid pointless questions for people who don't want to send mail
in Emacs.

2) Add a method of saving a user customisation that is picked up
when running emacs -Q.

The former seems like a sensible thing to do.  I (FWIW) think the
latter is a terrible idea.

Lawrence
-- 
Lawrence Mitchell <wence <at> gmx.li>





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Thu, 14 Jul 2011 14:26:01 GMT) Full text and rfc822 format available.

Message #17 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lawrence Mitchell'" <wence <at> gmx.li>, <9074 <at> debbugs.gnu.org>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Thu, 14 Jul 2011 07:25:03 -0700
> So effectively I feel there are two bug reports here:
> 
> 1) Change order of questioning for one-time SMTP configuration to
> avoid pointless questions for people who don't want to send mail
> in Emacs.
> 
> 2) Add a method of saving a user customisation that is picked up
> when running emacs -Q.
> 
> The former seems like a sensible thing to do.  I (FWIW) think the
> latter is a terrible idea.

I did *not* propose your #2.  I would not propose it.

My preference would be to return to the bug-reporting behavior users had before
- much less confusing and invasive.

Emacs is for everyone, not just programmers and not just people familiar with
SMTP or even with configuring a mail client for SMTP.  When a user tries to
submit a bug report, starting out by asking about SMTP configuration is not good
UI for a program such as Emacs that is aimed at everyone.

A user who has email already set up - which is probably 99.999% of computer and
cell-phone users - should be able to send an Emacs bug report without any
interaction with Emacs wrt mail setup.

Just one opinion.  We are complicating things unnecessarily - Occam's razor.

Aside from sending a bug report, which should be for all users, including
non-techie Emacs newbies, I don't care so much how complicated things get (I
care, but not as much).

But we should be making bug reporting simpler, not more scary, confusing, and
difficult to use.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Fri, 22 Jul 2011 15:06:02 GMT) Full text and rfc822 format available.

Message #20 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <9074 <at> debbugs.gnu.org>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Fri, 22 Jul 2011 08:05:38 -0700
> My preference would be to return to the bug-reporting 
> behavior users had before - much less confusing and invasive.
> 
> Emacs is for everyone, not just programmers and not just 
> people familiar with SMTP or even with configuring a mail
> client for SMTP.  When a user tries to submit a bug report,
> starting out by asking about SMTP configuration is not good
> UI for a program such as Emacs that is aimed at everyone.
> 
> A user who has email already set up - which is probably 
> 99.999% of computer and cell-phone users - should be able to
> send an Emacs bug report without any interaction with Emacs
> wrt mail setup.
> 
> Just one opinion.  We are complicating things unnecessarily - 
> Occam's razor.
> 
> Aside from sending a bug report, which should be for all 
> users, including non-techie Emacs newbies, I don't care so
> much how complicated things get (I care, but not as much).
> 
> But we should be making bug reporting simpler, not more 
> scary, confusing, and difficult to use.

What's happening with this bug?

Time goes by, and still users are forced to jump through silly hoops just to
report a bug from emacs -Q.

This is not helpful to Emacs development, IMO.  It discourages bug reporting,
especially from newbies.  It is annoying in general.

And it is not necessary.  This is a regression.  We never had this nonsense
before.  Can we please restore the sane, simple, user-friendly approach we had
before?





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 04:07:01 GMT) Full text and rfc822 format available.

Message #23 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 00:06:07 -0400
> Time goes by, and still users are forced to jump through silly hoops just to
> report a bug from emacs -Q.

If it hurts, don't do that.  I think it's really the only possible
answer given that "emacs -Q" specifically means to ignore as much as
possible user configurations.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 16:08:02 GMT) Full text and rfc822 format available.

Message #26 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org
Subject: Re: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 17:44:15 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> "Send this bug report to the Emacs maintainers (yes or no) " yes
>
> "Configure outgoing SMTP in Emacs (y or n) " n
>
> Args out of range: 102021, 102022

`(setq debug-on-error t)', repeat the bug and post the resulting
backtrace.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 16:26:01 GMT) Full text and rfc822 format available.

Message #29 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org
Subject: Re: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 18:24:49 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> If the user is going to answer `n' to the SMTP mail config question,
> in order to just use an outsider mailer (e.g. Outlook), then there is no
> reason for them to have to go through the silly dialog about "tickle me"
> and be told they must edit the `From:' field in order to be able to
> continue.

I agree.  If you're using the "system mailer" (i.e., sendmail or
mailclient), it should be pretty irrelevant whether Emacs knows your
real mail address.

So I think this check should be moved to a later point -- after it has
been decided to use the built-in SMTP support or using the system
mailer. 

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 17:36:02 GMT) Full text and rfc822 format available.

Message #32 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>
Cc: 9074 <at> debbugs.gnu.org
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 2 Aug 2011 10:34:26 -0700
 
> > Time goes by, and still users are forced to jump through 
> > silly hoops just to report a bug from emacs -Q.
> 
> If it hurts, don't do that.  I think it's really the only possible
> answer given that "emacs -Q" specifically means to ignore as much as
> possible user configurations.

What are you talking about?  Don't do what?

I have no problem with the fact that emacs -Q means to ignore user configs.
What are you talking about?

The hoops I spoke of were to have to use a different (e.g. old) Emacs session to
report a bug in the latest Emacs build.  Why?  Because the current builds do not
work!  They do not let you mail a bug report.

Please read the bug thread.  This is a regression.  Emacs users should be able
to _easily_ report a bug from emacs -Q.  And on Windows, at least, their
ordinary mail client (e.g. Outlook) should be invoked and the bug text made
available on the clipboard, as previously.

I cannot believe you would think this regression is somehow an improvement.  I
can only guess that you have not read the thread or do not understand the added
obstacles to user reporting.

Have you seen bug #9155?  It shows that after I reported #9074 some changes were
apparently made (perhaps to remedy some of the #9074 problems?) that broke
things even more.  Do you consider the behavior reported in #9155 an
improvement?

It is now impossible for me to send a bug report from recent Emacs 24 builds.  I
have submitted several reports since this was broken, but all have had to be
from older Emacs builds (e.g. releases), even though they are reporting problems
in the recent builds.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 17:46:02 GMT) Full text and rfc822 format available.

Message #35 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 2 Aug 2011 19:44:35 +0200
On Tue, Aug 2, 2011 at 19:34, Drew Adams <drew.adams <at> oracle.com> wrote:
>
> Please read the bug thread.  This is a regression.  Emacs users should be able
> to _easily_ report a bug from emacs -Q.  And on Windows, at least, their
> ordinary mail client (e.g. Outlook) should be invoked and the bug text made
> available on the clipboard, as previously.

Why was this broken? We went through quite a lot of trouble to get
this working once.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 18:03:02 GMT) Full text and rfc822 format available.

Message #38 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 9074 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 20:00:44 +0200
Lennart Borgman <lennart.borgman <at> gmail.com> writes:

>> Please read the bug thread.  This is a regression.  Emacs users
>> should be able to _easily_ report a bug from emacs -Q.  And on
>> Windows, at least, their ordinary mail client (e.g. Outlook) should
>> be invoked and the bug text made available on the clipboard, as
>> previously.
>
> Why was this broken? We went through quite a lot of trouble to get
> this working once.

Nothing has changed here, except that you're asked one y-or-n question.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 19:02:01 GMT) Full text and rfc822 format available.

Message #41 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lars Magne Ingebrigtsen'" <larsi <at> gnus.org>,
	"'Lennart Borgman'" <lennart.borgman <at> gmail.com>
Cc: 9074 <at> debbugs.gnu.org
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 2 Aug 2011 12:00:14 -0700
> Nothing has changed here, except that you're asked one y-or-n 
> question.

Wrong.  And see bug #9155.

Honestly, characterizing this regression as simply asking one y-or-n question is
completely <unmentionable>.

The user must edit the From field, errors are raised, etc.  It is practically
impossible to send a bug report from emacs -Q now.

To be clear, here we go: I'll do it _again_ for you, from emacs -Q, with a
Windows build from 2011-07-25: I type in a bug report and hit C-c C-c.

1. You have to answer this silly question: "Is
`myuser <at> MYMACHINE.i-did-not-set--mail-host-address--so-tickle-me' really your
email address? (yes or no)".  If you are able to understand that (and why it is
being asked), you will correctly answer "no".

2. "Please edit the From address and try again".  And the window is scrolled all
the way to the bottom, so you see only this now:

..."rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
multi-tty emacs)"

Anyway, you make the guess that "try again" means to hit C-c C-c (?).
You scroll up, find the From address, and edit it.  Then you hit C-c C-c again.

3. "Send this bug report to the Emacs maintainers? (yes or no)"  yes

4. "Configure outgoing SMTP in Emacs? (y or n) n

(But why does the UI switch from yes/no to y/n?  I already pointed this out...)

5. "Sending failed; no recipients"

That, is spite of the fact that the To: field has bug-gnu-emacs <at> gnu.org.  What
happened?  What do you do now?

No pop up of email client, nada.

And here's the complete text of *Messages* (again):

For information about GNU Emacs and the GNU system, type C-h C-a.
Checking for load-path shadows...
Checking 1 files in c:/Emacs-24-2011-07-25-lex/site-lisp...
Checking 499 files in c:/Emacs-24-2011-07-25-lex/lisp...
Checking 87 files in c:/Emacs-24-2011-07-25-lex/lisp/calc...
Checking 57 files in c:/Emacs-24-2011-07-25-lex/lisp/calendar...
Checking 148 files in c:/Emacs-24-2011-07-25-lex/lisp/emacs-lisp...
Checking 48 files in c:/Emacs-24-2011-07-25-lex/lisp/emulation...
Checking 68 files in c:/Emacs-24-2011-07-25-lex/lisp/erc...
Checking 55 files in c:/Emacs-24-2011-07-25-lex/lisp/eshell...
Checking 259 files in c:/Emacs-24-2011-07-25-lex/lisp/gnus...
Checking 65 files in c:/Emacs-24-2011-07-25-lex/lisp/international...
Checking 59 files in c:/Emacs-24-2011-07-25-lex/lisp/language...
Checking 69 files in c:/Emacs-24-2011-07-25-lex/lisp/mail...
Checking 48 files in c:/Emacs-24-2011-07-25-lex/lisp/mh-e...
Checking 121 files in c:/Emacs-24-2011-07-25-lex/lisp/net...
Checking 48 files in c:/Emacs-24-2011-07-25-lex/lisp/nxml...
Checking 194 files in c:/Emacs-24-2011-07-25-lex/lisp/org...
Checking 57 files in c:/Emacs-24-2011-07-25-lex/lisp/play...
Checking 170 files in c:/Emacs-24-2011-07-25-lex/lisp/progmodes...
Checking 88 files in c:/Emacs-24-2011-07-25-lex/lisp/textmodes...
Checking 62 files in c:/Emacs-24-2011-07-25-lex/lisp/url...
Checking 80 files in c:/Emacs-24-2011-07-25-lex/lisp/vc...
Checking 65 files in c:/Emacs-24-2011-07-25-lex/lisp/obsolete...
Checking 24 files in c:/Emacs-24-2011-07-25-lex/lisp/cedet...
Checking 2 files in c:/Emacs-24-2011-07-25-lex/leim...
Checking for load-path shadows...done
call-interactively: Text is read-only [2 times]
report-emacs-bug-hook: Please edit the From address and try again
Sending...
Sending via mail...
Configure outgoing SMTP in Emacs? (y or n)  y
Setting `sendmail-query-once-function' temporarily since "emacs -q" would
overwrite customizations
smtpmail-send-it: Sending failed; no recipients
Auto-saving...

6. Nothing was mailed.  No mail client window popped up.  Nothing happened.  No
feedback except incomprehensible messages, some of which are buried in
*Messages* and were never displayed (noticeably).

7. What the <...> do you call this, if not a serious regression that hampers
users from using Emacs and reporting problems?  I cannot believe that this is
not being taken seriously.

Put yourself in the place of an Emacs newbie on Windows.  Read the transcript
above.  Does it make you feel good about your "improvement" of the bug-reporting
dialog?

Stefan's only reply was "don't do it if it hurts"!  Sheesh - don't report bugs?
Why not replace the body of `report-emacs-bug' to just display a message: "Don't
be stupid, Newbie; we don't want no stinkin bug reports".





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 19:15:02 GMT) Full text and rfc822 format available.

Message #44 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 21:12:58 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> The user must edit the From field, errors are raised, etc.  It is
> practically impossible to send a bug report from emacs -Q now.

Nothing has changed in the From header generation as far as I know.

> 4. "Configure outgoing SMTP in Emacs? (y or n) n
>
> (But why does the UI switch from yes/no to y/n?  I already pointed this out...)

It isn't really a yes-or-no kinda question.

> 5. "Sending failed; no recipients"
>
> That, is spite of the fact that the To: field has bug-gnu-emacs <at> gnu.org.  What
> happened?  What do you do now?
>
> No pop up of email client, nada.

That sounds like a bug.  What's your `sendmail-query-once-function'
after saying "n"?

> Configure outgoing SMTP in Emacs? (y or n)  y
> Setting `sendmail-query-once-function' temporarily since "emacs -q" would
> overwrite customizations
> smtpmail-send-it: Sending failed; no recipients

Here is says that you typed "y", not "n" as you said earlier.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 20:19:01 GMT) Full text and rfc822 format available.

Message #47 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 22:16:50 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> 5. "Sending failed; no recipients"

This has now been fixed.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 21:08:01 GMT) Full text and rfc822 format available.

Message #50 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lars Magne Ingebrigtsen'" <larsi <at> gnus.org>
Cc: 9074 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 2 Aug 2011 14:07:11 -0700
> > 5. "Sending failed; no recipients"
> >
> > That, is spite of the fact that the To: field has 
> > bug-gnu-emacs <at> gnu.org.  What happened?  What do you do now?
> > No pop up of email client, nada.
> 
> That sounds like a bug.  What's your `sendmail-query-once-function'
> after saying "n"?

I just now repeated the recipe.  You can do the same, BTW.

 sendmail-query-once-function is a variable defined in `sendmail.el'.
 Its value is mailclient-send-it

> > Configure outgoing SMTP in Emacs? (y or n)  y
> > Setting `sendmail-query-once-function' temporarily since 
> > "emacs -q" would overwrite customizations
> > smtpmail-send-it: Sending failed; no recipients
> 
> Here is says that you typed "y", not "n" as you said earlier.

I thought I typed `n'.  Perhaps there is a different bug if you type `y'?

Anyway, I just did it again, from emacs -Q.  This time I saw again the "Args out
of range: 105527, 105528" error.  Here is the tail of *Messages*:

report-emacs-bug-hook: Please edit the From address and try again
Sending...
Sending via mail...
Configure outgoing SMTP in Emacs? (y or n)  n
Setting `sendmail-query-once-function' temporarily since "emacs -q" would
overwrite customizations
apply: Args out of range: 105527, 105528

3419 is `point-max' in buffer `*unsent mail to...', BTW.  The original buffer,
from which I invoked `report-emacs-bug', has length 105526.


Also, BTW, this is the message ID:

 Message-ID:
<kryr553sfkv.fsf <at> MYMACHINE.i-did-not-set--mail-host-address--so-tickle-me>

Who knows what kryr553sfkv.fsf is.  MYMACHINE is my machine name.  Are users
required to set the mail-host-address also now?  How many hoops will you force
users to jump through, just to support your new "feature"?

----

But let me try once more, this time with debug-on-error = t. This is the
backtrace when I hit `n' to the SMTP config question:

Debugger entered--Lisp error: (args-out-of-range 105527 105528)
#[binary gibberish...
apply(#[(beg end delete) binary gibberish...
#[binary gibberish...
  filter-buffer-substring(105528 105527)
  copy-region-as-kill(105528 105527)
  kill-ring-save(105528 105527)
  clipboard-kill-ring-save(105528 105527)
  mailclient-send-it()
  sendmail-query-once()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  call-interactively(message-send-and-exit nil nil)





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 21:19:02 GMT) Full text and rfc822 format available.

Message #53 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 02 Aug 2011 23:17:46 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> I just now repeated the recipe.  You can do the same, BTW.

I can't.  I don't have Windows.

> I thought I typed `n'.  Perhaps there is a different bug if you type `y'?

Yes.  Fixed now, though.

> Who knows what kryr553sfkv.fsf is.  MYMACHINE is my machine name.  Are users
> required to set the mail-host-address also now?  How many hoops will you force
> users to jump through, just to support your new "feature"?

What are you on about?

> But let me try once more, this time with debug-on-error = t. This is the
> backtrace when I hit `n' to the SMTP config question:
>
> Debugger entered--Lisp error: (args-out-of-range 105527 105528)
> #[binary gibberish...
> apply(#[(beg end delete) binary gibberish...
> #[binary gibberish...
>   filter-buffer-substring(105528 105527)
>   copy-region-as-kill(105528 105527)
>   kill-ring-save(105528 105527)
>   clipboard-kill-ring-save(105528 105527)
>   mailclient-send-it()
>   sendmail-query-once()

Does mailclient work for you otherwise if not called from "emacs -Q"?
If so, the fix I applied earlier today may fix this, too.  If not, I
have no idea what it could mean.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 21:41:02 GMT) Full text and rfc822 format available.

Message #56 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lars Magne Ingebrigtsen'" <larsi <at> gnus.org>
Cc: 9074 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 2 Aug 2011 14:40:09 -0700
> > I just now repeated the recipe.  You can do the same, BTW.
> 
> I can't.  I don't have Windows.

Then I guess you'll either have to take my word for it or the bug will have to
remain open and the behavior broken until someone else on Windows can repeat the
recipe.

> > Who knows what kryr553sfkv.fsf is.  MYMACHINE is my machine 
> > name.  Are users required to set the mail-host-address also now?
> What are you on about?

Let me put it differently.  Is it correct that the message ID have such a value?
I don't know - just letting you know what it is.

> > Debugger entered--Lisp error: (args-out-of-range 105527 105528)
> 
> Does mailclient work for you otherwise if not called from "emacs -Q"?

Yes. But I was asked again about SMTP, even though I had already answered `n'
once before in a previous non-emacs -Q session.

When I tried this with a previous build it did remember and didn't ask the
question again thereafter.  But now it asked me again. Perhaps I need to go
through this with each new build?  I see the value saved in my `custom-file', so
I don't understand why I was asked.  And doing it a second time, in a new
session, I was not asked.  ?

> If so, the fix I applied earlier today may fix this, too.

Let's hope so.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 02 Aug 2011 22:13:02 GMT) Full text and rfc822 format available.

Message #59 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Wed, 03 Aug 2011 00:11:01 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

>> > Who knows what kryr553sfkv.fsf is.  MYMACHINE is my machine 
>> > name.  Are users required to set the mail-host-address also now?
>> What are you on about?
>
> Let me put it differently.  Is it correct that the message ID have
> such a value?  I don't know - just letting you know what it is.

I have made no change to the Message-ID code in a decade.

> Yes. But I was asked again about SMTP, even though I had already answered `n'
> once before in a previous non-emacs -Q session.
>
> When I tried this with a previous build it did remember and didn't ask
> the question again thereafter.  But now it asked me again. Perhaps I
> need to go through this with each new build?  I see the value saved in
> my `custom-file', so I don't understand why I was asked.  And doing it
> a second time, in a new session, I was not asked.  ?

No, it should respect whatever `sendmail-query-once-function' is set to.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Thu, 04 Aug 2011 14:05:01 GMT) Full text and rfc822 format available.

Message #62 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9074 <at> debbugs.gnu.org, 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>
Subject: Re: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Thu, 04 Aug 2011 22:03:01 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Let me put it differently.  Is it correct that the message ID have
> such a value?

The Message-Id is irrelevant if you are using mailclient-send-it. It has
this value for the same reason as the From field has a bogus value -
because mail is not properly configured in this emacs session.






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Thu, 04 Aug 2011 15:40:02 GMT) Full text and rfc822 format available.

Message #65 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Jason Rumney'" <jasonr <at> gnu.org>
Cc: 9074 <at> debbugs.gnu.org, 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Thu, 4 Aug 2011 08:38:50 -0700
> > Let me put it differently.  Is it correct that the message ID have
> > such a value?
> 
> The Message-Id is irrelevant if you are using mailclient-send-it. It has
> this value for the same reason as the From field has a bogus value -
> because mail is not properly configured in this emacs session.

OK, thanks.

And I notice that if Emacs already knows that the current user is using
`mailclient-send-it' (e.g. saved customization from answering `n' about SMTP
config), then we do not show that field at all, which is good (helps avoid
confusion).





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Tue, 09 Aug 2011 22:40:03 GMT) Full text and rfc822 format available.

Message #68 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <9074 <at> debbugs.gnu.org>
Cc: 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Tue, 9 Aug 2011 15:37:51 -0700
Can you please fix this bug once and for all?  It's been a month now...

Users with `emacs -Q' should not need to edit the `From' field if they are going
to use mailclient anyway.

This was a silly, misguided, and retrograde change to Emacs.  It should be
reverted as soon as possible.  It just acts as one more confusing obstacle,
especially for newbies.

As in the past, users should simply be asked whether they want to send the
message - nothing more.

If you want to encourage users to configure mail for SMTP or anything else, that
should be outside the context of a bug report.  That is, unless configuration is
absolutely necessary before the message can be sent.  But that should be
determined only after an attempt is made to send the message.  And mailclient
should be the default, in any case.

If you want to push Emacs users to also use Gnus or a particular mail
client/method, please do it outside of Emacs bug reporting.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9074; Package emacs. (Mon, 22 Aug 2011 15:43:01 GMT) Full text and rfc822 format available.

Message #71 received at 9074 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <9074 <at> debbugs.gnu.org>
Cc: 'Lars Magne Ingebrigtsen' <larsi <at> gnus.org>
Subject: RE: bug#9074: 24.0.50; problems trying to mail bug report, again
Date: Mon, 22 Aug 2011 08:39:32 -0700
ping

> Can you please fix this bug once and for all?  It's been a 
> month now...





Merged 9074 9877. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 26 Oct 2011 19:08:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 10 Feb 2012 19:28:02 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Fri, 10 Feb 2012 19:28:02 GMT) Full text and rfc822 format available.

Message #78 received at 9074-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 9074-done <at> debbugs.gnu.org
Subject: Re: `report-emacs-bug' prompting rework
Date: Fri, 10 Feb 2012 14:26:19 -0500
Version: 24.0.94

Lars Ingebrigtsen wrote:

> As previously discussed (like, a year ago), the prompting sequence when
> sending bug reports, especially from "emacs -Q", was kinda
> unsatisfactory.  (The main point was that it required that you had a
> valid-ish From header, even though you might end up sending the message
> through mailclient.el, which will then just rewrite your From header,
> anyway.)
>
> Fixing this required a bit of refactoring of the sendmail.el/Message
> setup functions, but hopefully I didn't screw up anything too badly.
>
> And the prompting sequence looks OK to me now, but please let me know if
> anything is wonky.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 10 Feb 2012 19:28:03 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Fri, 10 Feb 2012 19:28:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Mar 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.