From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail] Date: Sat, 17 Feb 2007 23:38:49 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1171773650 13292 80.91.229.12 (18 Feb 2007 04:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Feb 2007 04:40:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 18 05:40:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HIdqr-0003JM-P2 for ged-emacs-devel@m.gmane.org; Sun, 18 Feb 2007 05:40:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIdqr-0002YI-AS for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 23:40:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HIdqR-0002JJ-FM for emacs-devel@gnu.org; Sat, 17 Feb 2007 23:40:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HIdqQ-0002IP-Io for emacs-devel@gnu.org; Sat, 17 Feb 2007 23:40:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIdqQ-0002ID-7k for emacs-devel@gnu.org; Sat, 17 Feb 2007 23:40:14 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HIdqP-0001Ve-UO for emacs-devel@gnu.org; Sat, 17 Feb 2007 23:40:14 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HIdp3-0003W7-9X; Sat, 17 Feb 2007 23:38:49 -0500 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66501 Archived-At: Would someone please DTRT? ------- Start of forwarded message ------- From: Ulrich Mueller MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Feb 2007 13:04:29 +0100 To: bug-gnu-emacs@gnu.org Subject: Emacs loads site-start file when building blessmail X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4 Hi, in Emacs 22.0.93 (but in 21.4 and in the current CVS version, too) the blessmail script in lib-src is generated by executing: ../src/emacs -batch -l $(srcdir)/../lisp/mail/blessmail.el Emacs should not call the site initialization here, so the option "--no-site-file" should be added. Proposed patch is included below. See also Gentoo Linux bug #166059, . Ulrich - --- emacs-22.0.93/lib-src/Makefile.in~ 2007-01-17 16:53:20.000000000 +0100 +++ emacs-22.0.93/lib-src/Makefile.in 2007-02-17 11:29:06.000000000 +0100 @@ -23,6 +23,10 @@ # inherited from the environment. SHELL = /bin/sh +# following two lines taken from ../lisp/Makefile.in +EMACS = ../src/emacs +EMACSOPT = -batch --no-site-file --multibyte + # ==================== Things `configure' will edit ==================== CC=@CC@ @@ -279,7 +283,7 @@ #ifdef MOVEMAIL_NEEDS_BLESSING blessmail: - - ../src/emacs -batch -l $(srcdir)/../lisp/mail/blessmail.el + $(EMACS) $(EMACSOPT) -l $(srcdir)/../lisp/mail/blessmail.el chmod +x blessmail #endif _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------