From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Maarten Bergvelt <bergv@math.uiuc.edu>
Newsgroups: gmane.emacs.help
Subject: Re: AucTeX
Date: Fri, 22 Nov 2002 16:30:50 GMT
Organization: University of Illinois at Urbana-Champaign
Sender: help-gnu-emacs-admin@gnu.org
Message-ID: <slrnatsn36.ch1.bergv@u00.math.uiuc.edu>
References: <mailman.1037966837.10921.help-gnu-emacs@gnu.org>
Reply-To: bergv@uiuc.edu
NNTP-Posting-Host: main.gmane.org
X-Trace: main.gmane.org 1037983131 13640 80.91.224.249 (22 Nov 2002 16:38:51 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 22 Nov 2002 16:38:51 +0000 (UTC)
Return-path: <help-gnu-emacs-admin@gnu.org>
Original-Received: from monty-python.gnu.org ([199.232.76.173])
	by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 18FGm3-0003Op-00
	for <gnu-help-gnu-emacs@m.gmane.org>; Fri, 22 Nov 2002 17:35:23 +0100
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 18FGmv-0001Xt-00; Fri, 22 Nov 2002 11:36:17 -0500
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!not-for-mail
Original-Newsgroups: gnu.emacs.help
User-Agent: slrn/0.9.7.4 (SunOS)
Original-Lines: 23
Original-NNTP-Posting-Host: 130.126.108.30
Original-X-Complaints-To: abuse@uiuc.edu
Original-X-Trace: vixen.cso.uiuc.edu 1037982650 130.126.108.30 (Fri, 22 Nov 2002 10:30:50 CST)
Original-NNTP-Posting-Date: Fri, 22 Nov 2002 10:30:50 CST
Original-Xref: shelby.stanford.edu gnu.emacs.help:107315
Original-To: help-gnu-emacs@gnu.org
Errors-To: help-gnu-emacs-admin@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs/>
Xref: main.gmane.org gmane.emacs.help:3870
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3870

In article <mailman.1037966837.10921.help-gnu-emacs@gnu.org>,
arthur.chereau wrote: 
> Hi,
> 
> With auctex, I'd like to keep an xdvi window showing the dvi
> corresponding to the current emacs buffer.
> 
> For now, with (list "View" "%v " 'TeX-run-command nil t) in
> tex-site.el, I can run xdvi from emacs, but then I need to close
> xdvi if I want to lauch another compilation.

I have 
 (list "View" "xdvi -geometry 1010x690+0+0 -s 2 %s "
              'TeX-run-background t nil)

I think the TeX-run-background keeps it from asking if you want to
close it.

I put the xdvi window on another desktop and switch desktops between
emacs and xdvi. Works for me.

--
Maarten Bergvelt