all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roger Levy <sinoslav@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: binding emacs key combination to external program?
Date: Tue, 25 Sep 2007 22:00:21 -0000	[thread overview]
Message-ID: <1190757621.256472.202900@o80g2000hse.googlegroups.com> (raw)
In-Reply-To: <slrnff2lm5.4vd.joostkremers@j.kremers4.news.arnhem.chello.nl>

On Sep 19, 10:06 am, Joost Kremers <joostkrem...@yahoo.com> wrote:
> 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.

Thank you, that helped!

Best

Roger

  reply	other threads:[~2007-09-25 22:00 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
2007-09-25 22:00           ` Roger Levy [this message]
     [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

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

  git send-email \
    --in-reply-to=1190757621.256472.202900@o80g2000hse.googlegroups.com \
    --to=sinoslav@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.