<p style="margin-bottom:0cm">Hi there,</p>
<p style="margin-bottom:0cm">New with emacs. I'm not able to
implement auto-completion for Gtk+3. I'm using CEDET and Auto
Complete Mode as UI. S<font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">emantic
is unable to find include files ( <gtk/gtk.h> ), but it can
parse the tags of the code in the open buffers. Any suggestions?
Thanks.</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">Here
my .emacs conf</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;
load CEDET</font></font></font></p><p style="margin-bottom:0cm"><span style="font-size:10pt;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">;;----------------------------------------------------------------------------------</span></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(load-file
"~/.emacs.d/cedet-1.0/common/cedet.el")</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(global-ede-mode
1)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(semantic-load-enable-excessive-code-helpers)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;(semantic-load-enable-semantic-debugging-helpers)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;
ede customization</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semantic-lex-spp)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(ede-enable-generic-projects)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(setq
senator-minor-mode-name "SN")</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(setq
semantic-imenu-auto-rebuild-directory-indexes nil)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(global-srecode-minor-mode
1)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(global-semantic-mru-bookmark-mode
1)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semantic-decorate-include)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;
gcc setup</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semantic-gcc)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;
smart completions</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semantic-ia)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(setq-mode-local
c-mode semanticdb-find-default-throttle</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000">
<font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">'(project
unloaded system recursive))</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(setq-mode-local
c++-mode semanticdb-find-default-throttle</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000">
<font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">'(project
unloaded system recursive))</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(setq-mode-local
erlang-mode semanticdb-find-default-throttle</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000">
<font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">'(project
unloaded system recursive))</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'eassist)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semanticdb)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(global-semanticdb-minor-mode
1)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;
gnu global support</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semanticdb-global)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(semanticdb-enable-gnu-global-databases
'c-mode)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(semanticdb-enable-gnu-global-databases
'c++-mode)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;
ctags</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(require
'semanticdb-ectag)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;(semantic-load-enable-primary-exuberent-ctags-support)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(global-semantic-tag-folding-mode)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(defun
my-cedet-hook ()</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(local-set-key
[(control return)] 'semantic-ia-complete-symbol)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(local-set-key
"\C-c?" 'semantic-ia-complete-symbol-menu)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(local-set-key
"\C-c>" 'semantic-complete-analyze-inline)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(local-set-key
"\C-cp" 'semantic-analyze-proto-impl-toggle))</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(add-hook
'c-mode-common-hook 'my-cedet-hook)</font></font></font></p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;semantic
gtk gdk</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(defun
my-semantic-hook ()</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(semantic-add-system-include
"/usr/include/gtk-3.0/gtk/" 'c-mode)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(semantic-add-system-include
"/usr/include/gtk-3.0/gdk/" 'c-mode))</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">(add-hook
'semantic-init-hooks 'my-semantic-hook)</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;
END CEDET</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">;;----------------------------------------------------------------------------</font></font></font></p>
<p style="margin-bottom:0cm"><font color="#000000"> </font>
</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><font color="#000000"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><font size="2" style="font-size:10pt">Pablo
Ordonez</font></font></font></p>