From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: all I wanted to do was make *compilation* the sole visible buffer Date: Sat, 10 Dec 2011 22:02:02 +0100 Message-ID: <877h24w379.fsf@ambire.localdomain> References: <87y5umtyo1.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323551131 21872 80.91.229.12 (10 Dec 2011 21:05:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2011 21:05:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: jidanni@jidanni.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 22:05:28 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZU6p-0004g3-CO for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 22:05:27 +0100 Original-Received: from localhost ([::1]:43735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZU6o-0003Di-Tl for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 16:05:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZU6k-0003Dc-P8 for help-gnu-emacs@gnu.org; Sat, 10 Dec 2011 16:05:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZU6j-0005z0-Mr for help-gnu-emacs@gnu.org; Sat, 10 Dec 2011 16:05:22 -0500 Original-Received: from smtp208.alice.it ([82.57.200.104]:40872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZU6j-0005tu-Hn for help-gnu-emacs@gnu.org; Sat, 10 Dec 2011 16:05:21 -0500 Original-Received: from ambire.localdomain (87.4.66.108) by smtp208.alice.it (8.6.023.02) id 4ECA61BE029E79C0; Sat, 10 Dec 2011 22:05:01 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RZU3W-0001mu-7L; Sat, 10 Dec 2011 22:02:02 +0100 In-Reply-To: <87y5umtyo1.fsf@jidanni.org> (jidanni@jidanni.org's message of "Fri, 09 Dec 2011 07:46:06 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83181 Archived-At: () jidanni@jidanni.org () Fri, 09 Dec 2011 07:46:06 +0800 >>>>> "TN" == Thien-Thi Nguyen writes: TN> (defun solipsistic-child (process) TN> "Me, me, look at me!" TN> (with-current-buffer (process-buffer process) TN> (delete-other-windows))) TN> (add-hook 'compilation-start-hook 'solipsistic-child) Very nice, except it leaves the user staring at the... Makefile, not *compilation*. You have to combine this with setting the other variable (which i mentioned previously and promptly forgot).