From: Jorge Araya Navarro <elcorreo@deshackra.com>
To: help-gnu-emacs@gnu.org
Subject: Re: I don't have C++ intellisense with company-mode
Date: Thu, 23 Jan 2014 23:22:24 -0600 [thread overview]
Message-ID: <1390540944.17933.2.camel@localhost.localdomain> (raw)
In-Reply-To: <87r47ybhc8.fsf@yandex.ru>
El jue, 23-01-2014 a las 21:58 +0200, Dmitry Gutov escribió:
> Jorge Araya Navarro <elcorreo@deshackra.com> writes:
>
> > I commented out those lines, tried again, but it doesn't works[0] :'(
> >
> >
> > [0]: http://imgur.com/a/Ed7Wn#3
>
> Don't know what's the problem here: I've tried your cedet.el and a small
> sample C++ file, and it worked fine (with the latest Emacs, built from
> trunk).
>
> You might want to comment this out, though:
>
> (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode)
>
> This kind of mode seems to duplicate the functionality of Company.
>
> If you don't manage to make it work yourself, try reproducing the
> problem with a small C++ file and then uploading it here, or, better
> yet, filing a CEDET bug report (or doing both). The latter option would
> be most appropriate if you see company-semantic working with some C++
> files, but failing on certain others.
>
> Also, try the very latest Emacs build you can find (build from trunk, if
> you can).
>
I added (require 'cedet-cscope) and the error just appeared one level
below:
Debugger entered--Lisp error: (void-function semanticdb-enable-cscope-databases)
(semanticdb-enable-cscope-databases)
(progn (semanticdb-enable-cscope-databases))
(if (cedet-cscope-version-check t) (progn (semanticdb-enable-cscope-databases)))
eval-buffer(#<buffer *load*-326197> nil "/home/jorge/.emacs.d/conf-modes/cedet.el" nil t) ; Reading at buffer position 411
load-with-code-conversion("/home/jorge/.emacs.d/conf-modes/cedet.el" "/home/jorge/.emacs.d/conf-modes/cedet.el" nil nil)
load("/home/jorge/.emacs.d/conf-modes/cedet.el" nil nil t)
load-file("~/.emacs.d/conf-modes/cedet.el")
eval-buffer(#<buffer *load*-390467> nil "/home/jorge/.emacs.d/varl.el" nil t) ; Reading at buffer position 617
load-with-code-conversion("/home/jorge/.emacs.d/varl.el" "/home/jorge/.emacs.d/varl.el" nil nil)
load("/home/jorge/.emacs.d/varl.el" nil nil t)
load-file("~/.emacs.d/varl.el")
eval-buffer(#<buffer *load*> nil "/home/jorge/.emacs.d/init.el" nil t) ; Reading at buffer position 373
load-with-code-conversion("/home/jorge/.emacs.d/init.el" "/home/jorge/.emacs.d/init.el" t t)
load("/home/jorge/.emacs.d/init" t t)
that's some progress at least... I commented those lines and tried
again, created a helloworld.cpp file that looks like this:
#include <iostream>
struct test
{
int foo;
int foobar;
int bar;
char ch;
};
int main(int argc, char *argv[])
{
test teststruct;
teststruct.foo = 10;
return 0;
}
but, nothing, just more errors[1] :(. company-semantic doesn't work with
any C++ file! :'(
I then compiled Emacs from its repository as you suggested (version
echoes: GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version
3.10.6) of 2014-01-23 on abril ) and tried again, the same:
Idle Service Error semantic-idle-summary-idle-function: "#<buffer helloworld.cpp> - Wrong type argument: stringp, ((\"__THROW\" 0 nil nil))"
I think that I'm doing a bug report for this issue (to the CEDET
developers I guess?) :(
[1]: http://imgur.com/a/Ed7Wn#4
--
Pax et bonum.
Jorge Araya Navarro.
Diseñador publicitario, programador Python/C++ y colaborador en Parabola
GNU/Linux-libre.
--
Pax et bonum.
Jorge Araya Navarro.
Diseñador publicitario, programador Python/C++ y colaborador en Parabola
GNU/Linux-libre.
next prev parent reply other threads:[~2014-01-24 5:22 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 20:53 I don't have C++ intellisense with company-mode Jorge Araya Navarro
2014-01-23 1:19 ` Dmitry Gutov
2014-01-23 3:42 ` Jorge Araya Navarro
2014-01-23 11:32 ` Dmitry Gutov
2014-01-23 19:15 ` Jorge Araya Navarro
2014-01-23 19:58 ` Dmitry Gutov
2014-01-24 5:22 ` Jorge Araya Navarro [this message]
2014-01-24 7:06 ` 贺新超
2014-01-24 7:46 ` Jorge Araya Navarro
2014-01-24 17:05 ` David Engster
2014-01-24 17:24 ` Dmitry Gutov
2014-01-25 0:08 ` Jorge Araya Navarro
2014-01-25 5:27 ` Dmitry Gutov
2014-01-25 5:41 ` Jorge Araya Navarro
2014-01-25 7:48 ` Dmitry Gutov
2014-01-25 8:35 ` David Engster
2014-01-24 18:07 ` Jorge Araya Navarro
2014-01-24 19:20 ` David Engster
2014-01-24 11:06 ` Dmitry Gutov
2014-01-24 18:02 ` Jorge Araya Navarro
2014-01-23 14:11 ` Stefan Monnier
2014-01-23 19:07 ` Jorge Araya Navarro
2014-01-23 19:17 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390540944.17933.2.camel@localhost.localdomain \
--to=elcorreo@deshackra.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).