From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Thu, 04 Aug 2011 17:57:04 -0400 Message-ID: <4E3B15B0.5030107@cornell.edu> References: <87liwc1k08.fsf@gmail.com> <34F70A20-5300-4F2C-A271-C928F67F27EF@mit.edu> <4E1B16B3.1070209@cornell.edu> <4E386CFC.8030304@cornell.edu> <4E3AB9C6.5090001@cornell.edu> 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: dough.gmane.org 1312495046 11837 80.91.229.12 (4 Aug 2011 21:57:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2011 21:57:26 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 04 23:57:22 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qp5ur-0001Y0-UZ for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2011 23:57:22 +0200 Original-Received: from localhost ([::1]:39367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp5ur-0007xD-Gr for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2011 17:57:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp5uo-0007wx-Kv for emacs-devel@gnu.org; Thu, 04 Aug 2011 17:57:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qp5un-0002sc-6D for emacs-devel@gnu.org; Thu, 04 Aug 2011 17:57:18 -0400 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:54064 helo=authusersmtp.mail.cornell.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp5um-0002sP-Ux for emacs-devel@gnu.org; Thu, 04 Aug 2011 17:57:17 -0400 Original-Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id p74LvDXP010861 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 4 Aug 2011 17:57:14 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 128.253.83.141 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142891 Archived-At: On 8/4/2011 4:15 PM, Stefan Monnier wrote: >>>>>> I guess it works on other systems, too? If sendmail can't be found, >>>>>> then perhaps defaulting to mailclient in the `n' case would be a good >>>>>> default on all systems? >>>>> I'm not sure if the feature freeze would prevent this change from >>>>> being made, but I'm sending this as a reminder in case you've >>>>> forgotten about it. >>> Thanks, yes it's something we want to do. >> Good. There's still the question of exactly what sendmail-query-once should >> do. I think it should query all users who haven't already set up smtpmail. > > I don't understand what you mean. Clearly it should only query if > sendmail-query-once-function is set to `query', otherwise it would keep > querying forever those users who don't want to use&setup smtpmail. Sorry, I wasn't clear. I meant to refer only to the case where sendmail-query-once-function is set to `query'. The existing code does not always query in that situation, even though the documentation says it does. >> And, when it queries, mailclient should always be one of the choices, even >> if sendmail exists. > > Yes, of course. After all, the whole issue that prompted this querying > is that the presence of sendmail is not sufficient to guarantee that > sendmail can be used. I'm glad you agree. Lars seemed to have something else in mind. (See the quote from him at the top of this mail.) He proposed only offering emacsclient as an option on systems that don't have sendmail. Ken