From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.help Subject: Re: Changing default dvi viewer. Date: Sat, 09 Feb 2008 11:03:26 +0100 Organization: nil Message-ID: <47ad7a6e$0$4284$9b4e6d93@newsspool3.arcor-online.net> References: <20080205170541.675151BC01F@ufc.univ-fcomte.fr> <20080207112820.GA6553@univ-fcomte.fr> <1F9F9377-2D8A-4635-A2DB-3F56871B087A@Web.DE> <20080207153042.GC6571@univ-fcomte.fr> <868AB564-4DEC-4458-B3EB-FEEB6590222F@Web.DE> <20080207162645.GA7411@univ-fcomte.fr> <47acb8f8$0$4991$9b4e6d93@newsspool4.arcor-online.net> Reply-To: angeli@caeruleus.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202566712 13769 80.91.229.12 (9 Feb 2008 14:18:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2008 14:18:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 15:18:53 2008 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 1JNqXc-0002UA-Nu for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Feb 2008 15:18:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNqX9-0002oi-Az for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Feb 2008 09:18:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: nobody Cancel-Lock: sha1:FHYt+8qBsPBbRN2wp7Poteg9e10= Original-Lines: 36 Original-NNTP-Posting-Date: 09 Feb 2008 11:03:26 CET Original-NNTP-Posting-Host: f63afae3.newsspool3.arcor-online.net Original-X-Trace: DXC=DR?=3IcR3n\I?44J>Z[:RQMcF=Q^Z^V3X4Fo<]lROoRQ^; 5]aA^R6>R>E=KMJC``D]B_Neh; dBi?[07j9fIh0W3R1c; D_\AR9i\=5nm:RKGmJR Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:155992 X-Mailman-Approved-At: Sat, 09 Feb 2008 09:18:04 -0500 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:51370 Archived-At: * Peter Dyballa (2008-02-09) writes: > Am 08.02.2008 um 21:18 schrieb Ralf Angeli: > >> This is a very bad idea since you will have to check if something >> changed in texdoc every time the TeX distribution is updated unless >> you >> don't mind missing new features and bug fixes or dealing with >> potential >> incompatibilities. > > This isn't such a big issue. TeX Live updates happen once in two > years, before 2006 it was once per year. What you are suggesting is just plain unnecessary because there are other ways of achieving the goal of abusing `texdoc' as a replacement for `run-mailcap' (aka `see'), namely setting the environment variables used by `texdoc' or adapting the mailcap configuration. Please, inform yourself before making suggestions. >> In addition you lose the capability of passing the paper size to the >> viewer. So this is an exceptionally bad suggestion for the case at >> hand >> where a DVI viewer is being dealt with. > > The latter is true, and I did not emphasise enough that David should > only change one xdvi entry with texdoc (it is so obvious to me), the > one that uses his default paper size. And how would that help? Then he still gets `xdvi' for the other cases. Just do `M-x customize-variable TeX-output-view-style ', search for instances of "xdvi" and replace them with "kdvi", assuming `kdvi' takes the same command line options as `xdvi'. Big deal! -- Ralf