From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roger Levy Newsgroups: gmane.emacs.help Subject: Re: binding emacs key combination to external program? Date: Wed, 19 Sep 2007 12:52:33 -0000 Organization: http://groups.google.com Message-ID: <1190206353.485953.249620@i38g2000prf.googlegroups.com> References: <1189455656.243011.125810@50g2000hsm.googlegroups.com> <1189507358.860005.223160@r29g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1190209294 15127 80.91.229.12 (19 Sep 2007 13:41:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 13:41:34 +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 15:41: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 1IXzn4-00055B-5k for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Sep 2007 15:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXzn2-0006vy-Gr for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Sep 2007 09:40:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i38g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 72.130.180.245 Original-X-Trace: posting.google.com 1190206354 19617 127.0.0.1 (19 Sep 2007 12:52:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 19 Sep 2007 12:52:34 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i38g2000prf.googlegroups.com; posting-host=72.130.180.245; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:152170 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:47679 Archived-At: On Sep 11, 10:05 am, Joost Kremers wrote: > Roger Levy wrote: > > Many thanks -- I do use AUCTeX but wasn't aware you can customize it > > this way. Would the best way to be to edit the TeX-command-list > > variable? > > yes, either directly or through M-x customize-variable RET TeX-command-list > RET. Thanks again. My script is called latex2pdf and takes one argument, the name of the .tex file. I've tried to add it by using M-x customize-variable RET TeX-command-list RET and adding the following at the top of TeX-command-list: 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? Many thanks once more. Roger