unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; emacs-report-bug fails silently
Date: Thu, 12 Jun 2008 22:15:18 -0600	[thread overview]
Message-ID: <g2ss8l$fmd$1@ger.gmane.org> (raw)
In-Reply-To: <jwvlk1j6r2p.fsf-monnier+emacs@gnu.org>

Stefan Monnier wrote:
>>> 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.

Just curious: Why not leave the default as-is and let-bind the variable
in emacs-report-bug?

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

-- 
Kevin Rodgers
Denver, Colorado, USA





  parent reply	other threads:[~2008-06-13  4:15 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 12:59 23.0.60; emacs-report-bug fails silently Florian Beck
2008-05-30 13:59 ` Lennart Borgman (gmail)
2008-05-30 21:42   ` Florian Beck
2008-05-30 21:52     ` Lennart Borgman (gmail)
2008-05-31  0:44       ` Florian Beck
2008-05-31  9:18         ` Lennart Borgman (gmail)
2008-05-31 10:56           ` Reiner Steib
2008-06-01  2:47           ` Florian Beck
2008-06-01  8:04             ` Lennart Borgman (gmail)
2008-05-31  9:53         ` Reiner Steib
2008-06-01  2:54           ` Florian Beck
2008-06-01  7:59             ` Lennart Borgman (gmail)
2008-06-02  0:38             ` Stefan Monnier
2008-06-02  2:13               ` Florian Beck
2008-06-02  2:24                 ` Stefan Monnier
2008-06-05  5:27                 ` Stefan Monnier
2008-06-05 11:53                   ` Florian Beck
2008-06-05 13:58                     ` Stefan Monnier
2008-06-05 14:28                       ` Florian Beck
2008-06-06  6:01                         ` Stefan Monnier
2008-06-06 19:04                           ` Richard M Stallman
2008-06-07  1:24                             ` Stefan Monnier
2008-06-07  2:28                           ` Florian Beck
2008-06-07 14:23                             ` Chong Yidong
2008-06-07  7:50                           ` Reiner Steib
2008-06-13  4:15                           ` Kevin Rodgers [this message]
2008-06-13 14:17                             ` Stefan Monnier
2008-06-02  8:07               ` Paul R
2008-06-02 18:56                 ` Reiner Steib
2008-06-02 19:15                   ` Paul R
2008-06-03  8:26                     ` tomas
2008-06-05  5:15                       ` Stefan Monnier
2008-06-05 12:41                         ` tomas
2008-06-05 16:43                           ` Don Armstrong
2008-06-05 19:50                             ` Stefan Monnier
2008-06-01  5:36     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g2ss8l$fmd$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).