Questions tagged [cedet]

CEDET is a Collection of Emacs Development Environment Tools written with the end goal of creating an advanced development environment in Emacs

CEDET provides number of features:

  • Projects management system
  • Smart Completion
  • Smart Help/Jump
  • Symbol References
  • Code Generation
  • UML Diagrams
  • Advanced Code Browsing
27 questions
56
votes
9 answers

Using Emacs as a full-featured C/C++ IDE

I have been trying off and on for over a year now to use Emacs as a C/C++ IDE. I have only been marginally successful thus far, but have run into a few brick walls along the way. Currently I am trying to use CEDET, but I am having a rough time…
nispio
  • 8,175
  • 2
  • 35
  • 73
5
votes
1 answer

Which version of CEDET should be used with EMACS 24.4.1 for java development?

CEDET Version: 2.0 I have EMACS version GNU Emacs 24.4.1 (x86_64-w64-mingw32) of 2014-10-20 on KAEL which comes with CEDET version Requested File Loaded Package Version Version …
M Smith
  • 279
  • 1
  • 7
5
votes
1 answer

What is the difference between setq-mode-local and setq-local

I don't understand how setq-mode-local works (mode-local is a package from cedet). The macro's documentation says: setq-mode-local is a Lisp macro in `mode-local.el'. (setq-mode-local MODE &rest ARGS) Assign new values to variables local in MODE. …
Łukasz Gruner
  • 1,008
  • 8
  • 16
2
votes
3 answers

Ubuntu/Debian preempting me and running code before me

I'm on Ubuntu 14.04, with: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian and have discovered something disturbing/annoying. I have been trying to use the latest version of CEDET via el-get…
c-o-d
  • 910
  • 9
  • 19
2
votes
0 answers

Getting autocompletion for qt4 with CEDET

I use emacs 24.4 with auto-complete1.5.0 and bundled version of CEDET2.0 (I've also tried with latest CEDET by downloading and loading cedet-devel-load.el). I have qt4 sources installed and semantic in my ac-sources. I want it to parse and…
nimag42
  • 21
  • 2
2
votes
2 answers

How to make CEDET auto-completion more detailed?

I currently have a very basic setup for CEDET: (add-to-list 'load-path "~/.emacs.d/popup") (require 'popup) (add-to-list 'load-path "~/.emacs.d/auto-complete") (require 'auto-complete) (require 'auto-complete-config) (ac-config-default) (define-key…
Zhro
  • 359
  • 3
  • 11
1
vote
2 answers

How to display type of C variable in a curses type menu?

A friend of mine who uses vim had this useful feature enabled, that allowed him to see type/completion information in a dropdown window even in terminal mode. Currently in emacs I have to actually jump to a separate point in code (using M-.) which…
Pushpendre
  • 351
  • 2
  • 7
1
vote
1 answer

Issues setting up Java code completion in CEDET. Cannot find semantic/db-javap

The line below is in my init file: (require 'semantic/db-javap) it is causing the following error message: Debugger entered--Lisp error: (file-error "Cannot open load file" "semantic/db-javap") require(semantic/db-javap) eval((require (quote…
1
vote
1 answer

completion and goto-function in matlab-mode

I've been working with matlab-mode and matlab-shell for the last few days, and I'm really digging it so far. The only two things I can't get to work properly are completion - neither in shell, nor in .m files - and jumping to function definitions,…
1
vote
0 answers

Tell semantic to ignore header file

For good or for ill our project has some generated header files that contain binary data const unsigned char __attribute__ ((aligned(4))) image[238560] = { 0x00, 0x00, 0x00, 0xff, ... ... } Which are included to fill certain resources. Is there…
Greg
  • 111
  • 2
1
vote
2 answers

What is the good resource for getting started using EMACS?

I have not used EMACS seriously in 20 years. I work on a Mac and am a vi/Eclipse person now. I want to switch back to EMACS for C and C++ programming. When I was researching EMACS add-on packages for C and C++ programming I quickly stumbled onto…
user1172468
  • 1,027
  • 2
  • 9
  • 8
1
vote
0 answers

Is CEDET/semantic obsolete? How to analyze C code for source transformation tasks?

Reading through some CEDET docs I found that the author herself recommends "to use Semantic only as source of information, and perform names completion using other packages". Does this advice also hold for other tasks? I want to analyze C source and…
Vroomfondel
  • 205
  • 1
  • 7
1
vote
1 answer

Reload init.el without restart, with CEDET

CEDET prevents me from doing M-x load-file init.el with the error: progn: CEDET Version 2.0 already loaded. How do I modify my CEDET load line to load conditionally? The current line looks like: (load-file "~/.emacs.d/cedet/cedet-devel-load.el")
artagnon
  • 2,237
  • 1
  • 15
  • 17
1
vote
1 answer

Completion for variables in C using company-gtags, or not Semantic

I have a working C IDE without Semantic (too slow for me), from instructions here, with completion provided by company-gtags (I think. Maybe clang does something too?). Completion at point works for functions throughout the project, but not for…
1
vote
1 answer

eval-buffer: Symbol's function definition is void: eieio-defclass-autoload

I'm played around with my .emacs and installed a few packages from melpa related to C++. Now when I start emacs, I get this error eval-buffer: Symbol's function definition is void: eieio-defclass-autoload It doesn't happen with emacs -Q. So I…
Fred Schoen
  • 131
  • 5
1
2