From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Disabling save-all-buffers on M-x compile Date: Fri, 05 Feb 2010 22:38:17 -0500 Organization: A noiseless patient Spider Message-ID: References: <5e3a506e1002051329r1396d87wee16de97036fa18d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1265427651 2488 80.91.229.12 (6 Feb 2010 03:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2010 03:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 06 04:40:48 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 1NdbXM-0001Op-IR for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Feb 2010 04:40:48 +0100 Original-Received: from localhost ([127.0.0.1]:52308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdbXL-00041g-Tq for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Feb 2010 22:40:47 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Injection-Date: Sat, 6 Feb 2010 03:38:17 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="zonOWvH8iMOSVG4S2eKuOA"; logging-data="27638"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bcfPmMcOMpNYoriLdhnbLYe164jZ7xVE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:85bw1jbM/vNtQ1qQ+5NG8YNPk8o= sha1:E9iLSsuxWG9mUnyrUM7/lIuD5nk= Original-Xref: news.stanford.edu gnu.emacs.help:176636 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:71707 Archived-At: Óscar Fuentes writes: > Nathaniel Flath writes: > >> When I do M-x compile, emacs prompts me about all unsaved files I have >> opened and whether I wish to save them. Is there a way to disable >> this so it goes straight to compilation? > > There is the variable `compilation-ask-about-save'. If it is `nil', it > saves without prompting, but maybe this is not what you want. > > Your other option is to define a `compile' replacement that does not > call `save-some-buffers': Use M-x grep. Just change the grep command as desired. I really like the prompts as they are...