|
From: | Peter Dyballa |
Subject: | Re: Passing current buffer to compile command |
Date: | Sun, 16 Jan 2011 21:50:54 +0100 |
Am 16.01.2011 um 20:12 schrieb duke:
How do I do that? I'm not using make, but another compiler. So I need to pass a filename. Instead of inputing the filename, how do I pass the current buffer file name? %f ?
I hope your file has a better name than %f! Have you tried to type M-x compile RET? Did you see text appear in the echo-area? Now, could you try to type SPACE (the character, not the word) in echo-area/mini- buffer and than the start of your file's real name (not its path name)? Does, when pressing TAB, the file name complete? If so, then just press RET! If not, then you have to type some more or make a choice at some time...
-- Greetings Pete Imbecility, n.:A kind of divine inspiration, or sacred fire affecting censorious critics of this dictionary.
– Ambrose Bierce: _The Devil's Dictionary_
[Prev in Thread] | Current Thread | [Next in Thread] |