From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vyacheslav Gonakhchyan Newsgroups: gmane.emacs.devel Subject: Re: Emacs 24 semantic C++ completion problem Date: Fri, 30 Dec 2011 11:31:41 +0000 Message-ID: References: <4EFCE3A1.7030302@siege-engine.com> <87hb0i9zxt.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d041702a7b023eb04b54d9312 X-Trace: dough.gmane.org 1325244720 31525 80.91.229.12 (30 Dec 2011 11:32:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2011 11:32:00 +0000 (UTC) To: "Eric M. Ludlam" , Vyacheslav Gonakhchyan , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 30 12:31:51 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rgagf-0007bB-4n for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2011 12:31:49 +0100 Original-Received: from localhost ([::1]:41501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgage-0006Ua-L4 for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2011 06:31:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgagb-0006UI-8x for emacs-devel@gnu.org; Fri, 30 Dec 2011 06:31:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgagY-00018l-Uj for emacs-devel@gnu.org; Fri, 30 Dec 2011 06:31:45 -0500 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:62034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgagY-00018I-Ma for emacs-devel@gnu.org; Fri, 30 Dec 2011 06:31:42 -0500 Original-Received: by dakl33 with SMTP id l33so11060658dak.0 for ; Fri, 30 Dec 2011 03:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ua2oWMt2e2boodliGtGgX6yVX3a3V+I3NHPvQybvoIM=; b=uyHuj+Mprz94IwZJ429MBkULR+xq53GIX5ZnoprAERK7Lc+VXe9sb/pQB+FS9lvpz+ Z+OId21RU1e6VhrHO6dFf9c7E4rU5AzSIjgVdfdc0LNEWucP0Gh9gUIZpKTBqDb+T/Cu 6sbLU+vkl/cFdU1seB0p/ESAXZnopFW9j4Tco= Original-Received: by 10.68.72.70 with SMTP id b6mr93779588pbv.58.1325244701745; Fri, 30 Dec 2011 03:31:41 -0800 (PST) Original-Received: by 10.68.71.230 with HTTP; Fri, 30 Dec 2011 03:31:41 -0800 (PST) In-Reply-To: <87hb0i9zxt.fsf@engster.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147048 Archived-At: --f46d041702a7b023eb04b54d9312 Content-Type: text/plain; charset=ISO-8859-1 Thanks, Eric, David. Using cedet newtrunk helped. I can complete types without a problem. Although when trying to complete member functions a lot of variants appear and non of them seem to be right. Also sometimes I get errors(like in my first message) and on second try it works. Regards, Slava On Fri, Dec 30, 2011 at 9:22 AM, David Engster wrote: > Eric M. Ludlam writes: > > For the 2nd problem you list, that seems more like a bug that may have > > been fixed with the version of CEDET from the CEDET bzr > > repository. There have been a few bug fixes there since CEDET was last > > merged into Emacs. If setting up EDE fixes the first but not the > > second, you should check w/ the CEDET bzr repository. > > FWIW, I tested Ogre3d with Semantic from bzr a while ago (after a > similar bug report on Semantic-devel), and it seemed to worked fine. > > Note however that our current 'trunk' from bzr is setup a bit > differently than the one in Emacs. If you'd like to keep your current > .emacs setup, you better use our 'newtrunk' by doing > > bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/newtrunkcedet > > Simply compile using 'make' and then load CEDET through > > (load-file "/cedet-devel-load.el") > > (preferrably at the beginning of your .emacs). > > -David > --f46d041702a7b023eb04b54d9312 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Eric, David.
Using cedet newtrunk helped. I can complete types w= ithout a problem.
Although when trying to complete member functions a l= ot of variants appear and non of
them seem to be right.
Also sometim= es I get errors(like in my first message) and on second try it works.

Regards,
Slava

On Fri, Dec 30, 201= 1 at 9:22 AM, David Engster <deng@randomsample.de> wrote:
Eric M. Ludlam writes:
> For the 2nd problem you list, that seems more like a bug that may have=
> been fixed with the version of CEDET from the CEDET bzr
> repository. There have been a few bug fixes there since CEDET was last=
> merged into Emacs. =A0If setting up EDE fixes the first but not the > second, you should check w/ the CEDET bzr repository.

FWIW, I tested Ogre3d with Semantic from bzr a while ago (after a
similar bug report on Semantic-devel), and it seemed to worked fine.

Note however that our current 'trunk' from bzr is setup a bit
differently than the one in Emacs. If you'd like to keep your current .emacs setup, you better use our 'newtrunk' by doing

bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/= code/newtrunk cedet

Simply compile using 'make' and then load CEDET through

(load-file "<PATH>/cedet-devel-load.el")

(preferrably at the beginning of your .emacs).

-David

--f46d041702a7b023eb04b54d9312--