[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep-mode should print default-directory (again)
From: |
Chong Yidong |
Subject: |
Re: grep-mode should print default-directory (again) |
Date: |
Fri, 13 Apr 2007 11:12:37 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> 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).