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

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

Saving buffers before start of compilatione


From: Markus Gessner
Subject: Saving buffers before start of compilatione
Date: Wed, 08 Dec 2010 15:30:13 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hello,

is there a way to exclude certain buffers as candidates to be saved
before compiling when using M-x compile?

For example, I am asked, whether the .newsrc-dribble file, which is
generated by Gnus, should be saved before the compile is launched. As
this and potentially other files are not related to the compilation, I
wonder, whether there is a variable, which holds patterns of filenames
not to be considered for saving before compiling.

I understand, that setting the variable compilation-ask-about-save to
nil has the effect of all changed buffers being saved without asking
first, which would not be the same.

If there is no such exclusion mechanism, the only solution seems to be
to start a separate instance of Emacs for editing and compiling in order
to avoid clashes with unrelated buffers.

Thanks for hints!
Markus


reply via email to

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