From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henry atting Newsgroups: gmane.emacs.help Subject: Adding command to TeX-command-list Date: Mon, 11 Oct 2010 16:57:07 +0200 Organization: LiteraturLateNight Message-ID: <87fwwceq0s.fsf@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291881040 20403 80.91.229.12 (9 Dec 2010 07:50:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 07:50:40 +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 Dec 09 08:50:36 2010 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.69) (envelope-from ) id 1PQbGt-00052p-Mi for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 08:50:35 +0100 Original-Received: from localhost ([127.0.0.1]:54640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQbGs-00052j-Nk for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:50:34 -0500 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!irazu.switch.ch!news-zh.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: dslb-094-222-020-230.pools.arcor-ip.net Original-X-Trace: online.de 1286808991 14205 94.222.20.230 (11 Oct 2010 14:56:31 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Mon, 11 Oct 2010 14:56:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:k9AkRxWd94cYWMJ1RLMqXsL1Q5w= Original-Xref: usenet.stanford.edu gnu.emacs.help:181716 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:76844 Archived-At: What's wrong with this: (eval-after-load "tex" '(add-to-list 'TeX-command-list '("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil t)) When adding it to ~/.emacs Emacs starts with an error message. Then again I can evaluate it with `C-x C-e' when Emacs is up easily. henry -- http://literaturlatenight.de