Re: No completion candidates for a template case

Liang Wang <[email protected]> Thu, 22 Oct 2015 10:39:41 -0700
Newsgroups gmane.emacs.semantic
Message-ID <CAO+NnCaX55WBXHJsHLqxnLQhmcr9Mwfza9OPxEEtq0urM1Zkdw@mail.gmail.com>
On Tue, Oct 20, 2015 at 8:22 PM, Eric Ludlam <[email protected]> wrote:
>>>
>>> Alternately, are you using emacs 25?
>>
>>
>> Yes.
>>
>>> The git repo hasn't caught up to Emacs 25 changes to eieio yet.
>>
>>
>> I got error when calling semantic-analyze-current-context, like
>>    Symbol's function definition is void: eieio--object-class
>>
>> I don't find eieio source in cedet git repo. Could you tell me how I
>> can get a version of eieio for current cedet git repo?
>
>
> Hi Liang,
>
> Thanks for the patch.
>
> The EIEIO in use is the one from Emacs 24, but if you load that in Emacs 25,
> you will break lots of stuff over there in unexpected ways.
>
> To try out the patch, you would need to run Emacs 24.  Sorry.

I tried both emacs-24 branch in emacs git repo and emacs-24.5 tarball
but they both complain
  Lisp error: (void-function eieio-make-class-predicate)

>
> We do need to get CEDET ported to Emacs 25 changes, but it is a big job. :(
>
> It is probably possible to transplant the new
> lisp/cedet/semantic/bovine/c.by and c-by.el into Emacs in the same location
> and rebuild.  I don't know by how much it may have diverged.

I will try this path but need more time to study.

Thanks.

>
> Eric

------------------------------------------------------------------------------