|
From: | Kevin Rodgers |
Subject: | Re: Name of the active buffer |
Date: | Wed, 13 Jun 2007 00:22:48 -0600 |
User-agent: | Thunderbird 1.5.0.12 (Macintosh/20070509) |
hfleming wrote:
Suppose I want to run, from emacs, the program "prog" with the active buffer, "buffer", say, as argument. Of course I can do "Meta-! prog buffer". Some editors, however, have a default name for the active buffer. In vi, for instance, one can do ":! prog %" . In ultraedit, the buffer is called "%f". How can we do that in emacs?
If it is a "normal" command that reads from standard input when no file name argument is given: C-x h M-| prog RET
-- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |