unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Cc: emacs-devel@gnu.org
Subject: Re: Problem building emacs from CVS under MSWindow due to CR/LF and addsection
Date: Tue, 21 Oct 2008 01:50:59 +0200	[thread overview]
Message-ID: <u1vyaj064.fsf@gnu.org> (raw)
In-Reply-To: <BLU104-W544ACB31CD9314E151BAB1842F0@phx.gbl>

> From: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>
> CC: <emacs-devel@gnu.org>
> Date: Mon, 20 Oct 2008 20:33:28 +0200
> 
> Actually I have not EMACSDATA nor in my environment variables, nor in 
> the registrty. If I open an MSDOS console and I type
> 
> echo %EMACSDATA%
> 
> The answer is just %EMACSDATA%.
> 
> But the thing is that I made the build from inside Emacs, and there 
> EMACSDATA is set to the current Emacs etc directory (even though I do 
> not set EMACSDATA in my init file)...

Emacs on Windows sets EMACSDATA (and also EMACSLOADPATH, EMACSDOC and
EMACSPATH) at startup, to account for the possible move of the
installation tree between the build and the run time.  This is
because, unlike on Unix, the Windows build does not fix the
installation directory at build time.

> I will try again with typing SET EMACSDATA= before building.

I think "M-x setenv" would be better.

> I don't think that it is strange to build emacs from inside emacs, as 
> long as you just build, not install. This is what I did.

No, it's not strange.

> PS: Maybe there should be some robustness against this situation in the 
> makefile, something testing INSIDE_EMACS along with EMACSDATA.

That's not a good idea: some Makefile's set EMACS* variables
themselves.  I will try to find another way to avoid pollution of
process-environment, though.  Thanks for pointing this out.




  reply	other threads:[~2008-10-20 23:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20 18:33 Problem building emacs from CVS under MSWindow due to CR/LF and addsection Vincent Belaïche
2008-10-20 23:50 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-19 19:13 Vincent Belaïche
2008-10-20 14:55 ` Eli Zaretskii
2008-10-14  5:01 Vincent Belaïche
2008-10-12 19:09 Vincent Belaïche
2008-10-12 20:11 ` Eli Zaretskii
2008-10-12 22:21 ` Juanma Barranquero
2008-10-10  5:48 Vincent Belaiche
2008-10-10  7:58 ` Eli Zaretskii
2008-10-10  8:13   ` Juanma Barranquero
2008-10-10  9:00     ` Eli Zaretskii

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=u1vyaj064.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=vincent.b.1@hotmail.fr \
    /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).