[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing current buffer to compile command
From: |
despen |
Subject: |
Re: Passing current buffer to compile command |
Date: |
Mon, 17 Jan 2011 00:48:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
despen@verizon.net writes:
> duke <sidney.reilley.ii@gmail.com> writes:
>
>> 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 ?
>
> What does make have to do with the compiler?
>
> Your best bet is to learn make, it will pay back dividends later.
>
> But if you insist, one solution is to put a comment block at the end
> of your file like this:
>
> # Local Variables:
> # compile-command: "mycompiler myfile"
> # End:
To activate above, save buffer to file, delete buffer, reload buffer.
- Passing current buffer to compile command, duke, 2011/01/16
- Re: Passing current buffer to compile command, Peter Dyballa, 2011/01/16
- Re: Passing current buffer to compile command, Pascal J. Bourguignon, 2011/01/16
- Re: Passing current buffer to compile command, despen, 2011/01/16
- Re: Passing current buffer to compile command,
despen <=
- Message not available
- Re: Passing current buffer to compile command, duke, 2011/01/16
- Re: Passing current buffer to compile command, Peter Dyballa, 2011/01/16
- Message not available
- Re: Passing current buffer to compile command, duke, 2011/01/16
- Re: Passing current buffer to compile command, Eli Zaretskii, 2011/01/17
- Message not available
- Re: Passing current buffer to compile command, duke, 2011/01/17
Re: Passing current buffer to compile command, rusi, 2011/01/16