GNU bug report logs - #29074
26.0; Cannot sent bug report in Emacs 26 pretest

Previous Next

Package: emacs;

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

Date: Mon, 30 Oct 2017 21:49:01 UTC

Severity: normal

Tags: fixed

Merged with 31351

Found in versions 26.0, 27.0

Fixed in version 26.1

Done: Eli Zaretskii <eliz <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 29074 in the body.
You can then email your comments to 29074 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 bug-gnu-emacs <at> gnu.org:
bug#29074; Package emacs. (Mon, 30 Oct 2017 21:49:01 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. (Mon, 30 Oct 2017 21:49:02 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: 26.0; Cannot sent bug report in Emacs 26 pretest
Date: Mon, 30 Oct 2017 14:47:48 -0700 (PDT)
I was in buffer *Backtrace* and did M-x report-emacs-bug.

I entered bug-report text and hit C-c C-c, then answered "yes".  My
*unsent mail to bug-gnu-emacs* buffer was killed and a dialog box was
displayed by MS Outlook, which said, "The command line argument is not
valid. Verify the switch you are using".

I tried again, and Emacs said that I already sent the message (which is
not true) and asked if I wanted to send it again. I answered yes. Same
thing.

In GNU Emacs 26.0.90 (build 3, x86_64-w64-mingw32)
 of 2017-10-13
Repository revision: 906224eba147bdfc0514090064e8e8f53160f1d4
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29074; Package emacs. (Mon, 30 Oct 2017 21:56:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: 29074 <at> debbugs.gnu.org
Subject: RE: bug#29074: 26.0; Cannot sent bug report in Emacs 26 pretest
Date: Mon, 30 Oct 2017 14:55:09 -0700 (PDT)
[Message part 1 (text/plain, inline)]
I tried again, after closing Outlook altogether.

This time I got the error message "Cannot start Microsoft Outlook. The command line argument is not valid. Verify the switch you are using."

Attached are the two error messages.

It seems that using a mail client from `M-x report-emacs-bug'
is broken for the pretest.  But sometimes I have been able
to send bug reports from it, I think.
[throw-emacs-bug-29074-1.png (image/png, attachment)]
[throw-emacs-bug-29074-2.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29074; Package emacs. (Thu, 02 Nov 2017 16:08:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 29074 <at> debbugs.gnu.org
Subject: Re: bug#29074: 26.0; Cannot sent bug report in Emacs 26 pretest
Date: Thu, 02 Nov 2017 18:06:51 +0200
> Date: Mon, 30 Oct 2017 14:47:48 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> I was in buffer *Backtrace* and did M-x report-emacs-bug.
> 
> I entered bug-report text and hit C-c C-c, then answered "yes".  My
> *unsent mail to bug-gnu-emacs* buffer was killed and a dialog box was
> displayed by MS Outlook, which said, "The command line argument is not
> valid. Verify the switch you are using".
> 
> I tried again, and Emacs said that I already sent the message (which is
> not true) and asked if I wanted to send it again. I answered yes. Same
> thing.

I couldn't reproduce this.  I tried on 2 different Windows 7 systems,
and it worked as expected for me, both when Outlook was already
running and when it wasn't.

Does this happen in "emacs -Q"?  If it does, then please step in
Edebug through mailclient-send-it, which is the function emacsbug.el
invokes in this case, and tell what are the arguments with which it
calls browse-url.

If it doesn't happen in "emacs -Q", then please try to see what gets
in the way.  Is mailclient-send-it at all called, and if it is, how
does it call browse-url?

Also, what version of Outlook/Office do you have on that system?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29074; Package emacs. (Thu, 02 Nov 2017 16:21:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 29074 <at> debbugs.gnu.org
Subject: RE: bug#29074: 26.0; Cannot sent bug report in Emacs 26 pretest
Date: Thu, 2 Nov 2017 09:20:21 -0700 (PDT)
> > I was in buffer *Backtrace* and did M-x report-emacs-bug.
> >
> > I entered bug-report text and hit C-c C-c, then answered "yes".  My
> > *unsent mail to bug-gnu-emacs* buffer was killed and a dialog box was
> > displayed by MS Outlook, which said, "The command line argument is not
> > valid. Verify the switch you are using".
> >
> > I tried again, and Emacs said that I already sent the message (which is
> > not true) and asked if I wanted to send it again. I answered yes. Same
> > thing.
> 
> I couldn't reproduce this.  I tried on 2 different Windows 7 systems,
> and it worked as expected for me, both when Outlook was already
> running and when it wasn't.
> 
> Does this happen in "emacs -Q"?  If it does, then please step in
> Edebug through mailclient-send-it, which is the function emacsbug.el
> invokes in this case, and tell what are the arguments with which it
> calls browse-url.
> 
> If it doesn't happen in "emacs -Q", then please try to see what gets
> in the way.  Is mailclient-send-it at all called, and if it is, how
> does it call browse-url?
> 
> Also, what version of Outlook/Office do you have on that system?

I haven't seen it again, and I think I've filed other Emacs 26 pretest
bugs since then.  I believe I ran into it from emacs -Q, but I'm not
100% sure of that.

I now have Outlook/Office 2016.  I "upgraded" to it recently from 2007.
The version we have may be tweaked by my company, to integrate it
with the mail server etc.  Not sure what that "integration" might involve.

If the problem occurs again I'll try to track down more info about it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29074; Package emacs. (Mon, 20 Nov 2017 21:41:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 29074 <at> debbugs.gnu.org
Subject: Re: bug#29074: 26.0; Cannot sent bug report in Emacs 26 pretest
Date: Mon, 20 Nov 2017 16:40:19 -0500
A misconfigured system mailto handler is not an Emacs issue.

https://support.microsoft.com/en-us/help/312346/a-new-mail-message-window-does-not-open-when-you-click-a-mailto-link-o




Merged 29074 31351. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 03 May 2018 01:03:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29074; Package emacs. (Thu, 03 May 2018 18:18:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 29074 <at> debbugs.gnu.org
Subject: Re: bug#29074: 26.0; Cannot sent bug report in Emacs 26 pretest
Date: Thu, 03 May 2018 21:17:29 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Mon, 20 Nov 2017 16:40:19 -0500
> 
> A misconfigured system mailto handler is not an Emacs issue.
> 
> https://support.microsoft.com/en-us/help/312346/a-new-mail-message-window-does-not-open-when-you-click-a-mailto-link-o

For the record: that old article from MS Support is not relevant to
the issue at hand, because the default setting for handling the
'mailto' URLs was fixed on Windows years ago, and is out of the box
exactly like this article says.

The reason for the failure is most likely quoted strings "..." in the
Subject of the report.  This should be fixed in Emacs 26.1 and later.




Added tag(s) fixed; removed tag(s) moreinfo. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 05 May 2018 02:19:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 05 May 2018 02:19:02 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, 02 Jun 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 301 days ago.

Previous Next


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