From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongxu Chen Newsgroups: gmane.emacs.help Subject: Re: Cedet cannot complete C++ standard class Date: Sun, 07 Jul 2013 13:08:31 +0800 Message-ID: <87ip0nyn1s.fsf@gmail.com> References: <51D6EDD6.5090800@gmail.com> <87a9lzvxxk.fsf@xc.laptop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373173733 19042 80.91.229.3 (7 Jul 2013 05:08:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jul 2013 05:08:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: XeCycle Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 07 07:08:54 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UvhDR-0001DY-Ht for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jul 2013 07:08:53 +0200 Original-Received: from localhost ([::1]:37416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvhDQ-0004pd-Jw for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jul 2013 01:08:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvhDE-0004pU-3P for help-gnu-emacs@gnu.org; Sun, 07 Jul 2013 01:08:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvhDB-0001Mq-KF for help-gnu-emacs@gnu.org; Sun, 07 Jul 2013 01:08:40 -0400 Original-Received: from mail-pb0-x233.google.com ([2607:f8b0:400e:c01::233]:51263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvhDB-0001Mm-Dp for help-gnu-emacs@gnu.org; Sun, 07 Jul 2013 01:08:37 -0400 Original-Received: by mail-pb0-f51.google.com with SMTP id um15so3258392pbc.24 for ; Sat, 06 Jul 2013 22:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=6kOZFUxBxKk9Vtjz6S04QCTKoY0YN1NZx/aKOMPLAU4=; b=xVyFlRFcL2vo+FQXaq4Q1vsfT1HGXWmTHMUGO9BvPw5vSXskQDWDAwXF+Vy+ItZWPC yZH7T9wfoWK8bSJk+iAoq79m0L5fyre1YGSZa5ZUKsPEAE42Rl1cHOhF5uYfLfbwOZs4 apocqAU1PtEQZOpBzgNItCvgmjVR3UlN3mo94lv4pr48c4/zvN0Ue6bgIFYZdJgYjxAd fQ3/q5OMi0WnijqmMcnGfcB84tAgCecdn8+alf35EYSeZW8VqxpjIL0bgfX8+BylYrBv cFHVqb2m7fQblQPOWC31t8HIrCLyuAeZJ08Fs8+RD2hd2Gas4IUC+DDHrhRO7fT7YAQ9 yI1w== X-Received: by 10.66.149.198 with SMTP id uc6mr17586381pab.61.1373173716417; Sat, 06 Jul 2013 22:08:36 -0700 (PDT) Original-Received: from hongxuchen-VM.STAP ([167.220.232.198]) by mx.google.com with ESMTPSA id fp2sm15317168pbb.36.2013.07.06.22.08.34 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 06 Jul 2013 22:08:35 -0700 (PDT) In-Reply-To: <87a9lzvxxk.fsf@xc.laptop> (XeCycle@gmail.com's message of "Sun, 07 Jul 2013 11:41:43 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91998 Archived-At: XeCycle writes: > augustinus writes: > >> Hi guys: >> I get a problem when i use the built-in cedet to write C++ code. It is >> that cedet can not complete the standard C++ class such as string and >> vector ... But cedet can complete the classes defined by me.And there is >> no data in the semanticdb directory about C++ standard headers, I think >> it cases the problem but I don't know what to do to make it work! >> Here is my cedet setting: > > If you use CEDET only for its completion, throw it away. > Definitely. Although cedet is really amazing, it sucks most of the time, especially for C++. Apart from code completion, I don't think speedbar is really helpful: either inaccurate(default) or unintuitive(with semantics). in this sense I do miss the `tagbar' plugin in Vim(although it still lacks enough support for C++). > Use clang-based completion packages. Those are slightly easier > to setup, and significantly faster. -- Regards, Hongxu Chen