From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5299: Default mailer (was: custom-reevaluate-setting / custom-initialize-delay) Date: Wed, 24 Feb 2010 13:51:05 -0500 Message-ID: References: <64d3zvx1zi.fsf@fencepost.gnu.org> <83fx4rn5y9.fsf@gnu.org> <6C9499604D654518BE69C7DC805E18C6@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267042261 11699 80.91.229.12 (24 Feb 2010 20:11:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 20:11:01 +0000 (UTC) Cc: 5299@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 24 21:10:57 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NkNZH-000134-FD for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 21:10:47 +0100 Original-Received: from localhost ([127.0.0.1]:50038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkNPC-0004Kf-4C for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Feb 2010 15:00:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkMpN-0003nu-09 for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2010 14:23:21 -0500 Original-Received: from [140.186.70.92] (port=39186 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkMpJ-0003mL-9j for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2010 14:23:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkMpH-0004TB-Dk for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2010 14:23:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57513) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkMpH-0004T7-CD for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2010 14:23:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NkMN0-0001en-88; Wed, 24 Feb 2010 13:54:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Feb 2010 18:54:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5299 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 5299-submit@debbugs.gnu.org id=B5299.12670376076356 (code B ref 5299); Wed, 24 Feb 2010 18:54:02 +0000 Original-Received: (at 5299) by debbugs.gnu.org; 24 Feb 2010 18:53:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkMMF-0001eH-0t for submit@debbugs.gnu.org; Wed, 24 Feb 2010 13:53:27 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkMMD-0001dr-1e for 5299@debbugs.gnu.org; Wed, 24 Feb 2010 13:53:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAB8EhUtFpZOk/2dsb2JhbACbD3S8QYRyBIMWh28 X-IronPort-AV: E=Sophos;i="4.49,534,1262581200"; d="scan'208";a="56683952" Original-Received: from 69-165-147-164.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.164]) by ironport2-out.pppoe.ca with ESMTP; 24 Feb 2010 13:53:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 766A18580; Wed, 24 Feb 2010 13:51:05 -0500 (EST) In-Reply-To: <6C9499604D654518BE69C7DC805E18C6@us.oracle.com> (Drew Adams's message of "Wed, 24 Feb 2010 09:35:38 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 24 Feb 2010 13:54:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35289 Archived-At: >> Thanks, so I think the patch below is needed, can you try it to see if >> it helps? > Nope. > I loaded a patched version of gnus-art.el, then tried to send a bug report. > I got only this (in *Messages*): > Sending... > Sending via mail... > message-send-mail-with-sendmail: Sending...failed with exit value 1 I guess that good: it means that my patch worked and then you bumped into the next problem which is that message-send-mail-function is not set to use mailclient. I think we need to revisit the setting for the default mailer: I think neither the mailclient-send-it nor any other setting is a good default. I think we should instead use as default a special function that prompts the user whether he wants to use his external MUA to send email (i.e. use mailclient-send-it), or to use /usr/sbin/sendmail, or to use smtpmail in which case it'll ask the user to configure his SMTP server. And this should be used on *all* systems rather than only under w32 and/or macosx, since sadly /usr/sbin/sendmail is too often unusable even under GNU/Linux (my /usr/sbin/sendmail is usable, but I must admit that it took me a significant amount of work on my laptop, so I can't expect most people to go through that trouble). Stefan