unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Geoff Gole <geoffgole@gmail.com>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Spurious buffer saving triggered by M-x compile
Date: Thu, 17 Jun 2010 00:07:07 +0300	[thread overview]
Message-ID: <87vd9ir8jo.fsf@mail.jurta.org> (raw)
In-Reply-To: <AANLkTimlsWTGHQlvb_JAV94s1DlIwZJPvS2PFwv2CCdR@mail.gmail.com> (Geoff Gole's message of "Wed, 16 Jun 2010 22:20:25 +0800")

> At the moment, M-x compile and friends will trigger the saving of
> every file-backed buffer. When there are unsaved buffers unrelated to
> the compilation, this becomes quite annoying.
>
> What does everybody think about adding a way to exclude buffers from
> this process? We could allow compilation-ask-about-save to be a
> predicate function, or add a variable
> compilation-save-buffer-predicate.

`compilation-save-buffers-predicate' is already implemented in compile.el.

-- 
Juri Linkov
http://www.jurta.org/emacs/



  parent reply	other threads:[~2010-06-16 21:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-16 14:20 Spurious buffer saving triggered by M-x compile Geoff Gole
2010-06-16 15:39 ` Wojciech Meyer
     [not found] ` <AANLkTikyJ7lGiB9h3490vM7m2aET6co6DXOP_BeMGGbP@mail.gmail.com>
2010-06-16 16:48   ` Geoff Gole
2010-06-16 21:07 ` Juri Linkov [this message]
2010-06-16 21:50   ` Geoff Gole
2010-06-17  8:31     ` Juri Linkov
2010-06-17 13:45       ` Geoff Gole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vd9ir8jo.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=geoffgole@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).