From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: Re: all I wanted to do was make the compilation-mode-hook the sole visible buffer Date: Sun, 27 Nov 2011 15:28:27 +0800 Message-ID: <87ipm364gn.fsf@jidanni.org> References: <87borym3c4.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322534136 5005 80.91.229.12 (29 Nov 2011 02:35:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2011 02:35:36 +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 Nov 29 03:35:32 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 1RVDXf-0000dX-5m for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Nov 2011 03:35:31 +0100 Original-Received: from localhost ([::1]:37652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVDXe-0000tC-Ih for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 21:35:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVDXa-0000t6-Ul for help-gnu-emacs@gnu.org; Mon, 28 Nov 2011 21:35:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVDXZ-00011y-Rn for help-gnu-emacs@gnu.org; Mon, 28 Nov 2011 21:35:26 -0500 Original-Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83]:35192 helo=homiemail-a10.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVDXZ-00011e-L2 for help-gnu-emacs@gnu.org; Mon, 28 Nov 2011 21:35:25 -0500 Original-Received: from homiemail-a10.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTP id 5125F28006F for ; Mon, 28 Nov 2011 18:35:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:from:to :subject:date:references:message-id:mime-version:content-type; q=dns; s=jidanni.org; b=YufK6G4yHrrtRyYQEDp1Y/5WoWo0ZZyiEoD+hcK 8b7R/dY+cDnNSA0DJpndSUnSmXFKty3UfdnJ7CXV8kGNOZ9ostikZS6+3e5a/+TQ iKNnyFe9zfYu8BqQzQtC7Rz1zAz3E2RosvMZQaCpVAHvAB2FWo8Y20abZijIWZBu ZXZs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:from :to:subject:date:references:message-id:mime-version:content-type ; s=jidanni.org; bh=i7JyJ91ZBP46IXHe12qt6ajSdbM=; b=K+QNVktGJoNr JnYHZZxE1Yh86uLl8LvyQQ4GaAj1vQq6JlOTbGjWFb4BA2pDb6l56+6eqXhUGfig D3crolCr8mrxy/M+CA/cCcZQrIF+gydyRlJNoWTAbvFzy6kQkuLQF7eeZZY/iMc4 lGya+oeI0C+VaJcpAuN6Az7K/4NfWqE= Original-Received: from jidanni.org (218-163-21-43.dynamic.hinet.net [218.163.21.43]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTPSA id E77DA28006C for ; Mon, 28 Nov 2011 18:35:22 -0800 (PST) Original-From: jidanni@jidanni.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.83 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:83091 Archived-At: I see, I must first do switch-to-buffer, (setq compilation-mode-hook (function (lambda () (switch-to-buffer "*compilation*") (delete-other-windows)))) OK. Solved.