From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.emacs.devel Subject: Re: Changing the default for `send-mail-function' Date: Fri, 08 Jul 2011 00:37:54 +0200 Message-ID: <87aacp1zul.fsf@rotty.yi.org> References: <4E079767.30601@harpegolden.net> <87vcvmtc7z.fsf@mid.gehheimdienst.de> <87liwgg3vv.fsf@uwakimon.sk.tsukuba.ac.jp> <87y60elo83.fsf@uwakimon.sk.tsukuba.ac.jp> <4E131B9C.4020806@swipnet.se> <87liwc1k08.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310078315 2529 80.91.229.12 (7 Jul 2011 22:38:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 22:38:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 08 00:38:28 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 1QexDH-0007tf-Nq for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2011 00:38:28 +0200 Original-Received: from localhost ([::1]:41821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QexDG-00068N-3l for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2011 18:38:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QexD2-00068F-Ht for emacs-devel@gnu.org; Thu, 07 Jul 2011 18:38:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QexCw-000317-Ne for emacs-devel@gnu.org; Thu, 07 Jul 2011 18:38:12 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:39648) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QexCv-00030R-U0 for emacs-devel@gnu.org; Thu, 07 Jul 2011 18:38:06 -0400 Original-Received: (qmail invoked by alias); 07 Jul 2011 22:38:02 -0000 Original-Received: from 85-127-233-250.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.233.250] by mail.gmx.net (mp057) with SMTP; 08 Jul 2011 00:38:02 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/8aN9OMS38MNK6f7lR7RRklNa3ybj9+uGcsg2Dfd F9wThomBU413zw Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 54B463A68F for ; Fri, 8 Jul 2011 00:38:01 +0200 (CEST) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 73mTatJIwcFt for ; Fri, 8 Jul 2011 00:37:55 +0200 (CEST) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id A53733A685 for ; Fri, 8 Jul 2011 00:37:55 +0200 (CEST) Original-Received: by delenn.lan (Postfix, from userid 1000) id 07D612C0072; Fri, 8 Jul 2011 00:37:54 +0200 (CEST) In-Reply-To: <87liwc1k08.fsf@gmail.com> (Antoine Levitt's message of "Tue, 05 Jul 2011 23:43:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 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:141761 Archived-At: Antoine Levitt writes: > 05/07/11 23:05, Richard Stallman >> FWIW, I almost never run make install as root for Emacs. >> >> That susprises me -- could you explain why not? > > For instance, I used to use school servers that use an antiquated > version of emacs, and I wanted the last one, so I just reinstalled emacs > + the libs it needed in ~/new_root, with PREFIX=$HOME/new_root > ./configure. > >> Anyway, the crucial case here is a multi-user machine where the person >> using Emacs does not understand system maintenance and did not install >> Emacs himself. This is the case where there is probably a functioning >> MTA plus users who use it without knowing what it is. In that case, >> `make install' was run as root. >> >> Thus, when `make install' is run not as root, it would be ok >> not to decide, and let Emacs ask the user whatr to do. >> >> The other way Emacs gets installed is from a package, via apt-get >> or something like it. That always gets done as root. >> >> Thus, we can assume this test is done running as root. > > Except apt-get doesn't call make install, so it's a package maintainer > gotcha. > Yeah, I guess distribution maintainers for Emacs packages would get pretty annoyed if "make install" starts to send email (and I would be, too). In fact, on Debian buildservers, there is commonly no network connectivity available. Frankly, I think "make install" doing such things is a quite horrible violation of user expectations (i.e. of the users that run "make install", not those necessarily those ending up using the installed emacs): the results of "make install" should not depend on the circumstances under which it is run (i.e. be reproducible for a given build). Provide a "fancy-install" target if you must, but don't make a "make install" run inspect its environment. Regards, Rotty -- Andreas Rottmann --