From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: binding emacs key combination to external program? Date: 19 Sep 2007 17:06:04 GMT Message-ID: References: <1189455656.243011.125810@50g2000hsm.googlegroups.com> <1189507358.860005.223160@r29g2000hsg.googlegroups.com> <1190206353.485953.249620@i38g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1190224062 5923 80.91.229.12 (19 Sep 2007 17:47:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 17:47:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 19 19:47:25 2007 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 1IY3XO-00007q-MN for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Sep 2007 19:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY3XM-0004ja-Sc for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Sep 2007 13:40:32 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: individual.net hsbAPc7RklDHpgWwzxbFmgnpUCbd8WkglnDhvTgIWPhTKDk89L Cancel-Lock: sha1:iOyUi7ZNL6h16Gyse4GIi386irA= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:152177 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:47686 Archived-At: Roger Levy wrote: > Name: latex2pdf > Command: latex2pdf %S & > Modes: Plain TeX, LaTeX > > However, after saving this modification and setting it for the current > session, C-c C-c in LaTeX mode still doesn't trigger the latex2pdf > command. Any thoughts on what I could be doing wrong? well, you press C-c C-c and then you still have to select the command you want to run. so press l and then hit TAB, it will expand to latex2pdf. then hit ENTER. however, i don't think your command is right. first, the %S is for the source special options. you probably want %t, which expands to the tex file. i also don't think you need the ampersand. instead, you need to set the How: options, probably to TeX-run-command. that also gives you the ability to watch the output of your command by typing C-c C-l. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)