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 the compilation-mode-hook the sole visible buffer Date: Tue, 06 Dec 2011 15:37:05 +0100 Message-ID: <87liqp22cu.fsf@ambire.localdomain> References: <87bortx0hk.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323182423 30422 80.91.229.12 (6 Dec 2011 14:40:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2011 14:40:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 06 15:40:19 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 1RXwBv-0001Gu-Gr for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Dec 2011 15:40:19 +0100 Original-Received: from localhost ([::1]:55677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXwBv-0003nN-0q for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Dec 2011 09:40:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXwBm-0003m5-4h for help-gnu-emacs@gnu.org; Tue, 06 Dec 2011 09:40:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXwBg-0007Ci-7R for help-gnu-emacs@gnu.org; Tue, 06 Dec 2011 09:40:10 -0500 Original-Received: from smtp206.alice.it ([82.57.200.102]:46060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXwBg-0007C6-1Q for help-gnu-emacs@gnu.org; Tue, 06 Dec 2011 09:40:04 -0500 Original-Received: from ambire.localdomain (95.244.65.2) by smtp206.alice.it (8.6.023.02) id 4ECA60790269F687 for help-gnu-emacs@gnu.org; Tue, 6 Dec 2011 15:39:59 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RXw8o-0001wP-2s for help-gnu-emacs@gnu.org; Tue, 06 Dec 2011 15:37:06 +0100 In-Reply-To: <87bortx0hk.fsf@jidanni.org> (jidanni@jidanni.org's message of "Wed, 30 Nov 2011 20:23:35 +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.102 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:83142 Archived-At: () jidanni@jidanni.org () Wed, 30 Nov 2011 20:23:35 +0800 >>>>> "VB" == Valentin Baciu writes: VB> (add-hook 'compilation-mode-hook 'delete-other-windows) Very elegant however it doesn't work. emacs-version "24.0.91.1" (defun solipsistic-child (process) "Me, me, look at me!" (with-current-buffer (process-buffer process) (delete-other-windows))) (add-hook 'compilation-start-hook 'solipsistic-child)