emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org, Thomas Alexander Gerds <tag@biostat.ku.dk>
Subject: Re: can babel results show time of evaluation?
Date: Thu, 31 Jan 2013 11:22:21 +0100	[thread overview]
Message-ID: <87a9rpobkx.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87pq0mz8rk.fsf@gmail.com> (Eric Schulte's message of "Wed, 30 Jan 2013 14:00:15 -0700")

Hi Eric,

Eric Schulte <schulte.eric@gmail.com> 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

  parent reply	other threads:[~2013-01-31 11:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28  8:57 can babel results show time of evaluation? Thomas Alexander Gerds
2013-01-30 10:56 ` Bastien
2013-01-30 12:26   ` Thomas Alexander Gerds
2013-01-30 17:09     ` Eric Schulte
2013-01-30 17:26       ` Bastien
2013-01-30 17:54       ` Bastien
2013-01-30 18:38         ` Thomas Alexander Gerds
2013-01-30 21:00         ` Eric Schulte
2013-01-30 21:13           ` Achim Gratz
2013-01-31 11:05             ` Bastien
2013-01-31 10:22           ` Bastien [this message]
2013-01-30 19:22       ` Nicolas Goaziou
2013-01-30 20:58         ` Eric Schulte
2013-01-30 21:21           ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9rpobkx.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    --cc=tag@biostat.ku.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).