From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Thu, 30 Jun 2011 10:55:20 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <831uygtsx1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309424303 22844 80.91.229.12 (30 Jun 2011 08:58:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 08:58:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 10:58:19 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 1QcD4j-0006CN-RN for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2011 10:58:18 +0200 Original-Received: from localhost ([::1]:58263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcD4j-0000bi-3q for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2011 04:58:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcD29-0008WM-4c for emacs-devel@gnu.org; Thu, 30 Jun 2011 04:55:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcD26-0008W3-Qg for emacs-devel@gnu.org; Thu, 30 Jun 2011 04:55:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcD26-0008Vq-8Z for emacs-devel@gnu.org; Thu, 30 Jun 2011 04:55:34 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QcD24-0004xf-I0 for emacs-devel@gnu.org; Thu, 30 Jun 2011 10:55:32 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2011 10:55:32 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2011 10:55:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEXx7u7+/v52SkpyOzzm 39+kcHC3oKDp5ORTHBz59/b////+//6akZHPu7tjMDDTDHRTAAAAmklEQVQ4jWNYBQULpVahAIZV OMCoxJCUkMIlgUPHQsGFgoLSCwWlVq8GS/gcy805czbN5+7dzNy7V+6W+V5LzwRL3Ojo0HjU0dHU 88wsWM/EOC/PWMkSKvHunFJfm94L1VajIBVl5dDHpk/AElNcCthLXLymsFRWVk5gZKisZOBkpInP pXBJUNEO2kgsHEjLB4PEmTNnuLBJAAAmx+XUe/LatAAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Interpol's _Slow Hands_: "Slow Hands (Britt Daniel Remix)" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:FLpgilxtTYPLbns8RLAie0pQpfE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:141206 Archived-At: Stefan Monnier writes: > Good point. Here's a solution: > > - set the default to smtpmail-send-it. > - If smtpmail is not configured, it can then start by prompting whether > the user actually wants to use something else (either his MUA or his > MTA), and if not then goes on prompting for smtpmail configuration. This is basically what I've implemented with `sendmail-query-once' later in the thread. :-) Could you take a look at whether what it does is reasonable, and if so, I can check in a change that makes it the default. > BTW, we should push the fd.o or gconf guys to provide some centralized > configuration of email, so that all MUAs (including Gnus, Thunderbird, > ...) can share info about how to send email, where to fetch it, ... Yes. That would be a good long-term solution for GNU/Linux-ey distributions. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/