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: Sat, 31 Dec 2011 07:05:11 +0000 Message-ID: References: <4EFCE3A1.7030302@siege-engine.com> <87hb0i9zxt.fsf@engster.org> <878vlu9ss2.fsf@engster.org> <87r4zm80kf.fsf@engster.org> <87mxa9963m.fsf@engster.org> <87fwg18zub.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec54696297537c704b55df8e4 X-Trace: dough.gmane.org 1325315124 13949 80.91.229.12 (31 Dec 2011 07:05:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2011 07:05:24 +0000 (UTC) To: "Eric M. Ludlam" , emacs-devel@gnu.org, Vyacheslav Gonakhchyan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 31 08:05:19 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 1Rgt0I-0002XW-8Z for ged-emacs-devel@m.gmane.org; Sat, 31 Dec 2011 08:05:18 +0100 Original-Received: from localhost ([::1]:54032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgt0H-00017Z-LV for ged-emacs-devel@m.gmane.org; Sat, 31 Dec 2011 02:05:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgt0E-00017T-FV for emacs-devel@gnu.org; Sat, 31 Dec 2011 02:05:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rgt0D-00082v-6E for emacs-devel@gnu.org; Sat, 31 Dec 2011 02:05:14 -0500 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:48202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgt0D-00082o-0D for emacs-devel@gnu.org; Sat, 31 Dec 2011 02:05:13 -0500 Original-Received: by dakl33 with SMTP id l33so11458599dak.0 for ; Fri, 30 Dec 2011 23:05:11 -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=9gDYY0NKTweTqeNQtPHWzKnfu+neeoFQ9zBiUYJBhpg=; b=nKOhFheOfi/xB6Q2oQ1ZU5F8LNgUsajvoFBMVhyw4zTRQw02efNhJD74CQuhfgc/Ax +cG2B+xTxx2kgoDbWoluIj3TfKAfU2Dz2TiZBD/bnoFGzBELvdB33TADhMS4Y28yZYzD QvZCdz4YYEAJX7rUvtBOWZNzdiUrf6IWiSay4= Original-Received: by 10.68.73.8 with SMTP id h8mr78306858pbv.109.1325315111859; Fri, 30 Dec 2011 23:05:11 -0800 (PST) Original-Received: by 10.68.71.230 with HTTP; Fri, 30 Dec 2011 23:05:11 -0800 (PST) In-Reply-To: <87fwg18zub.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:147073 Archived-At: --bcaec54696297537c704b55df8e4 Content-Type: text/plain; charset=ISO-8859-1 I suppose semantic-c-reset-preprocessor-symbol-map hook(in bovine/c.el) is removed before I change semantic-lex-c-preprocessor-symbol-file. On Fri, Dec 30, 2011 at 10:22 PM, David Engster wrote: > Vyacheslav Gonakhchyan writes: > > It seems that requiring 'semantic/bovine/c too early fills > > semantic-lex-c-preprocessor- > > symbol-map with initial values. So it's not working that way. > > Loading semantic/bovine/c is supposed to do that (it has some builtin > symbols and also adds those from c++config and sys/cdefs.h). However, > you should still be able to add further files without problems. If that > doesn't work, it's a bug. > > -David > --bcaec54696297537c704b55df8e4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I suppose semantic-c-reset-preprocessor-symbol-map hook(in bovine/c.el) is = removed before I change semantic-lex-c-preprocessor-symbol-file.

On Fri, Dec 30, 2011 at 10:22 PM, David Engster <deng@randomsamp= le.de> wrote:
Vyacheslav Gonakhchyan wri= tes:
> It seems that requiring 'semantic/bovine/c too early fills
> semantic-lex-c-preprocessor-
> symbol-map with initial values. So it's not working that way.

Loading semantic/bovine/c is supposed to do that (it has some builtin=
symbols and also adds those from c++config and sys/cdefs.h). However,
you should still be able to add further files without problems. If that
doesn't work, it's a bug.

-David

--bcaec54696297537c704b55df8e4--