Questions tagged [emacs-semantic]

Semantic is a suite of Emacs libraries and utilities for parsing source code.

At its core is a lexical analyzer and two parser generators (bovinator and wisent) written in Emacs Lisp. Semantic provides a variety of tools for making use of the parser output, including user commands for code navigation and completion, as well as enhancements for imenu, speedbar, whichfunc, eldoc, hippie-expand, and several other parts of Emacs.

38 questions
11
votes
1 answer

Emacs, Cedet and semantic

I've configured CEDET for emacs following Alex article (great!!). Now, the questions: I've generated GTAGS with Gnu Global in my /usr/include, how can i check if semantic is using GTAGS? Can I keep my GTAGS in another directory and instruct…
synasius
  • 323
  • 3
  • 7
10
votes
2 answers

Strange semantic error

I have reinstalled emacs 24.2.50 on a new linux host and started a new dotEmacs config based on magnars emacs configuration. Since I have used CEDET to some success in my previous workflow I started configuring it. However, there is some strange…
elemakil
  • 3,681
  • 28
  • 53
10
votes
0 answers

semantic-complete-jump-local returns "No Match" in Emacs

I'm running Emacs 23.3.1 with CEDET 1.1. The command semantic-complete-jump-local always returns "No Match" while semantic-complete-jump works fine. I looked into the semantic-complete.el but my knowledge of elisp is not good enough to understand…
daole
  • 183
  • 10
8
votes
1 answer

Emacs/CEDET. Multiple projects and code completion

I've setup emacs 23.1.50.1 with CEDET 1.0 and ECB 2.40 (heavily inspired by Alex Otts setup at http://github.com/alexott/emacs-configs/blob/master/rc/emacs-rc-cedet.el and his gentle introduction to Cedet (…
anr78
  • 1,308
  • 2
  • 17
  • 31
8
votes
2 answers

Is it possible to get Semantic (emacs) to visit all files automatically?

From what I can tell from the docs, semantic works by slowly building up an idea of what's in your project by analysing each file (and possibly its neighbours) as you visit them. This is too slow. I'd like to just have it visit all the files in my…
RealityMonster
  • 1,881
  • 2
  • 12
  • 11
7
votes
2 answers

How to create an EDE project for C++

I have been trying to set up an EDE project for C++ (emacs24 + builtin CEDET) and I'm starting to get desperate because I can't seem to find the way I want the makefiles to be generated. I'm relatively new to Emacs. I'll try to describe what I'm…
pparescasellas
  • 620
  • 1
  • 12
  • 23
7
votes
1 answer

How to use Emacs and CEDET with SCons?

How to integrate SCons and emacs + cedet without breaking semantic and auto-complete?
frp
  • 1,119
  • 1
  • 10
  • 30
7
votes
1 answer

How to make emacs Semantic use the TAG file generated by GTAGS

My emacs version is 23.2.1 Although I used the following to change the backend to use GTAGS. (require 'semantic/db-global) (semanticdb-enable-gnu-global-databases 'c-mode) (semanticdb-enable-gnu-global-databases 'c++-mode) I tried to generate a…
6
votes
1 answer

Using cedet semantic wisent-ruby

I'm just getting started setting up cedet following various guides including Alex Ott's. Here is what I have so far in my init file. (require 'cedet) (semantic-load-enable-code-helpers) ;; imenu breaks if I don't enable…
event_jr
  • 17,467
  • 4
  • 47
  • 62
6
votes
3 answers

How to include standard jdk library in emacs semantic?

I'm using Emacs 23.2. Here's how I'm loading semantic: (setq semantic-default-submodes '(global-semantic-idle-scheduler-mode global-semanticdb-minor-mode global-semantic-idle-summary-mode …
Upgradingdave
  • 12,916
  • 10
  • 62
  • 72
6
votes
2 answers

Emacs source code navigation features

I am working on a large c++ project. I am working with emacs for the last six months. I have try to configure CEDET so as to be able to navigate easily but i have found some problems. 1.- Sometimes semantic does not find some symbols and sometimes…
thamurath
  • 765
  • 8
  • 24
4
votes
1 answer

CEDET Semantic Analyzer rather slow on an otherwise fast system

My test setup: Intel Dual Core 3GHz, Windows XP 32 bit, Emacs 23.2.1, CEDET v1.0 (byte-compiled as described in the INSTALL docs). The Emacs init file only consists of these four lines: (load…
Kay Sarraute
  • 1,232
  • 8
  • 16
4
votes
2 answers

Parsing whole project with semantic

I'm searching for a way to parse the whole directory with source code with semantic. Is this possible to do without explicitly opening each file in emacs?
3
votes
1 answer

C preprocessor defines not taken into account by Cedet/Semantic

I am trying to use Emacs as an IDE in my Linux kernel development projects. So I installed CEDET and GNU Global (gtags) with no problems. When I open a C source code belonging to my Linux kernel source folder, the linux project is detected…
3
votes
1 answer

make emacs cedet semantic look for include directories

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…
fakedrake
  • 6,528
  • 8
  • 41
  • 64
1
2 3