From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: grep-mode should print default-directory (again) Date: Fri, 13 Apr 2007 09:49:49 -0400 Message-ID: References: <17946.11401.381541.518837@farnswood.snap.net.nz> <17946.53750.886235.857427@farnswood.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176472217 1319 80.91.229.12 (13 Apr 2007 13:50:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2007 13:50:17 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 13 15:50:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HcMA1-0003Z1-Pl for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 15:49:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcMEI-0007n7-JM for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2007 09:54:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HcMEF-0007kD-5b for emacs-devel@gnu.org; Fri, 13 Apr 2007 09:54:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HcMED-0007gd-Jv for emacs-devel@gnu.org; Fri, 13 Apr 2007 09:54:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcMED-0007gS-GP for emacs-devel@gnu.org; Fri, 13 Apr 2007 09:54:17 -0400 Original-Received: from tomts13.bellnexxia.net ([209.226.175.34] helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HcM9u-0003v1-Uj; Fri, 13 Apr 2007 09:49:51 -0400 Original-Received: from pastel.home ([70.55.146.182]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070413134949.PYSC1593.tomts13-srv.bellnexxia.net@pastel.home>; Fri, 13 Apr 2007 09:49:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 09DC27F47; Fri, 13 Apr 2007 09:49:49 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Thu\, 12 Apr 2007 21\:42\:55 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:69396 Archived-At: > AFAICS compilation-directory is just used with recompile and it gets > set by M-x compile (through default-directory). > Damn, you're right. That means the change to set compilation-directory > instead of default-directory was no good. It broke the feature. > I can see only two ways to fix this: > * Go back to setting and saving default-directory, as before, and mark > it safe. (I don't find the arguments against this entirely convincing.) I personally find the arguments *for* it unconvincing. > * Make compilation-directory affect next-error, overriding > default-directory. Whatever happened to the other option: * only add the default-directory cookie upon save and only when saving to a different directory. Stefan