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: Sat, 06 Oct 2012 13:30:48 +0200 Message-ID: <87lifjbzx3.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349523058 8534 80.91.229.3 (6 Oct 2012 11:30:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2012 11:30:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 06 13:31:02 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 1TKSb0-00057I-ML for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2012 13:31:02 +0200 Original-Received: from localhost ([::1]:53498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKSau-000629-RD for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2012 07:30:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKSas-00061D-2O for emacs-devel@gnu.org; Sat, 06 Oct 2012 07:30:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKSaq-0002lG-Vr for emacs-devel@gnu.org; Sat, 06 Oct 2012 07:30:54 -0400 Original-Received: from randomsample.de ([83.169.19.17]:45303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKSaq-0002k3-JA; Sat, 06 Oct 2012 07:30:52 -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=h9yqm/hOsYTYkNnn34kLbW6jNy18YfFPu4uhOd/PMew=; b=SG/AWaD4fG0JDEYbRbjHzTm1N/6xy5p1ofIuAds4X/Lrljc8w9waH5i5DfOyfWYUSZtyaHLcykVI89qwmmVgsAR374pcnmGPrCSl9fozdrozyPHTAoBBn6XadcJCmHuU; Original-Received: from dslc-082-083-058-203.pools.arcor-ip.net ([82.83.58.203] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TKSao-0000JH-4Y; Sat, 06 Oct 2012 13:30:50 +0200 In-Reply-To: <871uhbrgob.fsf@gnu.org> (Chong Yidong's message of "Sat, 06 Oct 2012 19:19:48 +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 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:154120 Archived-At: Chong Yidong writes: > David Engster writes: > >>> I left the grammars and parser generator in admin/grammars for now, but >>> IMO the generator bovine-grammar.el and wisent-grammar.el should >>> eventually be moved to their proper locations underneath lisp/. The main >>> grammar generation is already in lisp/semantic/grammar.el and hence was >>> in Emacs all the time; the two files above are just refinements for the >>> two different grammar styles. >> >> Any chance we can do this for 24.3.? I think this is a frequently >> requested feature. > > Which subdirectory should they go in? wisent-grammar.el would be renamed to lisp/cedet/semantic/wisent/grammar.el bovine-grammar.el to lisp/cedet/semantic/bovine/grammar.el 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 guess all that's left then is to add proper provide statements and autoload cookies to the two above files (for the derived major modes and for the additions to auto-mode-alist). -David