[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling external programs in emacs
From: |
Rusi |
Subject: |
Re: Calling external programs in emacs |
Date: |
Tue, 17 Jan 2017 19:40:12 -0800 (PST) |
User-agent: |
G2/1.0 |
On Saturday, January 14, 2017 at 12:23:46 AM UTC+5:30, Sam Nirvana wrote:
> I'm new to emacs, so forgive my inexperience.
>
> As you know, with Vim I can compile, say, a TeX file from within the
> editor with the following command:
>
> :!pdftex %
>
> Is there a way to do the same thing with emacs?
Others have already told you about M-! (also to be found on Menu→Tools→Shell
Command)
The % trick however does not work OTB in emacs
Here is some elisp that can help that
https://lists.gnu.org/archive/html/help-gnu-emacs/2008-08/msg00482.html