all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: saneman <ddd@sdf.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Run shell command from latex?
Date: Wed, 09 Apr 2008 22:39:03 +0200	[thread overview]
Message-ID: <47fd2948$0$90264$14726298@news.sunsite.dk> (raw)
In-Reply-To: <mailman.10212.1207772610.18990.help-gnu-emacs@gnu.org>

David Hansen wrote:
> On Wed, 09 Apr 2008 21:11:32 +0200 saneman wrote:
> 
>> I am using auctex for latex. I would like to configure Alt-1 to run a
>> shell script compiles a .tex file and a few other things I have made.
>>
>> It this possible?
> 
> How about writing a Makefile and use M-x compile?  BTW M-! aka
> `shell-command' works everywhere.
> 
> David
> 
> 
> 

I know but I don't want to type 'make' each time. Instead I would like 
to define a short key in my .emacs file that executes the script.

Something like:

(global-set-key "\C-r" 'myscript)


Now each time I press C-r the 'myscript' gets executed. Is that possible 
somehow?


  parent reply	other threads:[~2008-04-09 20:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 19:11 Run shell command from latex? saneman
2008-04-09 20:09 ` David Hansen
     [not found] ` <mailman.10212.1207772610.18990.help-gnu-emacs@gnu.org>
2008-04-09 20:39   ` saneman [this message]
2008-04-10  6:48     ` David Hansen
2008-04-10  8:04       ` David Hansen
2008-04-10 13:53       ` Joel J. Adamson
2008-04-11 13:00         ` Nikolaj Schumacher
2008-04-11 14:41           ` Joel J. Adamson
2008-04-09 21:50 ` Peter Dyballa

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='47fd2948$0$90264$14726298@news.sunsite.dk' \
    --to=ddd@sdf.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.