From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Marchand Newsgroups: gmane.emacs.bugs Subject: bug#6231: ede-cpp-root-projects spp table is not taken into account by semantic in cedet Date: Wed, 26 May 2010 19:50:21 +0200 Message-ID: <20100526175021.GA10248@loria.fr> References: <20100520140330.GD13702@loria.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yRA+Bmk8aPhU85Qt" X-Trace: dough.gmane.org 1274897025 24361 80.91.229.12 (26 May 2010 18:03:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 May 2010 18:03:45 +0000 (UTC) To: 6231@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 26 20:03:43 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OHKxA-0005x6-J0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 May 2010 20:03:41 +0200 Original-Received: from localhost ([127.0.0.1]:45703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHKx9-0000M1-2s for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 May 2010 14:03:39 -0400 Original-Received: from [140.186.70.92] (port=42620 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHKw9-00087A-Pd for bug-gnu-emacs@gnu.org; Wed, 26 May 2010 14:02:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHKr3-00010n-Nt for bug-gnu-emacs@gnu.org; Wed, 26 May 2010 13:57:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48315) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHKr3-00010R-Lw for bug-gnu-emacs@gnu.org; Wed, 26 May 2010 13:57:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OHKj0-0001RQ-B0; Wed, 26 May 2010 13:49:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20100520140330.GD13702@loria.fr> Resent-From: Jonathan Marchand Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 May 2010 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6231-submit@debbugs.gnu.org id=B6231.12748961245532 (code B ref 6231); Wed, 26 May 2010 17:49:02 +0000 Original-Received: (at 6231) by debbugs.gnu.org; 26 May 2010 17:48:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHKih-0001RB-8y for submit@debbugs.gnu.org; Wed, 26 May 2010 13:48:43 -0400 Original-Received: from mail-ww0-f44.google.com ([74.125.82.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHKid-0001R6-Og for 6231@debbugs.gnu.org; Wed, 26 May 2010 13:48:41 -0400 Original-Received: by wwa36 with SMTP id 36so534670wwa.3 for <6231@debbugs.gnu.org>; Wed, 26 May 2010 10:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:x-face :user-agent; bh=ee5kHlkwOqBQe8b7CI7q3y96GSCpsdxtIB3FssF+KH0=; b=GpG7CXEzasxP2lR+fiZUhvycpbcGmBfflxE3/aYJ/t69AfW09TkwoMjwnHDyBZAdkE 5D/cprpMp2ldib3c2iwnktPw+7HqfXdtxVVEnOayGu+HHTXAeuvnA4+goQsWjLsnKbBy tWTByh5P/6xm6qlHUvmJcBFBCK9ovHcmcg6Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-face:user-agent; b=xsV8MyGKC4tO6pviFpovRBkAtw7XR5dRX9jb1gKoMUWddJWVpX360vyO3P25VNBV2v hYeUB8wuE0esjcR21H1qn71daHbYiNLOB+HsXYrKGyI37/NGHTPK0kQGjnw3VYcAVrpZ bixA3Q2KkmRBJ2n/CzqTMmSSWPKaex5Cj1xog= Original-Received: by 10.227.143.66 with SMTP id t2mr8618308wbu.116.1274896114741; Wed, 26 May 2010 10:48:34 -0700 (PDT) Original-Received: from loria.fr ([152.81.12.16]) by mx.google.com with ESMTPS id u36sm2085150wbv.0.2010.05.26.10.48.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 26 May 2010 10:48:33 -0700 (PDT) Content-Disposition: inline X-Face: $E+9I)Z6dz:'fsF<%3HN; Aay8\o ^e1`Z0Wea`jUjo2z0v,+VB9NJX@^tk^CKp*r{qgNl)-; \ILRfs7_rwa}WP5/PcDJ User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 26 May 2010 13:49:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37305 Archived-At: --yRA+Bmk8aPhU85Qt Content-Type: multipart/mixed; boundary="OZkY3AIuv2LYvjdk" Content-Disposition: inline --OZkY3AIuv2LYvjdk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline After some more striving to make it work, I find that the misfunction was my deed for the second part. The only bug is what I've reported in the first part, ie, the mis-translation from original cedet to the emacs build one. I provide a awesome patch to fix this bug (I've firstly check the bazaar rep to make it sure this was not already solved, but the bug is still on). Please fix this bug, so that people can finally use cedet with c-cpp project. Regards, Jonathan Marchand --OZkY3AIuv2LYvjdk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-cedet === modified file 'lisp/cedet/ede/cpp-root.el' --- lisp/cedet/ede/cpp-root.el 2010-01-16 02:51:50 +0000 +++ lisp/cedet/ede/cpp-root.el 2010-05-26 15:44:32 +0000 @@ -467,7 +467,7 @@ "Set variables local to PROJECT in BUFFER. Also set up the lexical preprocessor map." (call-next-method) - (when (and (featurep 'semantic/c) (featurep 'semantic/lex-spp)) + (when (and (featurep 'semantic/bovine/c) (featurep 'semantic/lex-spp)) (setq semantic-lex-spp-project-macro-symbol-obarray (semantic-lex-make-spp-table (oref project spp-table))) )) --OZkY3AIuv2LYvjdk-- --yRA+Bmk8aPhU85Qt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkv9X10ACgkQuiLBEP1tB4rULACdHlVHZFBwLeMr3cZrqCIjhlvg bWAAnRMsidmlNXqq+nlwYaZK1Kikc3yE =dg8u -----END PGP SIGNATURE----- --yRA+Bmk8aPhU85Qt--