From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew Calhoun Newsgroups: gmane.emacs.help Subject: Open compilation window only on errors? Date: Sat, 27 Sep 2003 11:57:18 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <6ACEEB88-F11C-11D7-862D-0003930EBF00@mac.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064689635 10241 80.91.224.253 (27 Sep 2003 19:07:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2003 19:07:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 27 21:07:13 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3KPR-0005nn-00 for ; Sat, 27 Sep 2003 21:07:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3KH4-0004Dq-ER for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Sep 2003 14:58:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3KG0-00046Y-N3 for help-gnu-emacs@gnu.org; Sat, 27 Sep 2003 14:57:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3KFw-00045A-Ld for help-gnu-emacs@gnu.org; Sat, 27 Sep 2003 14:57:27 -0400 Original-Received: from [17.250.248.86] (helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3KFu-00044t-CW for help-gnu-emacs@gnu.org; Sat, 27 Sep 2003 14:57:22 -0400 Original-Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h8RIvKqe006581 for ; Sat, 27 Sep 2003 11:57:20 -0700 (PDT) Original-Received: from mac.com (12-234-253-207.client.attbi.com [12.234.253.207]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id h8RIvKA1014894 for ; Sat, 27 Sep 2003 11:57:20 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.552) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12838 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12838 Hello, When I compile using M-x compile, Emacs opens a new window for the compilation buffer when it's finished. This is great when there are warnings or errors, but when there aren't I would like to prevent Emacs from opening the new window, and instead maybe just put a message in the minibuffer indicating that compilation was successful. Is there a variable I can set for this, or does anyone have elisp code that does something similar? Thanks, Matt