bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: compile: don't ask over and over about saving unrelated files


From: David Kastrup
Subject: Re: compile: don't ask over and over about saving unrelated files
Date: 21 Jun 2003 09:06:26 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Richard Stallman <rms@gnu.org> writes:

>     Perhaps we could make compile (actually save-some-buffers, which
>     compile calls for this purpose) distinguish Y from y and N from
>     n, for the purpose of remembering which files should be saved or
>     not in the future without asking.
> 
> I really dislike the idea of saving certain files without asking;
> however, the feature of making some files as "don't ask" for M-x
> compile seems useful.  If you'd like to add that, please do.
> 
> One complication is that compile just calls save-some-buffers.  So
> this feature has to be in save-some-buffers, but only when it is
> being done on behalf of compile, not all the time.

And the list of files to ignore should probably be in a buffer-local
variable, shouldn't it?  Since for different compilations, different
files might not warrant saving.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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