[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shortcut to compile "highlighted Text/Tag"
From: |
Dan Espen |
Subject: |
Re: Shortcut to compile "highlighted Text/Tag" |
Date: |
Wed, 17 Apr 2013 15:47:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Rami A <rami.ammari@gmail.com> writes:
> I have F4 being shortcut for the compile command:
>
> (global-set-key [f4] 'compile)
>
> But I have to type the tag I am looking for after pressing F4.
>
> Is there a way to highlight the symbol in the code and have a shortcut
> that does the compilation right away?
Huh?
The most logical compile command is "make".
If you need more elaborate commands, or don't want to use a Makefile,
put lines like this in your source file:
# Local Variables:
# compile-command: "./s1.py stock.data"
# End:
--
Dan Espen
- Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/17
- Re: Shortcut to compile "highlighted Text/Tag",
Dan Espen <=
- Re: Shortcut to compile "highlighted Text/Tag", Kevin Rodgers, 2013/04/18
- Message not available
- Re: Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Dan Espen, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Dan Espen, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Dan Espen, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/19
- Re: Shortcut to compile "highlighted Text/Tag", Bob Proulx, 2013/04/20
- Message not available
- Re: Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/20