From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: CEDET merge Date: Sun, 07 Oct 2012 22:50:11 +0200 Message-ID: <87k3v280sc.fsf@engster.org> References: <87fw6izq6z.fsf@gnu.org> <87obl6c7dj.fsf@engster.org> <87bogsedna.fsf_-_@engster.org> <87626vd380.fsf@engster.org> <87k3v6c9tf.fsf@engster.org> <871uhbrgob.fsf@gnu.org> <87lifjbzx3.fsf@engster.org> <87ipany8zi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349643023 23666 80.91.229.3 (7 Oct 2012 20:50:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 20:50:23 +0000 (UTC) Cc: "Eric M. Ludlam" , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 22:50:29 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TKxnv-0006v0-4Q for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 22:50:27 +0200 Original-Received: from localhost ([::1]:51087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKxnp-00061z-4T for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 16:50:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKxnl-00061u-Sp for emacs-devel@gnu.org; Sun, 07 Oct 2012 16:50:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKxnk-0004rM-OU for emacs-devel@gnu.org; Sun, 07 Oct 2012 16:50:17 -0400 Original-Received: from randomsample.de ([83.169.19.17]:41616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKxnk-0004pu-Bd; Sun, 07 Oct 2012 16:50:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=zGrYAgKkqAeL55v2eyxzc8Se/G75eE0xF4xewCfe1pQ=; b=Dnzux7P9w4/jtdJ5J4iKSXoX0tdRVVJ6ORkGW0xRtFAuvuhWH/rlna7Ni9KOW6AH02LZb1LFfdHAKp9padlnE+rJXcYvkpv7+GPknZ0y31dPIa2qs/Qx776kwPzTbr+L; Original-Received: from dslc-082-083-033-051.pools.arcor-ip.net ([82.83.33.51] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TKxnh-00069Q-0t; Sun, 07 Oct 2012 22:50:13 +0200 In-Reply-To: <87ipany8zi.fsf@gnu.org> (Chong Yidong's message of "Sat, 06 Oct 2012 22:24:01 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Mail-Followup-To: Chong Yidong , emacs-devel@gnu.org, "Eric M. Ludlam" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 83.169.19.17 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:154206 Archived-At: Chong Yidong writes: > David Engster writes: > >> wisent-grammar.el would be renamed to lisp/cedet/semantic/wisent/grammar.el >> bovine-grammar.el to lisp/cedet/semantic/bovine/grammar.el > > Done, and the appropriate provide statements and autoload cookies added. Thanks. I forgot one thing: For generating a parser, Semantic must be enabled. That means, if a user just loads a grammar and hits C-c C-c without Semantic being enabled, he'll get a "bad input grammar" error. We have actually the same problem with Srecode templates (see Bug #9968). I think it is clearly not a good idea to simply enable Semantic globally in this case. Instead, we could enable it only for the current buffer by putting (unless semantic-mode (require 'semantic) (semantic-new-buffer-fcn)) into bovine/wisent-grammar-mode and srecode-template-mode. I think this should always work. Eric, please correct me if I'm wrong. >> I guess the functions `wisent-make-parsers' and `bovine-make-parsers' >> and the variables they need could be put in a new file which stays in >> admin/grammars, since you've added them specifically for the parser >> generation in Emacs trunk. > > I think we can leave them in those files for now, until we fix the build > system to generate the parsers during the Emacs build process. OK. > By the way, could you or Eric kindly write up a NEWS entry briefly > describing the major changes to CEDET since CEDET-1.0 / Emacs-24.2? Sure. We have a NEWS file for the CEDET 1.1 release, so we just have to extract the relevant portions from there. -David