From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: can babel results show time of evaluation? Date: Thu, 31 Jan 2013 11:22:21 +0100 Message-ID: <87a9rpobkx.fsf@bzg.ath.cx> References: <87haly2aag.fsf@bzg.ath.cx> <87libawqb4.fsf@gmail.com> <877gmulfp6.fsf@bzg.ath.cx> <87pq0mz8rk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0rz9-00061K-Vx for emacs-orgmode@gnu.org; Thu, 31 Jan 2013 06:07:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0rz8-0007wQ-Te for emacs-orgmode@gnu.org; Thu, 31 Jan 2013 06:07:15 -0500 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:57095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0rz8-0007wB-NO for emacs-orgmode@gnu.org; Thu, 31 Jan 2013 06:07:14 -0500 Received: by mail-we0-f171.google.com with SMTP id u54so2017268wey.16 for ; Thu, 31 Jan 2013 03:07:14 -0800 (PST) In-Reply-To: <87pq0mz8rk.fsf@gmail.com> (Eric Schulte's message of "Wed, 30 Jan 2013 14:00:15 -0700") 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: Eric Schulte Cc: emacs-orgmode@gnu.org, Thomas Alexander Gerds Hi Eric, Eric Schulte writes: > As a temporary fix, I put the full defconst invocation into ob-core.el, > but this can't be the best solution. Yep, having the same defconst twice... > What's the "best practice" for how to use a defconst defined in an > external file (when you can't require that file because that file > requires you)? To circumvent the dependency problem by having defconst in a separate file that any file can load safely -- since that file will not require any other file. I'm not ready yet to take that road for now, because it requires time and attention. I just hardcoded the regexp in ob-core.el and added a warning. Thanks, -- Bastien