emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Nicolas Goaziou <n.goaziou@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 13:58:50 -0700	[thread overview]
Message-ID: <87wquuz8tx.fsf@gmail.com> (raw)
In-Reply-To: <87libao4r1.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 30 Jan 2013 20:22:26 +0100")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Eric Schulte <schulte.eric@gmail.com> 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)
>>
>> It works for me in some simple tests, and I can confirm that with this
>> variable set to nil, I get no new failures in the Org-mode test suite,
>> so it shouldn't introduce any problems.
>
> Well, it breaks the parser, somehow. Indeed, it expects from an
> affiliated keyword such as #+results: (or #+caption for that matter) to
> have only one secondary value. Sexp representation of these keywords is
> already very complicated, it will not help to add values ad nauseum.
>
> Also, if you use Org time-stamp syntax, at some point, someone will ask
> the parser to be able to parse it. And it won't.
>
> Eventually, it doesn't help to have hash syntax match Org links. This is
> confusing.
>
> Therefore, if this feature really has to be introduced, I suggest, at
> the very least, to avoid using Org regular syntax for the reference to
> time. It would also help to blur distinction between the time and the
> hash string. Perhaps something like the following:
>
>   #+results[2013-01-30T20:15:37 hash-string]: name
>
> Thank you.
>

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

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?

>
>
> Regards,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-01-30 20:59 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 [this message]
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=87wquuz8tx.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).