From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; emacs-report-bug fails silently Date: Fri, 06 Jun 2008 02:01:24 -0400 Message-ID: References: <87fxs0hrrv.fsf@sophokles.streitblatt.de> <4840084C.2020405@gmail.com> <87d4n3ii41.fsf@sophokles.streitblatt.de> <48407716.5080704@gmail.com> <874p8fi9op.fsf@sophokles.streitblatt.de> <87od6lc1bd.fsf@sophokles.streitblatt.de> <87abi4r3ci.fsf@sophokles.streitblatt.de> <87zlq0gkru.fsf@sophokles.streitblatt.de> <87r6bcgdlm.fsf@sophokles.streitblatt.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212732108 14678 80.91.229.12 (6 Jun 2008 06:01:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 06:01:48 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Florian Beck Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 08:02:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4V1v-0006vb-9T for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 08:02:27 +0200 Original-Received: from localhost ([127.0.0.1]:43340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4V18-0007Go-Nv for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 02:01:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4V13-0007Dk-TE for emacs-devel@gnu.org; Fri, 06 Jun 2008 02:01:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4V13-0007DH-HS for emacs-devel@gnu.org; Fri, 06 Jun 2008 02:01:33 -0400 Original-Received: from [199.232.76.173] (port=51497 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4V13-0007DE-8W for emacs-devel@gnu.org; Fri, 06 Jun 2008 02:01:33 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:39786) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4V12-0002mQ-TX for emacs-devel@gnu.org; Fri, 06 Jun 2008 02:01:32 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:50576) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K4UzB-0003Dy-Mz for emacs-pretest-bug@gnu.org; Fri, 06 Jun 2008 01:59:37 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K4V10-0002ly-RZ for emacs-pretest-bug@gnu.org; Fri, 06 Jun 2008 02:01:32 -0400 Original-Received: from 206-248-132-168.dsl.teksavvy.com ([206.248.132.168]:40240 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4V10-0002lo-Gy for emacs-pretest-bug@gnu.org; Fri, 06 Jun 2008 02:01:30 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 86A84B4248; Fri, 6 Jun 2008 02:01:24 -0400 (EDT) In-Reply-To: <87r6bcgdlm.fsf@sophokles.streitblatt.de> (Florian Beck's message of "Thu, 05 Jun 2008 16:28:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98495 gmane.emacs.pretest.bugs:22575 Archived-At: >> 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