From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Minor problem in "Apropos" - 21.2.93 Date: Tue, 17 Dec 2002 21:02:00 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20021214062635.661712BE3B@server2.fastmail.fm> <20021217071849.3CBEE41533@server2.fastmail.fm> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040176998 2388 80.91.224.249 (18 Dec 2002 02:03:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2002 02:03:18 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18OTYK-0000cO-00 for ; Wed, 18 Dec 2002 03:03:16 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OTYk-0005RH-00 for ; Wed, 18 Dec 2002 03:03:43 +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 18OTYM-0001xD-06 for emacs-devel@quimby.gnus.org; Tue, 17 Dec 2002 21:03:18 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OTY0-0001pR-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 21:02:56 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OTXR-0001Sz-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 21:02:22 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OTX6-0001IA-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 21:02:00 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18OTX6-00052q-00; Tue, 17 Dec 2002 21:02:00 -0500 Original-To: seagull@fastmail.fm In-reply-to: <20021217071849.3CBEE41533@server2.fastmail.fm> (seagull@fastmail.fm) Original-cc: 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:10243 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10243 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. Perhaps the code for choosing which element in EMACSPATH should be exec-directory should be made smarter. However, since the fns file will be disappearing, I don't think we should put much effort now into fixing it up. You should just make the right directory be first in EMACSPATH. It would be good to add something to PROBLEMS about this. Would you like to write an entry?