From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; emacs-report-bug fails silently Date: Thu, 12 Jun 2008 22:15:18 -0600 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213330542 18110 80.91.229.12 (13 Jun 2008 04:15:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 04:15:42 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 13 06:16:25 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 1K70i8-0002sj-SY for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 06:16:25 +0200 Original-Received: from localhost ([127.0.0.1]:41156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K70hK-0002rp-UZ for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 00:15:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K70hG-0002rk-QH for emacs-devel@gnu.org; Fri, 13 Jun 2008 00:15:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K70hE-0002rY-FM for emacs-devel@gnu.org; Fri, 13 Jun 2008 00:15:29 -0400 Original-Received: from [199.232.76.173] (port=46256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K70hE-0002rV-8j for emacs-devel@gnu.org; Fri, 13 Jun 2008 00:15:28 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:40358 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K70hE-000174-0t for emacs-devel@gnu.org; Fri, 13 Jun 2008 00:15:28 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K70hC-0005cM-GQ for emacs-devel@gnu.org; Fri, 13 Jun 2008 04:15:26 +0000 Original-Received: from c-67-190-29-163.hsd1.co.comcast.net ([67.190.29.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jun 2008 04:15:26 +0000 Original-Received: from kevin.d.rodgers by c-67-190-29-163.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jun 2008 04:15:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-190-29-163.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) In-Reply-To: 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:99059 gmane.emacs.pretest.bugs:22623 Archived-At: 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