From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.help Subject: problem with tex-start-options-string Date: 29 Aug 2003 18:26:43 +0200 Organization: ...!#$@~? Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062175407 24823 80.91.224.253 (29 Aug 2003 16:43:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2003 16:43:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 18:43:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19smLM-0005UI-00 for ; Fri, 29 Aug 2003 18:43:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19smHU-0006Ca-6W for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2003 12:39:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!proxad.net!feeder2-1.proxad.net!news1-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93 Original-Lines: 44 Original-NNTP-Posting-Date: 29 Aug 2003 18:25:33 MEST Original-NNTP-Posting-Host: 62.147.142.168 Original-X-Trace: 1062174333 news1-2.free.fr 261 62.147.142.168:33412 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:116256 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12174 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12174 Hi, Recent (La)TeX versions provides a command line option `-src' to insert source specials to perform inverse search: A mouse click in the xdvi window can open an editor with the corresponding place in the source file. So I want the `tex-file' command to use the following syntax: ,---- | [matthias@clarinde ~/TeX]$ latex -src-specials -interaction=nonstop FILE | This is TeXk, Version 3.14159 (Web2C 7.4.5) | Source specials enabled. | LaTeX2e <2001/06/01> | Babel and hyphenation patterns for american, french, german, | ngerman, basque, italian, portuges, russian, spanish, nohyphenation, | loaded. | ... `---- I have set `tex-start-options-string' to the string "-src-specials -interaction=nonstop". But it is passed to (from `tex-start-tex') `shell-quote-argument' resulting in the following error: ,---- | [matthias@clarinde ~/TeX]$ latex -src-specials\ -interaction\=nonstopmode FILE | latex: unrecognized option `-src-specials -interaction=nonstopmode' | Try `latex --help' for more information. `---- Note the two backslash. How should I do ? Today I use the following (in appropriate hooks): (setq tex-start-options-string nil) (setq tex-run-command "tex -src-specials -interaction=nonstopmode") (setq latex-run-command "latex -src-specials -interaction=nonstopmode") Ugly isn't it ? Don't you think `tex-start-options-string' should be a list ? Thanks for your attention. -- Matthias