From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.devel Subject: Re: Should lisp/Makefile.in custom-deps be using EMACS or emacs? Date: Thu, 25 Jul 2002 14:45:41 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <878z3ziobe.fsf@raven.i.defaultvalue.org> References: <87k7o86ycp.fsf@raven.i.defaultvalue.org> <200207091852.g69Iq3A13934@aztec.santafe.edu> <87vg76qsjh.fsf@raven.i.defaultvalue.org> <200207251807.g6PI7S207666@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027626360 23600 127.0.0.1 (25 Jul 2002 19:46:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2002 19:46:00 +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.33 #1 (Debian)) id 17XoYg-00068X-00 for ; Thu, 25 Jul 2002 21:45:58 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Xoo7-0005c6-00 for ; Thu, 25 Jul 2002 22:01:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17XoYy-0001Ug-00; Thu, 25 Jul 2002 15:46:16 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17XoYQ-0001TO-00; Thu, 25 Jul 2002 15:45:42 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 0B259814; Thu, 25 Jul 2002 14:45:42 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 5A54C188A; Thu, 25 Jul 2002 14:45:41 -0500 (CDT) Original-To: rms@gnu.org In-Reply-To: <200207251807.g6PI7S207666@aztec.santafe.edu> (Richard Stallman's message of "Thu, 25 Jul 2002 12:07:28 -0600 (MDT)") Original-Lines: 25 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6050 Richard Stallman writes: > In the case that fails, can you try running by hand under GDB the > command that actually uses cus-dep.el and step through the code in > init_lread which sets up load-path, to see why the installed Lisp > directories end up in the value? That's the only way to > figure this out. Treating it as a black box won't get anywhere. OK, but I didn't realize ./src/emacs was doing anything wrong. In lisp/Makefile, EMACS is set to ./src/emacs and EMACS is what's used to run custom-deps. Isn't ./src/emacs the binary that's eventually installed in bindir? If so, then isn't it *supposed* to be using the installed Lisp directories (unless it's overridden by EMACSLOADPATH or similar)? If that's right, then I running gdb on emacs probably won't help, but using $(emacs) instead of $(EMACS) would (or something similar). If that's wrong, then part of the problem is that I'm misunderstanding the semantics here. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD