Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6224581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:41:50+00:00 2026-05-24T08:41:50+00:00

Cedet is a nice tool suite but in default configuration it has some difficulty

  • 0

Cedet is a nice tool suite but in default configuration it has some difficulty locating included files.

I would like to make it look for a directory called include/ in each parent directory and get the file from there.

for examplme a file /home/fakedrake/my-project/some-thing/something-else/file.c has #include "file.h"
file.h is in some-thing/file.h but cedet fails to locate it

What would be awesome would be to make cedet look for file.h to create completions in directories

/home/fakedrake/my-project/some-thing/include/
/home/fakedrake/my-project/include/

( and i could live with it if it tried to look for

/include/
/home/include/
/home/fakedrake/include/ 

)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:41:51+00:00Added an answer on May 24, 2026 at 8:41 am

    You can use EDE for it. Moreover, it allows you to specify different include paths for particular projects. EDE is a part of Cedet, so you needn’t install anything.

    The basic setup is:

    (global-ede-mode t)
    

    Then for each project you should have something like that:

    (if (file-exists-p "~/dev/chanconf/Makefile")
        (ede-cpp-root-project "chanconf"
                              :name "Channel Config"
                              :file "~/dev/chanconf/Makefile"
                              :system-include-path '("/usr/include"
                                                     "/usr/include/boost")
                              :include-path '("/src"
                                              "/test/gtest/include")
                              :spp-table '(("BOOST_PROGRAM_OPTIONS_DECL" . ""))))
    

    It’s not exactly what you’re asking for since you still have to list all the include directories. But usually it’s done only one time per project and doesn’t require too much effort, so I hope it helps.

    An article on Cedet by Alex Ott is a pretty good source of ideas if you need more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking into CEDET, but it seems that most of its features would
I am using emacs 23.3 I heard that emacs 23.3 include cedet by default
I have some problems to respond on a event like Enter. I have a
I need CEDET for eassist ( eassist-list-methods is quite handy). In eassist.el there's the
I've configured CEDET for emacs following Alex article (great!!). Now, the questions: I've generated
Since I switched to CEDET as shipped with recent emacs release (23.2), CEDET does
I am using emacs 23.2 on Ubuntu 10.04 & Windows XP along with cedet
In Emacs, how does one emulate mouse button presses and the like using a
I have the following code, m_edit is a MFC CEdit (I know I would
I use CEDET (latest CVS) with several moderately large projects (a few hundred kLOCs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.