From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.help Subject: Re: Changing default dvi viewer. Date: Fri, 8 Feb 2008 15:50:38 +0100 Message-ID: <20080208145038.GA11820@univ-fcomte.fr> 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> <3E44A43B-0C05-4E52-9439-55E28230FEE0@Web.DE> <20080208133925.GA10741@univ-fcomte.fr> <87odarzgg8.fsf@thievol.homelinux.org> Reply-To: dpleydel@univ-fcomte.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202482270 7652 80.91.229.12 (8 Feb 2008 14:51:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2008 14:51:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 15:51:32 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 1JNUZf-0006wy-Ao for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Feb 2008 15:51:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNUZC-000121-KN for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Feb 2008 09:51:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNUYv-00010I-Rn for help-gnu-emacs@gnu.org; Fri, 08 Feb 2008 09:50:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNUYu-0000z3-GG for help-gnu-emacs@gnu.org; Fri, 08 Feb 2008 09:50:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNUYu-0000yu-8P for help-gnu-emacs@gnu.org; Fri, 08 Feb 2008 09:50:44 -0500 Original-Received: from ufc.univ-fcomte.fr ([194.57.91.200]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNUYt-000745-VD for help-gnu-emacs@gnu.org; Fri, 08 Feb 2008 09:50:44 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ufc.univ-fcomte.fr (Postfix) with ESMTP id 3A0873BC047 for ; Fri, 8 Feb 2008 15:50:43 +0100 (CET) Original-Received: from ufc.univ-fcomte.fr ([127.0.0.1]) by localhost (ufc.univ-fcomte.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05636-05-9 for ; Fri, 8 Feb 2008 15:50:42 +0100 (CET) Original-Received: from ufc204.univ-fcomte.fr (ufc204.univ-fcomte.fr [194.57.91.204]) by ufc.univ-fcomte.fr (Postfix) with ESMTP id 6604F9E8B87 for ; Fri, 8 Feb 2008 15:50:36 +0100 (CET) Original-Received: from dell-1 (localhost.localdomain [127.0.0.1]) by ufc204.univ-fcomte.fr (Postfix) with SMTP id 543B93C286E for ; Fri, 8 Feb 2008 15:50:35 +0100 (CET) Original-Received: by dell-1 (sSMTP sendmail emulation); Fri, 08 Feb 2008 15:50:38 +0100 Content-Disposition: inline In-Reply-To: <87odarzgg8.fsf@thievol.homelinux.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: amavisd-new at univ-fcomte.fr X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:51333 Archived-At: > > export TEXDOCVIEW_txt="emacs %s" By the way, having this above line in .bashrc is a bit strange when texdoc is called from inside emacs becasue the txt file is opened in a new emacs and not the current emacs. So I am thinking to do this you nead to be able to call emacs commands from a shell command line. Is that possible? Perhaps something like (based on my experience with R not emacs) aShellPrompt$ EMACS CMD Find-File %s