all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthias <pfemat@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: binding emacs key combination to external program?
Date: Tue, 11 Sep 2007 08:14:38 +0200	[thread overview]
Message-ID: <5kmq2mF4jl3dU1@mid.dfncis.de> (raw)
In-Reply-To: <1189455656.243011.125810@50g2000hsm.googlegroups.com>

Roger Levy schrieb:
> Hi,
> 
> 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.
> 
> Many thanks,
> 
> Roger
> 

Most easy would be to put a Makefile in your working directory that 
defines how your shell script is called and then use emacs' compile 
command that you bind to any key for example "f9":

(global-set-key [f9] 'compile)

matthias

	

      parent reply	other threads:[~2007-09-11  6:14 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
     [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 [this message]

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=5kmq2mF4jl3dU1@mid.dfncis.de \
    --to=pfemat@web.de \
    --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.