From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: binding emacs key combination to external program?
Date: 10 Sep 2007 20:59:29 GMT [thread overview]
Message-ID: <slrnfebbvn.ooe.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: 1189455656.243011.125810@50g2000hsm.googlegroups.com
Roger Levy wrote:
> I use a shell script to compile my LaTeX files from the command line
> and turn them into PDFs in one go-around (using ps2pdf rather than
> pdflatex), and I would like to bind an Emacs key combination to the
> execution of this script on the buffer. How can I do this? I'm
> having a hard time figuring it out from the manual.
you need to define a lisp function that calls your shell script on the
current buffer, and then bind your desired key combo to this function.
but more likely you should consider using AUCTeX (google for it). AUCTeX
can be customised to call your script. plus it has a gazillion other
benefits when writing latex documents.
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next prev parent reply other threads:[~2007-09-10 20:59 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 [this message]
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
[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=slrnfebbvn.ooe.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).