From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: can babel results show time of evaluation? Date: Wed, 30 Jan 2013 14:00:15 -0700 Message-ID: <87pq0mz8rk.fsf@gmail.com> References: <87haly2aag.fsf@bzg.ath.cx> <87libawqb4.fsf@gmail.com> <877gmulfp6.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0em5-0000yK-CG for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 16:00:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0elx-0002rL-7Y for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 16:00:53 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:57904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0elw-0002qm-VN for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 16:00:45 -0500 Received: by mail-pa0-f54.google.com with SMTP id bi5so1311623pad.41 for ; Wed, 30 Jan 2013 13:00:44 -0800 (PST) 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: emacs-orgmode@gnu.org, Thomas Alexander Gerds Bastien writes: > Hi Eric, > > Eric Schulte writes: > >> I've just pushed this functionality up to the main branch. To make use >> of it add the following to your Emacs config. >> >> (setq org-babel-hash-show-time t) > > Well, the patch breaks master, because of (defvar org-ts-regexp). > Oh, my apologies. So this is a defconst not a defvar. > > Can you fix this? > As a temporary fix, I put the full defconst invocation into ob-core.el, but this can't be the best solution. 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)? Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte