[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; emacs-report-bug fails silently
From: |
Stefan Monnier |
Subject: |
Re: 23.0.60; emacs-report-bug fails silently |
Date: |
Thu, 05 Jun 2008 09:58:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> That's odd. From what you said earlier, it seems you're using the
>> sendmail.el code to send the message. And that code does (around line
>> 1167):
>> (exit-value (apply 'call-process-region args)))
>> (or (null exit-value) (eq 0 exit-value)
>> (error "Sending...failed with exit value %d" exit-value)))
>>
>> so it should catch a non-0 exit status and signal an error for it.
>>
>> Could you try and investigate, to see whether you're indeed running this
>> code and why it doesn't get an exit-value of 75?
> Yes, this code is run. As far as I can see the following happens:
> * append((1 72 "/usr/sbin/sendmail" nil 0 nil "-oi") nil nil ("-oem" "-odb")
> ("-t") nil)
> And then:
> Debugger entered--returning value: nil
> call-process-region(1 72 "/usr/sbin/sendmail" "/tmp/emacsY9owP5" 0 nil
> "-oi" "-oem" "-odb" "-t")
> * apply(call-process-region (1 72 "/usr/sbin/sendmail" nil 0 nil "-oi" "-oem"
> "-odb" "-t"))
> * byte-code [snipped]
> * sendmail-send-it()
> mail-send()
> mail-send-and-exit(nil)
> call-interactively(mail-send-and-exit nil nil)
Can you do M-x trace-function-background RET call-process-region RET,
then run the code, then look at the *trace-output* buffer to see what
call-process-region returns?
>> (or (null exit-value) (eq 0 exit-value)
>> (error "Sending...failed with exit value %d" exit-value)))
> is never run, because it belongs to the else branch of the enclosing
> if statement.
Hmm... which version of sendmail.el is that? On the trunk and the
Emacs-22 branch, this code is the body of the `let' that runs
call-process-region, so it definitely should be run.
Stefan
- Re: 23.0.60; emacs-report-bug fails silently, Chong Yidong, 2008/06/01
- Re: 23.0.60; emacs-report-bug fails silently, Lennart Borgman (gmail), 2008/06/01
- Re: 23.0.60; emacs-report-bug fails silently, Lennart Borgman (gmail), 2008/06/01
- Re: 23.0.60; emacs-report-bug fails silently, Stefan Monnier, 2008/06/01
- Re: 23.0.60; emacs-report-bug fails silently, Florian Beck, 2008/06/01
- Re: 23.0.60; emacs-report-bug fails silently, Stefan Monnier, 2008/06/01
- Re: 23.0.60; emacs-report-bug fails silently, Stefan Monnier, 2008/06/05
- Re: 23.0.60; emacs-report-bug fails silently, Florian Beck, 2008/06/05
- Re: 23.0.60; emacs-report-bug fails silently,
Stefan Monnier <=
- Re: 23.0.60; emacs-report-bug fails silently, Florian Beck, 2008/06/05
- Re: 23.0.60; emacs-report-bug fails silently, Stefan Monnier, 2008/06/06
- Re: 23.0.60; emacs-report-bug fails silently, Richard M Stallman, 2008/06/06
- Re: 23.0.60; emacs-report-bug fails silently, Stefan Monnier, 2008/06/06
- Re: 23.0.60; emacs-report-bug fails silently, Florian Beck, 2008/06/06
- Re: 23.0.60; emacs-report-bug fails silently, Chong Yidong, 2008/06/07
- Re: 23.0.60; emacs-report-bug fails silently, Reiner Steib, 2008/06/07
- Re: 23.0.60; emacs-report-bug fails silently, Kevin Rodgers, 2008/06/13
- Re: 23.0.60; emacs-report-bug fails silently, Stefan Monnier, 2008/06/13
Re: 23.0.60; emacs-report-bug fails silently, Paul R, 2008/06/02