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: Mon, 27 Jun 2011 12:32:10 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309173890 18238 80.91.229.12 (27 Jun 2011 11:24:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2011 11:24:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 27 13:24:47 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 1Qb9vm-0000or-53 for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2011 13:24:42 +0200 Original-Received: from localhost ([::1]:54004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb9vk-0001G4-Hy for ged-emacs-devel@m.gmane.org; Mon, 27 Jun 2011 07:24:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb97C-0003xf-Th for emacs-devel@gnu.org; Mon, 27 Jun 2011 06:32:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb97B-0005q5-9y for emacs-devel@gnu.org; Mon, 27 Jun 2011 06:32:26 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb97A-0005pz-Sf for emacs-devel@gnu.org; Mon, 27 Jun 2011 06:32:25 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qb976-0004R5-4y for emacs-devel@gnu.org; Mon, 27 Jun 2011 12:32:20 +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 ; Mon, 27 Jun 2011 12:32:20 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jun 2011 12:32:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUsZLkgU6lel99+t/EU NYyr5PuZ1fkGDU5Ce8rY9/2fRPEtAAACZklEQVQ4jXWTsavbMBDGldLBY/yeobvU5Llr1Ihmq4sh nRtkXrYHxoZsHQzqmLodNDskcP9tvzvbaaG8GxJZv7v7TqeTKgsVdVSzLdI0LWFBlcUyap1HsbOQ DGCvyjRNNCz2W7rlCJ1C8L9MYm+sdkR0iVFi7kBba08AtLkTtYRi1KapiI5E3/I4ZVNpAlGtbUNX xFxQxpkJAEsAnOimLwBcIJJlnIqBOdGw29HFaolJU6WkJmtQ1OoD3SyIyGAf7pY1yFypaoWc1UKA c9Zuid5Y8m1rN5rPCYBUyIWqFiu6+oYJJ1NRcjlPdMUJva9qK/pcLAJcTWK+qqYQlArl1tsJQKUW FUnUev+wmwDrozA+nXPO+y+PvH9r/VQYp3KNp8tjuj5SVSOialleads2/kjDLwa1OVynEIVYtJsG k6+QyVRc8AxIwPMKqdwI6n8i7LD210NT4/AiMkdc6sE0vj6546Su3Bhx8INx7R0glXESsjkOPBE7 f5rFjVRL+jRwy3bVdgYWx/MMnhlsDyPQWvVIDZlPuxzNtOsaQLqIllju4cv23Pdm0wNUUxPZ0bUv Lk16DDCW0+VK2639qMsEl3bm9YanQYZqBBixuOCJ4ftbjHeuzdO5w1CqRd9PE6fGCdVPRbfE4GfF wzyJPHKIef+9SzPM8rsfUfZLVQjp86xMsyLdh4THEK+NnxrrxJ8j+Cr7/KJKISr5vS+yIgtLNe4z AEE9b/clXmv4fH/OHX4LfGUjKOQxl/ugQilWALBjIfshAIh18Alltw/d6C9A1vIhHtNKhfDXS9bj /5wqdOEV8J+9Cv4APtJcLeE1Xp8AAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Antony and the Johnsons's _Antony and the Johnsons_: "Cripple and the Starfish" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:NB2Bqs8G1LWOacWrXniTv6Xwm5w= 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:141060 Archived-At: Stefan Monnier writes: > Maybe we should set it not to smtpmail-send-it nor to > mailclient-send-it, but to a new function that prompts the user for > which method to use (mailclient/smtpmail/sendmail) and then saves the > result via customize. Yes, but like I said, we would then, in the future, be unable to change the default again, since all users would by then have a setting explicitly in .emacs. Which may be fine (and may be exactly what we want), but is something we should consider the ramifications of. > Of course, maybe we can spice up that function to try and guess which > choice to make without prompting the user (e.g. maybe gconf already hods > the answer?), but at least the fallback should be to prompt the user > because in general there's no safe answer (mailclient won't work on most > of my machines since I rarely bother to configure another MUA). I think mailclient, in general, is a very bad default option to offer the users. It's fine for random programs (that don't have native SMTP capabilities) to pop up a strange foreign mail program, but Emacs is more akin to an OS in this area. Emacs has a lot of mail (composition and reading) programs running within it (Wanderlust, Gnus, mew, rmail, VM, etc), and smtpmail.el is the obvious place to configure mail centrally in Emacs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/