Hi Eric,
On Tuesday 18 May 2010 04:16 AM, Eric M. Ludlam wrote:
> On 05/18/2010 01:13 AM, Suvayu Ali wrote:
>> Hi Eric,
>>
>> On Monday 17 May 2010 04:19 PM, Eric M. Ludlam wrote:
>>>
>>> Semantic stores everything, so it will keep both. If you use the low
>>> level search commands, it will also identify both if you do a search by
>>> name, unless you specifically ask for a "find the first by name".
>>>
>>
>> What are these low level search commands? Are they by default bound to
>> any keys by semantic? Are you referring to senator-nonincremental-*
>> search commands? I tried those but they only seem to find tags within
>> the current file.
>
> Sorry, I should have specified "low level search functions", as they are
> not commands.
>
> The functions in question are:
>
> semanticdb-find-tags-by-name
> semanticdb-find-tags-by-name-regexp
>
> The non-db version will search only the local file.
>
Thanks for clarifying that. I was trying to write a simple command with
this, but I have a feeling I am over simplifying.
This is my attempt,
(defun foo(name)
(interactive "s Tag:")
(print (semanticdb-find-tags-by-name name nil t)))
Of course this is extremely crude, but for the future I wanted to get a
prompt of the various function definitions maybe in a separate *Help
like* buffer.
Can you point me in the right direction?
> Eric
>
PS: I am a huge lisp newbie, so if possible be a little verbose. :-P
Appreciate you working on CEDET. It has simplified my life immensely. :)
--
Suvayu
Open source is the future. It sets us free.
|