From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: smtp crap Date: Wed, 12 Oct 2011 15:42:36 +0200 Message-ID: <838voq5nsj.fsf@gnu.org> References: <8739f4kzp3.fsf@catnip.gol.com> <87ipo0p1bc.fsf@stupidchicken.com> <58C87CB9F44943A7BBE78F2D6B62A850@us.oracle.com> <83botsf06d.fsf@gnu.org> <83k48cxj85.fsf@gnu.org> <83fwizxwy1.fsf@gnu.org> <838vorxrbd.fsf@gnu.org> <8739ezjhen.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318426978 9605 80.91.229.12 (12 Oct 2011 13:42:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 13:42:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 15:42:54 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 1RDz59-0002QO-O5 for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 15:42:51 +0200 Original-Received: from localhost ([::1]:37641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDz58-00037N-Gk for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 09:42:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDz53-000373-QY for emacs-devel@gnu.org; Wed, 12 Oct 2011 09:42:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDz4v-0002Om-H2 for emacs-devel@gnu.org; Wed, 12 Oct 2011 09:42:45 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:40616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDz4v-0002OM-AZ for emacs-devel@gnu.org; Wed, 12 Oct 2011 09:42:37 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LSY00200GNRRQ00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Wed, 12 Oct 2011 15:42:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.51.78]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSY002AEGQYA1C0@a-mtaout21.012.net.il>; Wed, 12 Oct 2011 15:42:35 +0200 (IST) In-reply-to: <8739ezjhen.fsf@gnus.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 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:145001 Archived-At: > From: Lars Ingebrigtsen > Date: Wed, 12 Oct 2011 00:24:32 +0200 > Cc: ding@gnus.org > > Stefan Monnier writes: > > > I've just changed it so it doesn't mess with message any more > > (especially since it wasn't done right) and it offers an OS-oblivious > > 3-way choice (using completing-read). > > Reading the patch, it looks good except for the apparently oblivious > 3-way choice: > > + (insert "Emacs has not been set up for sending mail.\n > +It can be told to send mail either via your favorite mail client, > +or via the system's mail transport agent (\"sendmail\"), if any, > +or it can send email on its own by configuring the SMTP parameters.\n This text should be improved, IMO. See below for my suggestion. > Should the "sendmail" option be off the table if the system doesn't have > a sendmail executable? (I.e., Windows and OS X.) Yes, I think so. Having options that aren't applicable is confusing. Here's my suggestion for the text of this prompt: Emacs is about to send an email message. However, it was not configured for sending email. You can instruct Emacs to send mail in one of the following ways: - Start your default mail client and pass it the message text - Invoke the system's mail transport agent ("sendmail") - Send mail directly by communicating with your mail server (requires setting up SMTP parameters) Please select one of these. Emacs will record your selection and will use it thereafter. To change the selection later, customize the option `send-mail-function'.