New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update semantic features for Emacs 25.1 #24

Closed
tarsius opened this Issue Oct 8, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@tarsius
Copy link

tarsius commented Oct 8, 2016

The semantic package in Emacs v25.1 no longer features a library that provides semantic-ctxt That has been replaced with semantic/ctxt. This Emacs version also does not provide semantic-analyze. I don't know what has happened to it.

Please update Ecb to be compatible with the latest release.

@ware

This comment has been minimized.

Copy link
Contributor

ware commented Dec 31, 2016

What is the failure mode that you're seeing here? I'm surprised that things have migrated back to the pre-2010 old style semantic/ctxt over the newer semantic-ctxt, but at the same time, it shouldn't matter as ecb-cedet-wrapper.el checks for both. What is the specific error you're seeing?

@tarsius

This comment has been minimized.

Copy link

tarsius commented Dec 31, 2016

I don't actually use ecb. I maintain the Emacsmirror with comes with a database containing information from all mirrored, "shelved", and built-in packages. Some statistics, including lists of packages with issues, can be found here. I've been slowly working through that list over the years (it was much longer initially).

I didn't look at this closely enough before opening the issue. I can and will manually drop the dependencies for the mentioned libraries. After all this is how they are required:

(if (locate-library "semantic-ctxt")
    (progn
      (require 'semantic-ctxt)
      (require 'semantic-analyze))
  (progn
    (require 'semantic/ctxt)
    (require 'semantic/analyze)))

You might however want to consider defining ecb-cedet-require earlier and then using it here too. But now that I understand what is going on manually dropping the dependencies on the alternative library names is good enough. And if you did later start using ecb-cedet-require here, then those manual adjustments would automatically get dropped from the database.

I'm surprised that things have migrated back to the pre-2010 old style semantic/ctxt over the newer semantic-ctxt

Taken together, the doc-string and value of ecb-cedet-lib-registry suggest that you are remembering this wrong.

@tarsius tarsius closed this Aug 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment