From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: babel perl issue Date: Thu, 13 Dec 2012 17:37:19 -0700 Message-ID: <87hanpa2ps.fsf@gmail.com> References: <87sj7fp7om.fsf@gmail.com> <87wqwrrml2.fsf@Rainer.invalid> <87vcca9bxw.fsf@gmail.com> <87d2yhvm3c.fsf@Rainer.invalid> <87obi193mn.fsf@gmail.com> <87zk1lu53s.fsf@Rainer.invalid> <87zk1kmpyo.fsf@gmail.com> <87r4mwph61.fsf@bzg.ath.cx> <87zk1kf2bw.fsf@gmail.com> <8762472rg8.fsf@bzg.ath.cx> <874njrdzdg.fsf@gmail.com> <87ip871bog.fsf@bzg.ath.cx> <87obhzcjrs.fsf@gmail.com> <87mwxjyzor.fsf@bzg.ath.cx> <87fw3bfb2i.fsf@Rainer.invalid> <87a9tjyyi3.fsf@bzg.ath.cx> <87sj7bb1sh.fsf@gmail.com> <87r4mvxhxe.fsf@bzg.ath.cx> <87txrr9lc8.fsf@gmail.com> <876245ttw5.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjJHY-000822-Dx for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 19:37:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjJHU-0004Y9-6R for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 19:37:40 -0500 Received: from mail-ie0-f169.google.com ([209.85.223.169]:37849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjJHU-0004Y3-14 for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 19:37:36 -0500 Received: by mail-ie0-f169.google.com with SMTP id c14so5195920ieb.0 for ; Thu, 13 Dec 2012 16:37:35 -0800 (PST) In-Reply-To: <876245ttw5.fsf@bzg.ath.cx> (Bastien's message of "Fri, 14 Dec 2012 00:27:38 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Achim Gratz , emacs-orgmode@gnu.org Bastien writes: > Hi Eric, > > Eric Schulte writes: > >> If you can find a cleaner alternative I'll be happy to help you >> apply it. > > Here is a very crude patch for paving the way to a better solution. > This patch doesn't apply for me with "git am" to the HEAD of the repo so I can't test it directly, however, judging from a quick review of the patch and from your diagram I believe it will introduce circular dependencies. The crux of the problem is that all of the core ob files need to require the main ob file, and the main ob file must require all of the core ob files (so they can be required with a single invocation from outside files). Thus, to avoid circular requires, there must be a separate ob and ob-core. One to be required and one to do the requiring. -- Eric Schulte http://cs.unm.edu/~eschulte