all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail]
@ 2007-02-18  4:38 Richard Stallman
  2007-02-20  4:07 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2007-02-18  4:38 UTC (permalink / raw)
  To: emacs-devel

Would someone please DTRT?

------- Start of forwarded message -------
From: Ulrich Mueller <ulm@kph.uni-mainz.de>
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,
<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 ====================
 
 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 -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail]
  2007-02-18  4:38 [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail] Richard Stallman
@ 2007-02-20  4:07 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2007-02-20  4:07 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman wrote:

> Would someone please DTRT?

I installed the suggested fix.

> From: Ulrich Mueller <ulm@kph.uni-mainz.de>
> Subject: Emacs loads site-start file when building blessmail
> To: bug-gnu-emacs@gnu.org
> Date: Sat, 17 Feb 2007 13:04:29 +0100

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-20  4:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-18  4:38 [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail] Richard Stallman
2007-02-20  4:07 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.