>>>>> "Eric" == Eric M Ludlam <eric@...> writes:
>>>> Venkatesh Prasad Ranganath <rvprasad@...> seems to think that:
>>>>>>> "Eric" == Eric M Ludlam <eric@...> writes:
>>
>> >> I am using eieio, semantic and speedbar from the cvs repository. When I
>> >> try to expand the node corresponding to a .ltx file in the speedbar, I
>> >> get the following error.
>> >>
>> >> eieio-generic-call: No method definition: semanticdb-create-database,
>> >> ("/home/venku/publications/icse03/.semantic.cache")
>> >>
>> >> However, I donot get that error if I use semantic-1.4.1 instead of
>> >> semantic from CVS (the rest of the set up is left as it is).
>> > [ ... ]
>>
>> > If not, it may be that the require or auto-loads don't work quite
>> > right yet. Semanticdb used to be one file, now it consists of 7 or
>> > so. I just tried it on a few local latex files I have, and it
>> > works for me.
>>
>> > Try using `M-x toggle-debug-on-error', and getting a stack trace.
>> > That will help.
>>
>> Well, deleting the cache files did not help. Also, following is the stack trace of the error.
>>
>> I am loading xae after semantic and it comes with a prebundled version of eieio. Could that be...?
>>
>> Debugger entered--Lisp error: (no-method-definition semanticdb-create-database ("/home/venku/publications/icse03/.semantic.cache"))
>> signal(no-method-definition (semanticdb-create-database ("/home/venku/publications/icse03/.semantic.cache")))
>> eieio-generic-call(semanticdb-create-database ("/home/venku/publications/icse03/.semantic.cache"))
>> semanticdb-create-database("/home/venku/publications/icse03/.semantic.cache")
>> semanticdb-get-database("/home/venku/publications/icse03/.semantic.cache")
>> semanticdb-file-stream("/home/venku/publications/icse03/cadena.tex")
>> semantic-fetch-dynamic-bovine("/home/venku/publications/icse03/cadena.tex")
>> speedbar-fetch-dynamic-tags("/home/venku/publications/icse03/cadena.tex")
>> speedbar-tag-file("[+]" "cadena.tex" 2)
>> speedbar-do-function-pointer()
>> speedbar-click((mouse-2 (#<window 6 on SPEEDBAR> 281 (18 . 260) 100149771)))
>> dframe-click((mouse-2 (#<window 6 on SPEEDBAR> 281 (18 . 260) 100149771)))
>> call-interactively(dframe-click)
> This is indeed curious. If you were to find-file a latex file in
> that directory before using speedbar to open it, does that still
> cause the problem?
Well, it still does cause the problem.
>>>> Venkatesh Prasad Ranganath <rvprasad@...> seems to think that:
> [ ... ]
>> Well figured what the problem was. The problem happens only if I set semanticdb-global-mode to true.
>> I thought it might be a bug, hence, this mail.
>>
>> Thanks for the expedite reply,
> Semanticdb is an important part of what makes things work quickly.
> While this may temporarily make things work, using semanticdb will
> save time later.
> Eric
> --
> Eric Ludlam: zappo@..., eric@...
> Home: http://www.ludlam.net Siege: http://www.siege-engine.com
> Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
--
Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad
|