Re: [cedet-semantic] Completion within a . or -> expression

On Thursday 05 June 2008 01:37, Eric M. Ludlam wrote:
> Hi,
>
> I finally had time to examine this. I checked a fix into
> semantic-ctxt.el
>
Thanks a lot! Works great!
Greets Michael
> Enjoy.
> Eric
>
> >>> Michael Reiher <redm@...> seems to think that:
> >
> >Hi
> >
> >There is a small issue, but which is bugging me pretty often. Say I have
> >something like "fooAAA->bar();" and I want to change it to
> > "fooBBB->bar();". Ususally I first remove the "AAA" leaving me with
> > "foo->bar();" and the cursor right after "foo". Then I press TAB which
> > calls
> >senator-try-expand-semantic for me, in order to complete it to
> >"fooBBB->bar();". However this doen't work and semantic inserts some more
> > or less random tags ...e.g. ThisIsSomeTag giving me
> >"fooThisIsSomeTag->bar();" ... and if you happen to press TAB a few times
> >until you realize whats going on, you have
> >"fooThisIsSomeTagThisIsSomeTagThisIsSomeTag->bar();", and clean up the
> >mess ... :)
> >
> >Greets Michael

Thread view

Hi
There is a small issue, but which is bugging me pretty often. Say I have
something like "fooAAA->bar();" and I want to change it to "fooBBB->bar();".
Ususally I first remove the "AAA" leaving me with "foo->bar();" and the
cursor right after "foo". Then I press TAB which calls
senator-try-expand-semantic for me, in order to complete it to
"fooBBB->bar();". However this doen't work and semantic inserts some more or
less random tags ...e.g. ThisIsSomeTag giving me
"fooThisIsSomeTag->bar();" ... and if you happen to press TAB a few times
until you realize whats going on, you have
"fooThisIsSomeTagThisIsSomeTagThisIsSomeTag->bar();", and clean up the
mess ... :)
Greets Michael

Hi,
I finally had time to examine this. I checked a fix into
semantic-ctxt.el
Enjoy.
Eric
>>> Michael Reiher <redm@...> seems to think that:
>Hi
>
>There is a small issue, but which is bugging me pretty often. Say I have
>something like "fooAAA->bar();" and I want to change it to "fooBBB->bar();".
>Ususally I first remove the "AAA" leaving me with "foo->bar();" and the
>cursor right after "foo". Then I press TAB which calls
>senator-try-expand-semantic for me, in order to complete it to
>"fooBBB->bar();". However this doen't work and semantic inserts some more or
>less random tags ...e.g. ThisIsSomeTag giving me
>"fooThisIsSomeTag->bar();" ... and if you happen to press TAB a few times
>until you realize whats going on, you have
>"fooThisIsSomeTagThisIsSomeTagThisIsSomeTag->bar();", and clean up the
>mess ... :)
>
>Greets Michael
--
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net

On Thursday 05 June 2008 01:37, Eric M. Ludlam wrote:
> Hi,
>
> I finally had time to examine this. I checked a fix into
> semantic-ctxt.el
>
Thanks a lot! Works great!
Greets Michael
> Enjoy.
> Eric
>
> >>> Michael Reiher <redm@...> seems to think that:
> >
> >Hi
> >
> >There is a small issue, but which is bugging me pretty often. Say I have
> >something like "fooAAA->bar();" and I want to change it to
> > "fooBBB->bar();". Ususally I first remove the "AAA" leaving me with
> > "foo->bar();" and the cursor right after "foo". Then I press TAB which
> > calls
> >senator-try-expand-semantic for me, in order to complete it to
> >"fooBBB->bar();". However this doen't work and semantic inserts some more
> > or less random tags ...e.g. ThisIsSomeTag giving me
> >"fooThisIsSomeTag->bar();" ... and if you happen to press TAB a few times
> >until you realize whats going on, you have
> >"fooThisIsSomeTagThisIsSomeTagThisIsSomeTag->bar();", and clean up the
> >mess ... :)
> >
> >Greets Michael