From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Gessner Newsgroups: gmane.emacs.help Subject: Saving buffers before start of compilatione Date: Wed, 29 Sep 2010 10:24:49 +0200 Organization: Arcor Message-ID: <77y6algdny.fsf@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291882119 24653 80.91.229.12 (9 Dec 2010 08:08:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 08:08:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 09:08:34 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQbYI-0002qb-Kd for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 09:08:34 +0100 Original-Received: from localhost ([127.0.0.1]:40874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQbYH-0001kn-Cd for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:08:33 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:TQ/+6um/Wn+9aFYyRClhkpOF3ZY= Original-Lines: 21 Original-NNTP-Posting-Date: 29 Sep 2010 10:24:50 CEST Original-NNTP-Posting-Host: 0a87db5f.newsspool4.arcor-online.net Original-X-Trace: DXC=KIG9\2UnT@Q=>bdbdS?M0Y4IUK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76859 Archived-At: 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