[Top][All Lists]

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

Re: Unsafe variable in a saved *compilation* buffer

From: Peter Dyballa
Subject: Re: Unsafe variable in a saved *compilation* buffer
Date: Mon, 12 Mar 2007 17:10:49 +0100

Am 12.03.2007 um 16:49 schrieb Kim F. Storm:

Stefan Monnier <address@hidden> writes:

Presumably if it's saved, it'll be saved in that same directory, so it'll
work just as well without the default-directory file-local variable.

So maybe we should only store the default-directory if it differs from
the target directory of the file ...

Particularly these compilations I saved and re-visited during the last days where saved outside the "default-directory" to avoid any complaints from cvs, svn, git, or such. Is the meaning of "default- directory" that to allow easy re-compilation? Can this really work, i.e. can GNU Emacs find how compilation then started? Or would it simply try a "make?" Re-compilation works in the "live" buffer, but then I use repeat-complex-command or M-x compile RET and step backward in history, so a complicated compile command can be retrieved, changed if necessary, and started again.

*I* would not mind if "default-directory" is removed ...



There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him.
                                           -- Robert Heinlein

reply via email to

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