[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: |
Fri, 19 Apr 2013 17:07:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Rami A <rami.ammari@gmail.com> writes:
> Kevin, Dan,
> Thanks for the information.
> I am afraid my description of the problem was not clear.
>
> So I have F4 configured as to do compile.
> (global-set-key [f4] 'compile)
>
> And I am setting the default compile command to be gid.
> (setq compile-command "gid ")
>
> I am using mkid to create IDs for all variables, structures and functions.
>
> So now when I want to search for something I would hit F4 and then I see this
> in the command line:
> compile command: gid
>
> Then I can insert what I want to search for in the source code right after
> gid.
>
> What I would like to achieve is a way to highlight the thing I want to
> search for in the source code, hit F4 or something and have it apply
> "compile command: gid " on the highlighted text.
>
> I hope this makes it more clear.
I'm not familiar with mkid/gid.el
Reading the instructions, it looks like they want you to type
M-x gid
not M-x compile
so try:
(global-set-key [f4] 'gid)
--
Dan Espen
- Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/17
- Re: Shortcut to compile "highlighted Text/Tag", Dan Espen, 2013/04/17
- 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 <=
- 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
- Re: Shortcut to compile "highlighted Text/Tag", Bob Proulx, 2013/04/20
- Re: Shortcut to compile "highlighted Text/Tag", Rami A, 2013/04/20
- Re: Shortcut to compile "highlighted Text/Tag", Dan Espen, 2013/04/20