From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: add-hook Date: Sun, 05 Jun 2011 22:26:18 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87pqmtbvk1.fsf@father.nostromo.wy> <87y61h4rfl.fsf@mithlond.arda> <87tyc5bg1q.fsf@father.nostromo.wy> <87d3isw1fl.fsf@father.nostromo.wy> Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307305714 12655 80.91.229.12 (5 Jun 2011 20:28:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 20:28:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 05 22:28:31 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 1QTJvy-0002v6-HY for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jun 2011 22:28:30 +0200 Original-Received: from localhost ([::1]:59935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTJvx-0004zF-C7 for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jun 2011 16:28:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTJui-0004zA-GL for help-gnu-emacs@gnu.org; Sun, 05 Jun 2011 16:27:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTJue-0000pf-Qz for help-gnu-emacs@gnu.org; Sun, 05 Jun 2011 16:27:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTJue-0000pF-L0 for help-gnu-emacs@gnu.org; Sun, 05 Jun 2011 16:27:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QTJud-0002Ol-Kn for help-gnu-emacs@gnu.org; Sun, 05 Jun 2011 22:27:07 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Jun 2011 22:27:07 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Jun 2011 22:27:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:qXLdFVcyDrjlK/Xl1kB2E/A1JBc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:81298 Archived-At: dgiglio@iol.it (daniele.g) writes: > Richard Riley writes: > >> I think I mentioned it before, but auto-complete has an excellent >> completion mechanism which you can share/use across all modes for >> consistency and you can easily set the completion sources to use the >> semantic completion candidates in addition to the more common sources >> like dabbrev. > > Yes, you did. But it seems it doesn't work as it promises. It seems it > autompletes symbols only in a per session way (every time I start > editing a new file it resets all the simbols previously gathered), > and, What gathered symbols does semantic maintain? > what it's worst, its scope is limited on the open buffer, it doesn't > look for in included headers. > > But maybe it's only my emacs that is misconfigured. I suspect it is. As I said, it can use the semantic back end completion sets.