From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: sendmail.el bug or expected behavior? Date: Wed, 21 Jan 2004 23:33:53 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <877jzn2lk8.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074725025 26472 80.91.224.253 (21 Jan 2004 22:43:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2004 22:43:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jan 21 23:43:38 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjR4U-00019M-00 for ; Wed, 21 Jan 2004 23:43:38 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjR4U-000134-00 for ; Wed, 21 Jan 2004 23:43:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AjR20-0001PB-QB for emacs-devel@quimby.gnus.org; Wed, 21 Jan 2004 17:41:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AjR1e-0001Oc-7y for emacs-devel@gnu.org; Wed, 21 Jan 2004 17:40:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AjR18-0001Jm-4d for emacs-devel@gnu.org; Wed, 21 Jan 2004 17:40:41 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AjQvS-0000Rs-Dr for emacs-devel@gnu.org; Wed, 21 Jan 2004 17:34:18 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AjQvR-0001VY-00 for ; Wed, 21 Jan 2004 23:34:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjQvQ-0001VP-00 for ; Wed, 21 Jan 2004 23:34:16 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AjQvP-0006Wr-00 for ; Wed, 21 Jan 2004 23:34:15 +0100 Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:wafOSRXJ00PXLvfXPTHX3ac5Jes= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19419 Richard Stallman writes: > When mail-interactive is nil, Emacs should not wait. > > Many years ago I found that waiting for sendmail to finish took so > long it was intolerable. Maybe that has changed; if so, we could > change the default value of mail-interactive to make Emacs wait > by default. > > What experiences do people have? It has not changed. I recall (someone please correct me if I misremember) the XEmacs version of sendmail.el actually did change the default, just because the current situation can lead to lost mail, but it was quickly reverted because of the lockups. This was just a few years (1-2) ago. Another solution may be to make sendmail.el more asynchronous, so it can wait for sendmail to exit in the background, and then possibly report the error code. But this may not work well if /usr/lib/sendmail hangs for hours, which appears to sometimes be the case, because the user might quit emacs before sendmail finishes.