unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: binding emacs key combination to external program?
Date: 19 Sep 2007 17:06:04 GMT	[thread overview]
Message-ID: <slrnff2lm5.4vd.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: 1190206353.485953.249620@i38g2000prf.googlegroups.com

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)

  reply	other threads:[~2007-09-19 17:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 20:20 binding emacs key combination to external program? Roger Levy
2007-09-10 20:59 ` Joost Kremers
2007-09-11 10:42   ` Roger Levy
2007-09-11 15:23     ` Peter Dyballa
2007-09-11 17:05     ` Joost Kremers
2007-09-19 12:52       ` Roger Levy
2007-09-19 17:06         ` Joost Kremers [this message]
2007-09-25 22:00           ` Roger Levy
     [not found]     ` <mailman.707.1189524243.18990.help-gnu-emacs@gnu.org>
2007-09-19 12:54       ` Roger Levy
2007-09-10 23:55 ` Johan Lindström
2007-09-11  6:14 ` Matthias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnff2lm5.4vd.joostkremers@j.kremers4.news.arnhem.chello.nl \
    --to=joostkremers@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).