emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 06 Jun 2008 02:01:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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?

> 1 -> call-process-region: start=1 end=77 program="/usr/sbin/sendmail" 
> delete=nil buffer=0 display=nil args=("-oi" "-oem" "-odb" "-t")
> 1 <- call-process-region: nil

> According to the docstring, call-process-region doesn't return the exit
> value, because buffer=0.
> This is because mail-interactive is nil by default.

Duh!  Thank you for tracking this down.  I've changed the default of
mail-interactive with the patch below.


        Stefan


--- sendmail.el.~1.314.~        2008-05-11 17:49:35.000000000 -0400
+++ sendmail.el 2008-06-06 01:58:09.000000000 -0400
@@ -114,7 +114,11 @@
   :group 'sendmail)
 
 ;;;###autoload
-(defcustom mail-interactive nil
+(defcustom mail-interactive t
+  ;; We used to use a default of nil rather than t, but nowadays it is very
+  ;; common for sendmail to be misconfigured, so one cannot rely on the
+  ;; bounce message to be delivered anywhere, least of all to the
+  ;; user's mailbox.
   "Non-nil means when sending a message wait for and display errors.
 nil means let mailer mail back a message to report errors."
   :type 'boolean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]