From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jacob Gerlach Newsgroups: gmane.emacs.help Subject: Semantic completion of C++ class members Date: Thu, 1 May 2014 09:06:42 -0700 (PDT) Message-ID: <86bef26e-2d5a-458d-8443-c8ce1fe174d5@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1398960622 14963 80.91.229.3 (1 May 2014 16:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 May 2014 16:10:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 01 18:10:20 2014 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 1WftYy-0004Qm-As for geh-help-gnu-emacs@m.gmane.org; Thu, 01 May 2014 18:10:20 +0200 Original-Received: from localhost ([::1]:40606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WftYx-0005if-ST for geh-help-gnu-emacs@m.gmane.org; Thu, 01 May 2014 12:10:19 -0400 X-Received: by 10.58.7.134 with SMTP id j6mr6154552vea.29.1398960403106; Thu, 01 May 2014 09:06:43 -0700 (PDT) X-Received: by 10.140.49.70 with SMTP id p64mr20208qga.21.1398960403046; Thu, 01 May 2014 09:06:43 -0700 (PDT) Original-Path: usenet.stanford.edu!ih12no1410314qab.1!news-out.google.com!dz10ni27706qab.1!nntp.google.com!s7no372664qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=18.111.19.41; posting-account=Hx-_8AoAAACyMXgs4MCS3wNERNLct_lk Original-NNTP-Posting-Host: 18.111.19.41 User-Agent: G2/1.0 Injection-Date: Thu, 01 May 2014 16:06:43 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:205259 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:97526 Archived-At: My understanding of semantic mode is that it should offer completions based on class definitions. For example, given MyClass A; A.-|- C-c , should offer the member functions of MyClass as completions. I have opened MyClass.h and MyClass.cpp to make sure that semantic has parsed them, but attempting semantic-complete-analyze-inline returns "Cannot find types for `MyClass A' Am I misunderstanding the process to get this type of completion? Alternatively, I have not tried to use anything like CEDET, so if a better solution is "just use CEDET" (or whatever else), I'm open to anything.