Mmh, ok. I did not look into those, but I will to it!
It sounds like actually semantic-complete-analyze-inline should be fine
for all completion cases, am I wrong?
Here is what it does not do:
int function(int a,int b)
{
}
int main()
{
func|
}
with the cursor at |, it does not complete function
regards,
Nathan
On Wed, May 20, 2009 at 11:32:18AM -0500, eric@... wrote:
> I don't think I understand the problem then. What doesn't
> semantic-complete-analyze-inline do?
>
> Perhaps it is because semantic-complete-analyze-inline only uses the
> analyzer for completion, and the -ia- function uses the analyzer and if
> it produces no results, it uses a backup completion engine. If that is
> the case, then you probably want to use one of the other completion tools
> that can mix many possible completion sources, like hippie-expand, but
> that also has the completion menu you desire. The emacs wiki lists a
> few.
>
> Eric
>
> Nathan Huesken <cedet@...> seems to think that:
>
>> Hi,
>>
>> Thos function only work under X, I sometimes do not use X and would
>> prefer a function also available in the terminal.
>>
>> The way semantic-complete-analyze-inline handles the results is just
>> perfect.
>>
>>
>> Thanks!
>> Nathan
>>
>> On Wed, May 20, 2009 at 09:59:13AM -0500, eric@... wrote:
>>> Are you looking for semantic-ia-complete-symbol-menu, or
>>> semantic-ia-complete-tip?
>>>
>>> Eric
>>>
>>> Nathan Huesken <cedet@...> seems to think that:
>>>
>>> > OK, I did not do enough searching before posting.
>>> > Seems like semantic-complete-analyze-inline just does not as much as
>>> > semantic-ia-complete-symbol.
>>> >
>>> > But if I have 2 functions starting with fun, semantic-ia-complete-symbol
>>> > just completes the first, switching to the second when called a second
>>> > time.
>>> >
>>> > I like the semantic-complete-analyze-inline menu more.
>>> > Can some ia function display a menu like that?
>>> >
>>> > Thanks!
>>> > Nathan
>>> >
>>> > On Wed, May 20, 2009 at 03:40:39PM +0200, Nathan Huesken wrote:
>>> >> Hi,
>>> >>
>>> >> I use the latest cvs version of cedet, and
>>> >> semantic-complete-analyze-inline to complete symbols.
>>> >>
>>> >> Here is an example where it does not work:
>>> >> int function(int a,int b)
>>> >> {
>>> >> }
>>> >>
>>> >> int main()
>>> >> {
>>> >> func|
>>> >> }
>>> >>
>>> >> (| is the cursor position).
>>> >> Here semantic-complete-analyze-inline says:
>>> >>
>>> >> Inline completion not needed.
>>> >>
>>> >> (Whatever it means by that, I tend to disagree).
>>> >> But
>>> >> semantic-ia-complete-symbol
>>> >> does just fine ...
>>> >> --
>>> >>
>>> >>
>>> ------------------------------------------------------------------------------
>>> >> Crystal Reports - New Free Runtime and 30 Day Trial
>>> >> Check out the new simplified licensing option that enables
>>> >> unlimited royalty-free distribution of the report engine
>>> >> for externally facing server and web deployment.
>>> >> http://p.sf.net/sfu/businessobjects
>>> >> _______________________________________________
>>> >> cedet-semantic mailing list
>>> >> cedet-semantic@...
>>> >> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>>> >>
>>> >
>>> > --
>>> >
>>> >
>>> ------------------------------------------------------------------------------
>>> > Crystal Reports - New Free Runtime and 30 Day Trial
>>> > Check out the new simplified licensing option that enables
>>> > unlimited royalty-free distribution of the report engine
>>> > for externally facing server and web deployment.
>>> > http://p.sf.net/sfu/businessobjects
>>> > _______________________________________________
>>> > cedet-semantic mailing list
>>> > cedet-semantic@...
>>> > https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>>> >
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables
>>> unlimited royalty-free distribution of the report engine
>>> for externally facing server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> cedet-semantic mailing list
>>> cedet-semantic@...
>>> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>>>
>>
>> --
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables
>> unlimited royalty-free distribution of the report engine
>> for externally facing server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> cedet-semantic mailing list
>> cedet-semantic@...
>> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>>
>
>
>
--
|