From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Spurious buffer saving triggered by M-x compile Date: Thu, 17 Jun 2010 11:31:48 +0300 Organization: JURTA Message-ID: <878w6et7u3.fsf@mail.jurta.org> References: <87vd9ir8jo.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276766498 18807 80.91.229.12 (17 Jun 2010 09:21:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 09:21:38 +0000 (UTC) Cc: Emacs development discussions To: Geoff Gole Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 11:21:37 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@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 1OPBI0-0003UI-EZ for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 11:21:36 +0200 Original-Received: from localhost ([127.0.0.1]:46890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPBHz-0004EK-An for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 05:21:35 -0400 Original-Received: from [140.186.70.92] (port=50367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPBHf-000461-AM for emacs-devel@gnu.org; Thu, 17 Jun 2010 05:21:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPBHc-0005lQ-NZ for emacs-devel@gnu.org; Thu, 17 Jun 2010 05:21:15 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:46385 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPBHc-0005kk-I3 for emacs-devel@gnu.org; Thu, 17 Jun 2010 05:21:12 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.55.250.cable.starman.ee [82.131.55.250]) by mx1.starman.ee (Postfix) with ESMTP id 0BBAE3F40E3; Thu, 17 Jun 2010 12:21:06 +0300 (EEST) In-Reply-To: (Geoff Gole's message of "Thu, 17 Jun 2010 05:50:42 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126069 Archived-At: >> `compilation-save-buffers-predicate' is already implemented in compile.el. > > I don't see it. My emacs must be too old. (defcustom compilation-save-buffers-predicate nil "The second argument (PRED) passed to `save-some-buffers' before compiling. E.g., one can set this to (lambda () (string-prefix-p my-compilation-root (file-truename (buffer-file-name)))) to limit saving to files located under `my-compilation-root'. Note, that, in general, `compilation-directory' cannot be used instead of `my-compilation-root' here." :type '(choice (const :tag "Default (save all file-visiting buffers)" nil) (const :tag "Save all buffers" t) function) :group 'compilation :version "24.1") -- Juri Linkov http://www.jurta.org/emacs/