emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Alexander Gerds <tag@biostat.ku.dk>
To: emacs-orgmode@gnu.org
Subject: can babel results show time of evaluation?
Date: Mon, 28 Jan 2013 09:57:24 +0100	[thread overview]
Message-ID: <grb615ehh57ki3.fsf@linuxifsv005.sund.root.ku.dk> (raw)


hi

I would like to overlay the hash info in results lines of this type

#+RESULTS[6e22789c4866716ffb3d0966cbb07c80cacf2d3c]:
[1] 1

by a description which shows the evaluation time, e.g. like this

#+RESULTS[[6e22789c4866716ffb3d0966cbb07c80cacf2d3c][ evaluated 2013-01-28 Mon 09:33]]:

as far as I can see it would require to modify one line in ob-core.el 

(when hash (concat "["hash"]"))

e.g. by some polished version of this hack:

(when hash (concat "[["hash"][" (with-temp-buffer (org-insert-time-stamp (current-time) 'hm)) "]]"))

but, not sure if that is a good idea and what other changes this would require.

best Thomas 

--
sent from Nil

             reply	other threads:[~2013-01-28  8:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28  8:57 Thomas Alexander Gerds [this message]
2013-01-30 10:56 ` can babel results show time of evaluation? 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
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=grb615ehh57ki3.fsf@linuxifsv005.sund.root.ku.dk \
    --to=tag@biostat.ku.dk \
    --cc=emacs-orgmode@gnu.org \
    /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).