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 09:49:49 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (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.)

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




reply via email to

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