Re: Work with latest semantic.

"Eric M. Ludlam" <[email protected]>
Newsgroups gmane.emacs.semantic,gmane.emacs.code-browser
Message-ID <[email protected]>
Hi,

  Emacs says I forgot to reply earlier.  Sorry.

ECB attempts to make sure that various version numbers are up to
date.  For some reason, your updated semantic version has no version
number.  ie:

C-h v semantic-version RET

would say 'nil', or something like that.

If you do:

M-x locate-library RET semantic RET

it will tell you where Emacs wants to get Semantic from.  Go there,
and check that the version is set.  If it is set ok, then some other
code is being run before semantic does that is setting the version
number.  Perhaps an old autoload file?

Eric

>>> Wei Weng <[email protected]> seems to think that:
>Hi all.
>
>I am trying to replace the old semantic 0.14.4 with the latest(2.0) just
>downloaded from cedet 1.0. When I replaced them, I got this error while trying
>to load semantic:
>
>An error has occurred while loading `/home/wweng/.emacs':
>
>Wrong type argument: number-or-marker-p, nil
>
>I tried to start emacs with --debug-init, I got this:
>
>Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  [ ... ]
>  ecb-package-version-list<(nil (1 4 2 0))
>  (or (not (boundp ...)) (ecb-package-version-list<
>(ecb-package-version-str2list semantic-version)
>ecb-required-semantic-version-min) (ecb-package-version-list<
>ecb-required-semantic-version-max (ecb-package-version-str2list
>semantic-version)))
  [ ... ]
>  (if (and (or ... ecb-version-check) (not ecb-all-requirements-available)
  [ ... ]
>
>Does anyone have an idea what is wrong with my setup?
  [ ... ]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.