From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Judeau Newsgroups: gmane.emacs.help Subject: Re: Why code completion using CEDET in Emacs so slow? Date: Wed, 12 Oct 2011 20:57:56 -0700 (PDT) Message-ID: <32642812.post@talk.nabble.com> References: <32638310.post@talk.nabble.com> <87zkh6qf7j.fsf@arcor.de> <32640322.post@talk.nabble.com> <87vcruqd7c.fsf@arcor.de> <32640549.post@talk.nabble.com> <87r52iqawh.fsf@arcor.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318478300 17117 80.91.229.12 (13 Oct 2011 03:58:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2011 03:58:20 +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 Oct 13 05:58:13 2011 Return-path: Envelope-to: geh-help-gnu-emacs@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 1RECQu-00073V-VY for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Oct 2011 05:58:13 +0200 Original-Received: from localhost ([::1]:53040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RECQr-0005Kl-8q for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 23:58:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RECQm-0005KT-MX for Help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 23:58:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RECQl-0001Wr-4H for Help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 23:58:04 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:50644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RECQl-0001W5-0X for Help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 23:58:03 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RECQe-0004Ys-5d for Help-gnu-emacs@gnu.org; Wed, 12 Oct 2011 20:57:56 -0700 In-Reply-To: <87r52iqawh.fsf@arcor.de> X-Nabble-From: solidius4747@gmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 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:82540 Archived-At: David Engster wrote: > > I'm afraid I can't see any code there. > > -David > As I said, if you include new file every time, it will have a brief delay when looking up members. If you try to delete .semanticdb (back up it first), and/or try code completion for every new file included. It always takes a brief delay depends on how large the looking up scope. For example: (local-set-key "\C-c>" 'semantic-complete-analyze-inline) When I try to look up symbols in a namespace (such as std:: or boost::) with semantic-complete-analyze-inline using C-c > , or when looking up class members in map, set, boost types..., I always have to wait for a while. Well, I guess I will have to accept this and not to rely to much on code completion then, since it would be slower than I type it manually if the looking up scope is greater medium (for my own classes placed locally in my project, it is enough). Still, using autocomplete.el works better for me. I don't know is there a way to update .semanticdb? It seems to me after the first time scan, if I update the file (such as add more function declarations), it won't rescan and save to update. -- View this message in context: http://old.nabble.com/Why-code-completion-using-CEDET-in-Emacs-so-slow--tp32638310p32642812.html Sent from the Emacs - Help mailing list archive at Nabble.com.