help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs equivalent of vi %


From: Rustom Mody
Subject: emacs equivalent of vi %
Date: Wed, 13 Aug 2008 12:22:35 +0530

In vi one can do, for example,
:!gcc %
and the current file gets compiled -- ingeneral :
:!someCommand options % otherStuff
and the filename gets interpolated.
Is there any way to get the '%' behavior in emacs?
[Note: I know about compile; I am asking a more general question about
getting the filename]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]