From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: CEDET merge Date: Sat, 03 Oct 2009 09:07:41 -0400 Message-ID: <1254575261.6961.23.camel@projectile.siege-engine.com> References: <87hbun9jbs.fsf@stupidchicken.com> <1254397096.16450.84.camel@projectile.siege-engine.com> Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254575377 14704 80.91.229.12 (3 Oct 2009 13:09:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2009 13:09:37 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 03 15:09:29 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mu4Ma-0000gH-Ts for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2009 15:09:29 +0200 Original-Received: from localhost ([127.0.0.1]:40520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mu4Ma-0007mU-62 for ged-emacs-devel@m.gmane.org; Sat, 03 Oct 2009 09:09:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mu4MQ-0007ij-G7 for emacs-devel@gnu.org; Sat, 03 Oct 2009 09:09:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mu4MO-0007f2-2s for emacs-devel@gnu.org; Sat, 03 Oct 2009 09:09:16 -0400 Original-Received: from [199.232.76.173] (port=57479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mu4MN-0007eW-S0 for emacs-devel@gnu.org; Sat, 03 Oct 2009 09:09:15 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:43456 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mu4MM-0003Fh-SJ for emacs-devel@gnu.org; Sat, 03 Oct 2009 09:09:15 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n93D7g8Q032171; Sat, 3 Oct 2009 09:07:42 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n93D7fHi032170; Sat, 3 Oct 2009 09:07:41 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115882 Archived-At: On Thu, 2009-10-01 at 18:28 +0200, Sascha Wilde wrote: > Sascha Wilde wrote: > > "Eric M. Ludlam" wrote: > >> On Thu, 2009-10-01 at 12:58 +0200, Sascha Wilde wrote: > >>> Sascha Wilde wrote: > >>> > - But after that fix compiling still fails. Now with: > >>> > eieio-generic-call-primary-only: Method srecode-template-get-table called on nil > [...] > >> Short term, you could get the templates from CEDET CVS in > >> cedet/srecode/templates and cedet/ede/templates and place them in > >> equivalent locations just under srecode.el and ede.el to get past this > >> until there is a home for SRecode Templates in Emacs. > > > > I'll give it a try... > > hmm, didn't work -- or maybe I haven't fully understood what to do. > Here is what I tried: > - I checked out the current cedet head from CVS > - I copied the directory cedet/ede/templates to > /usr/share/emacs/23.1.50/lisp/cedet/ede/templates and > cedet/srecode/templates to > /usr/share/emacs/23.1.50/lisp/cedet/srecode/templates > > That didn't work, so I tried puting all *.srt files from > cedet/ede/templates directly under > /usr/share/emacs/23.1.50/lisp/cedet/ede/ (and same for > /usr/share/emacs/23.1.50/lisp/cedet/srecode/) but this didn't work > either.... > I must apologize for not actually trying out the Emacs integration. It is pumpkin throwing season which keeps me busy. (see www.punkinchunkin.com for the sport, or www.siege-engine.com for my team.) Anyway, the template directory is set up like this for EDE: (let* ((lib (locate-library "ede.el" t)) (ededir (file-name-directory lib)) (tmpdir (file-name-as-directory (expand-file-name "templates" ededir)))) (when (not tmpdir) (error "Unable to location EDE Templates directory")) (require 'srecode-map) (add-to-list 'srecode-map-load-path tmpdir) (srecode-map-update-map t) but you could just do this in your basic setup by specifying a load path for srecode directly, as in the code above reveals. Eric