From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Tue, 05 Jul 2011 16:24:06 +0200 Message-ID: <87wrfw4xh5.fsf@gmail.com> References: <4E079767.30601@harpegolden.net> <87vcvmtc7z.fsf@mid.gehheimdienst.de> <87liwgg3vv.fsf@uwakimon.sk.tsukuba.ac.jp> <87y60elo83.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309880482 21811 80.91.229.12 (5 Jul 2011 15:41:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 15:41:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 17:41:17 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 1Qe7kQ-0006iA-PT for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 17:41:14 +0200 Original-Received: from localhost ([::1]:59560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe7kP-0005cm-FN for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 11:41:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe6YV-0001nZ-AE for emacs-devel@gnu.org; Tue, 05 Jul 2011 10:24:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe6YR-0005tQ-CO for emacs-devel@gnu.org; Tue, 05 Jul 2011 10:24:50 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:53571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe6YQ-0005sz-RA for emacs-devel@gnu.org; Tue, 05 Jul 2011 10:24:47 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qe6YN-0003bU-GK for emacs-devel@gnu.org; Tue, 05 Jul 2011 16:24:43 +0200 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jul 2011 16:24:43 +0200 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jul 2011 16:24:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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:141589 Archived-At: 05/07/11 14:45, Richard Stallman > Since there are problems with having Emacs check at run time > whether there is a configured MTA, I propose doing it inside > `make install'. make install isn't necessarilly run at all. > > It could run a program that tries sending messages to certain chosen > addresses, and detects the results. This program could afford to wait > a certain amount of time for the results to show up, with no danger it > will be terminated by a user who does not realize it is still working > on the problem. Please, please, please don't do that. That looks like the kind of bloat that rarely ends well, especially with mail being such a huge mess with god knows how many programs interfering in various ways with mail delivery. Also, I really don't want my "make install" to send mail (or indeed, to do anything except, well, install). > Since `make install' is run as root Not always. Anyways, this seems like a lot of trouble (and would complicate the task of distro packagers) for a minor feature. More generally, this whole thread screams "overengineering" IMO. Just set a default (smtp or not), and users will figure out how to fix it if it doesn't work. Automagic is nice, but more likely to have bugs, and can be confusing (many people share their emacs configuration between machines, and might be baffled as to why one emacs sends via SMTP and some other via sendmail).