emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Emacs loads site-start file when building blessmail]


From: Richard Stallman
Subject: address@hidden: Emacs loads site-start file when building blessmail]
Date: Sat, 17 Feb 2007 23:38:49 -0500

Would someone please DTRT?

------- Start of forwarded message -------
From: Ulrich Mueller <address@hidden>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 17 Feb 2007 13:04:29 +0100
To: address@hidden
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,
<http://bugs.gentoo.org/show_bug.cgi?id=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 ====================
 
 address@hidden@
@@ -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
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]