From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?S=E9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: kill buffer in other window Date: Thu, 24 Apr 2008 15:29:37 +0200 Organization: Sebastien Vauban Message-ID: <87iqy7nzy6.fsf@mundaneum.com> References: <30697245-4f06-4e56-9bf5-c758fb2c7ca0@f36g2000hsa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1209044511 22767 80.91.229.12 (24 Apr 2008 13:41:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 13:41: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 Thu Apr 24 15:42:26 2008 connect(): Connection refused 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.50) id 1Jp1iO-0001hP-Ec for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Apr 2008 15:42:20 +0200 Original-Received: from localhost ([127.0.0.1]:36419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jp1hi-0008S4-8g for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Apr 2008 09:41:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!news.skynet.be!feed1.news.be.easynet.net!reader0.news.be.easynet.net!not-for-mail Original-Newsgroups: gnu.emacs.help X-Www-site: Under construction... User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:KBF8JYkqiSkBurPejlMZmal+Xdo= Original-Lines: 28 Original-NNTP-Posting-Date: 24 Apr 2008 13:29:37 GMT Original-NNTP-Posting-Host: 81.188.7.152 Original-X-Trace: 1209043777 reader0.news.be.easynet.net 1585 [::ffff:81.188.7.152]:51737 Original-X-Complaints-To: abuse@be.easynet.net Original-Xref: shelby.stanford.edu gnu.emacs.help:158148 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:53512 Archived-At: Hi, > I use something similar to get rid of a hanging help window > when compiling successfully a tex file using auctex. > > (defadvice TeX-command-master (after kill-Help-window) > (if (and TeX-error-report-switches > (plist-get TeX-error-report-switches > (intern (plist-get TeX-error-report-switches 'TeX-current-master))= )) > (TeX-next-error 1) > (when (get-buffer "*TeX Help*") > (set-buffer "*TeX Help*") > (kill-buffer-and-window)))) > (ad-activate 'TeX-command-master) > (setq TeX-process-asynchronous nil) I took this from http://www.mygooglest.com/fni/dot-emacs.html#sec4: ;; don't show output of TeX compilation in other window (setq TeX-show-compilation nil) Works for me... Seb --=20 S=E9bastien=A0Vauban