From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: compile.el Date: Thu, 08 Sep 2005 22:24:42 -0400 Message-ID: References: <87oe7oe9mz.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1126233757 26785 80.91.229.2 (9 Sep 2005 02:42:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2005 02:42:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 09 04:42:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDYp7-0007ly-VO for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2005 04:41:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDYp7-00051w-8O for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2005 22:41:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EDYoO-0004qZ-B6 for emacs-devel@gnu.org; Thu, 08 Sep 2005 22:40:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EDYoA-0004kN-1d for emacs-devel@gnu.org; Thu, 08 Sep 2005 22:40:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDYo8-0004gq-33 for emacs-devel@gnu.org; Thu, 08 Sep 2005 22:40:04 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EDYfW-0000ie-Vz for emacs-devel@gnu.org; Thu, 08 Sep 2005 22:31:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EDYZG-0004lK-94; Thu, 08 Sep 2005 22:24:42 -0400 Original-To: Juri Linkov In-reply-to: <87oe7oe9mz.fsf@jurta.org> (message from Juri Linkov on Tue, 23 Aug 2005 22:33:48 +0300) 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:42764 Archived-At: Since the issue of visiting saved compilation/grep logs is currently under consideration, I want also to point out that changing the file's default directory by the -*- line is not a good thing. It is potentially dangerous when an unsuspecting user assumes that the default directory is the same as the directory where the file is saved, but actually it changes to the directory where compilation was started. I think `-*- default-directory: "..." -*-' in the first line should be changed to `-*- compilation-directory: "..." -*-'. I see your point, but at the same time, I think it is useful to set the default directory. That makes it possible to visit files in the sources starting from the place you compiled them. On the balance, I think it is probably more convenient the way it is.