From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dhruva Krishnamurthy" Newsgroups: gmane.emacs.devel Subject: Re: Minor problem in "Apropos" - 21.2.93 Date: Tue, 17 Dec 2002 12:48:48 +0530 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20021217071849.3CBEE41533@server2.fastmail.fm> References: <20021214062635.661712BE3B@server2.fastmail.fm> <20021216150302.DB0C.LEKTU@terra.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040109591 16793 80.91.224.249 (17 Dec 2002 07:19:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 07:19:51 +0000 (UTC) Cc: Emacs Devel Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18OC18-0004Mi-00 for ; Tue, 17 Dec 2002 08:19:50 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OCEy-0003a7-00 for ; Tue, 17 Dec 2002 08:34:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OC0f-00039w-07 for emacs-devel@quimby.gnus.org; Tue, 17 Dec 2002 02:19:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OC0H-00038M-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 02:18:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OC0E-00036X-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 02:18:56 -0500 Original-Received: from ny2.fastmail.fm ([66.111.4.3] helo=server2.fastmail.fm) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OC0E-000323-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 02:18:54 -0500 Original-Received: from server2.fastmail.fm (localhost [127.0.0.1]) by fastmail.fm (Postfix) with ESMTP id 4E22435E3A; Tue, 17 Dec 2002 02:18:49 -0500 (EST) Original-Received: from 127.0.0.1 ([127.0.0.1] helo=server2.fastmail.fm) by fastmail.fm with SMTP; Tue, 17 Dec 2002 02:18:49 -0500 Original-Received: by server2.fastmail.fm (Postfix, from userid 99) id 3CBEE41533; Tue, 17 Dec 2002 02:18:49 -0500 (EST) Content-Disposition: inline X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) Original-To: "Juanma Barranquero" X-Epoch: 1040109529 X-Sasl-enc: fMAsJcEvMTP6E+vuObh76Q In-Reply-To: <20021216150302.DB0C.LEKTU@terra.es> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10199 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10199 On Mon, 16 Dec 2002 15:04:41 +0100, "Juanma Barranquero" said: > On Sun, 15 Dec 2002 18:39:49 -0500, Richard Stallman wrote: > > > Someone who works on Emacs for Windows should figure out why this file > > is not in the place which exec-directory points to, and fix things so > > that the file is there. > > In the prebuilt binaries, fns-21.2.9X-1.el is in bin/ and exec-directory > points to that directory. In my MSVC 6.0 builds it's also correct. > OTOH, I always build in the source tree; I don't use --prefix. > > In which case does exec-directory point to a directory other than bin/? > It is perhaps related to using --prefix? > > /L/e/k/t/u The problem is when environment variable "EMACSPATH" is set to something other than where the emacs.exe resides. The variable "exec-directory" is set using "EMACSPATH" env variable and not argv[0]. Hence, it is very easy to confuse by setting "EMACSPATH" to a wrong location. In my case: Emacs is installed in "D:/GNU/emacs" EMACSPATH="D:/GNU/bin;D:/GNU/emacs/bin" Hence, "exec-directory" was "D:/GNU/bin" -dhruva -- Dhruva Krishnamurthy Home: http://www.geocities.com/gnued/