From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Ryniker Newsgroups: gmane.emacs.bugs Subject: bug#20211: 24.4; sendmail.el Date: Sat, 28 Mar 2015 16:49:27 -0400 Message-ID: References: <55167B8B.6030203@gmx.at> <5516C81B.3040400@gmx.at> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427575828 7402 80.91.229.3 (28 Mar 2015 20:50:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Mar 2015 20:50:28 +0000 (UTC) Cc: 20211@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 28 21:50:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YbxgK-0005K7-6u for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Mar 2015 21:50:12 +0100 Original-Received: from localhost ([::1]:55227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbxgJ-0004GP-7D for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Mar 2015 16:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbxgG-0004Ej-DR for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 16:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbxgB-0002sy-Er for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 16:50:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbxgB-0002sJ-93 for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 16:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YbxgA-0002JH-7u for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2015 16:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Ryniker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Mar 2015 20:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20211 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20211-submit@debbugs.gnu.org id=B20211.14275757758836 (code B ref 20211); Sat, 28 Mar 2015 20:50:02 +0000 Original-Received: (at 20211) by debbugs.gnu.org; 28 Mar 2015 20:49:35 +0000 Original-Received: from localhost ([127.0.0.1]:39126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ybxfj-0002IR-54 for submit@debbugs.gnu.org; Sat, 28 Mar 2015 16:49:35 -0400 Original-Received: from ryniker.ods.org ([71.83.60.62]:43497) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ybxfi-0002IC-08 for 20211@debbugs.gnu.org; Sat, 28 Mar 2015 16:49:34 -0400 Original-Received: from ryniker by ryniker.ods.org with local (Exim 4.80.1) (envelope-from ) id 1Ybxfb-0003YD-U6; Sat, 28 Mar 2015 16:49:27 -0400 In-reply-to: <5516C81B.3040400@gmx.at> (rudalics@gmx.at) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101003 Archived-At: > We should be able to use the form (bufferp errbuf) once only I concur. Does the following look sensible to you? Should we endeavor to confirm good behavior when mail-interactive is true and the sendmail program fails? *** 1299,1308 **** (error "Sending...failed to %s" (buffer-substring (point-min) (point-max))))))) (kill-buffer tembuf) ! (if (and (bufferp errbuf) ! (not error)) ! (kill-buffer errbuf) ! (switch-to-buffer-other-window errbuf))))) (autoload 'rmail-output-to-rmail-buffer "rmailout") --- 1302,1310 ---- (error "Sending...failed to %s" (buffer-substring (point-min) (point-max))))))) (kill-buffer tembuf) ! (when (bufferp errbuf) ! (if error (switch-to-buffer-other-window errbuf) ! (kill-buffer errbuf)))))) (autoload 'rmail-output-to-rmail-buffer "rmailout")