unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail]
Date: Sat, 17 Feb 2007 23:38:49 -0500	[thread overview]
Message-ID: <E1HIdp3-0003W7-9X@fencepost.gnu.org> (raw)

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 -------

             reply	other threads:[~2007-02-18  4:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-18  4:38 Richard Stallman [this message]
2007-02-20  4:07 ` [ulm@kph.uni-mainz.de: Emacs loads site-start file when building blessmail] Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1HIdp3-0003W7-9X@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).