From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: Emacs loads site-start file when building blessmail Date: Sat, 17 Feb 2007 13:04:29 +0100 Message-ID: <17878.61261.978381.135475@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171737356 14783 80.91.229.12 (17 Feb 2007 18:35:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 18:35:56 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 19:35:49 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HIUPU-00080U-0d for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2007 19:35:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIUPT-0001IX-CU for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2007 13:35:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HIOJE-00066G-HT for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2007 07:04:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HIOJE-000662-4A for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2007 07:04:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIOJD-00065z-SS for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2007 07:04:55 -0500 Original-Received: from mail.kph.uni-mainz.de ([134.93.132.3]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HIOJD-0002bX-86 for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2007 07:04:55 -0500 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by mail.kph.uni-mainz.de (8.12.9p2/8.12.9) with ESMTP id l1HC4ndg079443; Sat, 17 Feb 2007 13:04:49 +0100 (CET) (envelope-from ulm@kph.uni-mainz.de) Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.13.8/8.13.4) with ESMTP id l1HC4UXO016149; Sat, 17 Feb 2007 13:04:30 +0100 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.13.8/8.13.8/Submit) id l1HC4U2x016082; Sat, 17 Feb 2007 13:04:30 +0100 X-Mailer: VM 7.19 under Emacs 21.4.1 X-detected-kernel: FreeBSD 4.6-4.9 X-Mailman-Approved-At: Sat, 17 Feb 2007 13:35:45 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15591 Archived-At: 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