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

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

Re: emacs equivalent of vi %


From: Lennart Borgman (gmail)
Subject: Re: emacs equivalent of vi %
Date: Wed, 13 Aug 2008 11:34:55 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

http://www.emacswiki.org/cgi-bin/wiki/ViKeys

Rustom Mody wrote:
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]