From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Change in compile.el Date: 16 Feb 2004 15:08:48 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076962375 612 80.91.224.253 (16 Feb 2004 20:12:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2004 20:12:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 16 21:12:43 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Asp6h-0007mI-00 for ; Mon, 16 Feb 2004 21:12:43 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Asp6g-0005M2-00 for ; Mon, 16 Feb 2004 21:12:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Asp6e-0000yt-Ev for emacs-devel@quimby.gnus.org; Mon, 16 Feb 2004 15:12:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Asp69-0000k3-4k for emacs-devel@gnu.org; Mon, 16 Feb 2004 15:12:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Asp3S-0007S5-6Q for emacs-devel@gnu.org; Mon, 16 Feb 2004 15:09:53 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Asp2w-0007ES-RN for emacs-devel@gnu.org; Mon, 16 Feb 2004 15:08:50 -0500 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A26AF2139F; Mon, 16 Feb 2004 15:08:48 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 82BCB8C793; Mon, 16 Feb 2004 15:08:48 -0500 (EST) Original-To: emacs-devel@gnu.org Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.428, requis 5, BAYES_20 -1.43) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19993 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19993 About the following change: 2004-02-16 Alfred M. Szmidt (tiny change) * progmodes/compile.el (compilation-directory): New defvar. (compile): Save current directory in compilation-directory. (recompile): Bind default-directory to compilation-directory if that is non-nil. Has somebody tested this change? It doesn't work for me because it sets a global variable and thus forces the directory to be the same as "the last compile", rather than the same as "this compile". I.e. it breaks in those cases where the old code did the right thing (i.e. when you go to a compile-mode buffer and do `recompile' there). Stefan PS: Also, would it be possible to try and refrain from changing compile.el until the newer version is installed?