emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep-mode should print default-directory (again)


From: Stefan Monnier
Subject: Re: grep-mode should print default-directory (again)
Date: Fri, 13 Apr 2007 15:10:46 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

>> 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.)
>> 
>> * Make compilation-directory affect next-error, overriding
>> default-directory.

> I reverted to setting and saving default-directory.  I guess there is
> the risk isn't considerable (or at least no worse than what we had in
> Emacs 21).

Huh?  In Emacs-21, the default-directory was not set, so it didn't suffer
from any of the nasty side effects of setting it.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]