From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: compile.el Date: Fri, 09 Sep 2005 09:28:44 +0300 Organization: JURTA Message-ID: <87psriwy8z.fsf@jurta.org> References: <87oe7oe9mz.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126249393 29258 80.91.229.2 (9 Sep 2005 07:03:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2005 07:03:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 09 09:03:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDctI-00080q-JP for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2005 09:01:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDctH-0005qO-UJ for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2005 03:01:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EDceI-0002Kl-Du for emacs-devel@gnu.org; Fri, 09 Sep 2005 02:46:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EDceF-0002KS-KZ for emacs-devel@gnu.org; Fri, 09 Sep 2005 02:46:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDcd0-0001oj-3j for emacs-devel@gnu.org; Fri, 09 Sep 2005 02:44:50 -0400 Original-Received: from [194.126.101.123] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EDcWV-0005pR-0M; Fri, 09 Sep 2005 02:38:07 -0400 Original-Received: from mail.neti.ee (80-235-36-6-dsl.mus.estpak.ee [80.235.36.6]) by Relayhost2.neti.ee (Postfix) with ESMTP id B3DED20F2; Fri, 9 Sep 2005 09:33:13 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Thu, 08 Sep 2005 22:24:40 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42768 Archived-At: > But it has another more severe bug: visiting a file > in a compilation subdirectory extracted from the line > `make: Entering directory ...' doesn't work anymore. > > Can you send me a precise test case for this? Then I will debug it. Find a file in one of the lisp subdirectories (e.g. `progmodes') that produces a warning/error, or artificially cause a warning/error by putting garbage in .el files. Then at the top directory of Emacs source tree, call `M-x compile' with the command: make -C lisp EMACS=../src/emacs recompile After that, trying to visit a file with warnings/errors from the line like In toplevel form: progmodes/grep.el:1:1:Warning: reference to free variable `foo' doesn't find the location of `progmodes/grep.el'. Without the patch you sent in one of the previous messages, compile.el was able to extract the directory name from the string: make: Entering directory `{absolute directory of source tree}/emacs/lisp' and use it even for files located in subdirectories of `emacs/lisp'. -- Juri Linkov http://www.jurta.org/emacs/