I tried to send a bug report using Help > Send bug report. When I hit C-c C-c, I
got this error:
Searching for program: no such file or directory, /bin/bash.
So I'm typing this into my mail client, Outlook, directly (copying and pasting
the version info etc.).
I would like to know a workaround soon, so I can send other bug reports in the
normal way. I have no problem sending bug reports in any Emacs release (20
through 23.1), and I've never previously had a problem sending a report for any
pretest version.
In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600)
of 2010-01-02 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
No, unfortunately. That raises this error:
Sending...failed with exit value 1
And this is all there is in the *Messages* buffer about this:
Sending...
sendmail-send-it: Sending...failed with exit value 1
Does the below help?
(setq mail-user-agent 'sendmail-user-agent)
Yes. It did and it still does. It works for emacs -Q in Emacs 20, 21, 22, and
23.1. And it has always worked for pretest binaries as well. I used `emacs -Q
--debug-init'.
Normally, when I hit C-c C-c it asks me if I want to send the bug and I answer
`yes'. It then opens a new Outlook message with the To and Subject fields
filled, and with text in the body telling me that my bug report is on the
clipboard. I just use C-a C-v in the body to replace that text with the report,
then click Send.
In the Emacs 23.1.91 pretest, , when I answer `yes' it raises the error.
Didn't we make a special workaround on w32 for this to work? I thought
that workaround was needed. It did put the content of the bug report
on the clipboard etc.
Is that what you have been using before, Drew, or?
If you were using it you should have noticed because it was not
totally transparent. The trouble was the restriction on the command
line length in w32. Because of this we could not send the message this
way to the default mail client. Instead we did a two step workaround:
1) We first put the message on the clipboard and then created a
shorter mail message that said that the real content was on the
clipboard.
2) This shorter message was sent to the default mail client and should
up for editing before sending.
I do not know if this works any more however. I do not use it myself
anymore since using it with web mail (gmail) is a bit clumsy. I just
cut and paste instead.
But for those using a w32 mail client it should still be usable I
believe. Or has someone found a workaround for the problem with the
command line length restriction?
> Are you able to reproduce the bug using Jason's pretest build and `emacs -Q'?
>
> There is nothing special at my end, AFAIK. I have Windows XP SP3. I do have
> Cygwin installed on my computer, but I don't tell Emacs that in any way when I
> use `emacs -Q'. I use Outlook 2003 as mail client.
Sorry, I don't know what you are referring to, Lennart.
I have always used vanilla Emacs with `emacs -Q' to report bugs. I have,
personally, never employed any "special workaround on w32". I don't know
anything about such a workaround.
Or perhaps you are referring to something that Emacs did under the covers? If
so, I know nothing about it - I've never tried to follow the `report-emacs-bug'
code or the Emacs mail code.
Are you able to reproduce the bug using Jason's pretest build and `emacs -Q'?
Perhaps you can determine when it stopped working. I assume you mean that it
stopped working for "CVS" Emacs, sometime after 23.1 was released. The 23.1
release works fine.
Sorry, I missed the message where you described this. Yes, you were
using the workaround I described.
> But I don't even get to that stage now. I don't get an email-client message
> created. I doubt that Outlook is ever invoked in any way. As soon as I type
> `yes' to confirm that I want to send a bug report, the error is raised.
Apparently, you _are_ talking about something that Emacs did, and not something
that we users did. When you say "we", you apparently mean Emacs.
In that case, yes, as I already indicated in detail earlier, I pasted the true
bug-report content to the email message prepared by Emacs (via my mail client).
Please read my earlier message that details this.
But I don't even get to that stage now. I don't get an email-client message
Sorry, but I can't remember at the moment. There has been too many
small troubles around this.