emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Bastien <bzg@altern.org>,
	emacs-orgmode@gnu.org, Thomas Alexander Gerds <tag@biostat.ku.dk>
Subject: Re: can babel results show time of evaluation?
Date: Wed, 30 Jan 2013 22:21:35 +0100	[thread overview]
Message-ID: <87622enz8g.fsf@gmail.com> (raw)
In-Reply-To: <87wquuz8tx.fsf@gmail.com> (Eric Schulte's message of "Wed, 30 Jan 2013 13:58:50 -0700")

Eric Schulte <schulte.eric@gmail.com> writes:

> Are there instances aside from "#+results" where one would want to
> pack ancillary information into a keyword?

So far, only #+results and #+caption (for the short caption) are
concerned. See `org-element-dual-keywords' for some more details.

> Perhaps both the hash and the time should be moved *outside* the
> keyword, e.g. something like the following,
>
> #+Results: name time hash
>
> What do you think?

I think the hash string is fine where it is since there's already
a keyword category for such constructs. It's even handy in the case of
captions. It would be better if we don't overload this location, though.

As far as the parser goes, both

    #+results[mix-time-and-hash]: name

and

    #+results[hash]: name time

are fine, as long as time isn't, as already explained, exactly an Org
timestamp. The latter is perhaps more elegant. I guess it depends on how
important the time information is. Anyway, use whichever suits you.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-01-30 21:22 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
2013-01-30 19:22       ` Nicolas Goaziou
2013-01-30 20:58         ` Eric Schulte
2013-01-30 21:21           ` Nicolas Goaziou [this message]

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=87622enz8g.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=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).