From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: grep-mode should print default-directory (again) Date: Mon, 09 Apr 2007 18:52:56 -0400 Message-ID: References: <17946.11401.381541.518837@farnswood.snap.net.nz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1176163203 9705 80.91.229.12 (10 Apr 2007 00:00:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 00:00:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 10 01:59:43 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 1Hb2lh-0007uR-C0 for ged-emacs-devel@m.gmane.org; Tue, 10 Apr 2007 00:55:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hb2pY-0005vr-Ud for ged-emacs-devel@m.gmane.org; Mon, 09 Apr 2007 18:59:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hb2pU-0005qJ-LY for emacs-devel@gnu.org; Mon, 09 Apr 2007 18:59:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hb2pU-0005oq-0W for emacs-devel@gnu.org; Mon, 09 Apr 2007 18:59:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hb2pT-0005o1-RE for emacs-devel@gnu.org; Mon, 09 Apr 2007 18:59:19 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hb2lb-000062-Hb for emacs-devel@gnu.org; Mon, 09 Apr 2007 18:55:19 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hb2jI-0005Cp-0r; Mon, 09 Apr 2007 18:52:56 -0400 In-reply-to: <17946.11401.381541.518837@farnswood.snap.net.nz> (message from Nick Roberts on Tue, 10 Apr 2007 00:07:37 +1200) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:69237 Archived-At: compilation-mode now sets compilation-directory and prints it as a file-local variable. ISTR it used to do this for default-directory. grep-mode does the same but, in this case I think default-directory is more relevant. Could you explain why you think so? Won't both achieve the same result: finding the grep hits in the right place?