emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Greg Troxel <gdt@ir.bbn.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: fractional hours for timestamps?
Date: Thu, 12 Aug 2010 18:34:59 +0200	[thread overview]
Message-ID: <87bp974wng.fsf@gnu.org> (raw)
In-Reply-To: <rmi39uk6m42.fsf@fnord.ir.bbn.com> (Greg Troxel's message of "Thu, 12 Aug 2010 08:39:41 -0400")

Hi Greg,

Greg Troxel <gdt@ir.bbn.com> writes:

> I tried to set a timestamp "thu 12:00+1.5", using C-c . and typing the
> characters in quotes.  What I got was
> <2010-08-12 Thu 12:00-13:00>
>
> I found that 12:00+1:30 works fine, but it seems like 1.5 should be
> parsed.
>
> Separately, I'd like 24-hour time without colons to work.  "thu 1400"
> seems unambiguous, but just shows up as thursday without a time.
>
> I don't know how hard these are or if there are reasons not to, but I
> thought I'd throw out the idea.

It is certainly harder to make Org's parsing capacity even more elastic
than to let our brains parse this directly :)

12:00+1.5 looks weird to me and computing 1.5->1:30 is straightforward.
Same for 1400->14:00.  

But maybe other people think otherwise...  

-- 
 Bastien

  reply	other threads:[~2010-08-12 16:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-12 12:39 fractional hours for timestamps? Greg Troxel
2010-08-12 16:34 ` Bastien [this message]
2010-08-12 18:22   ` Łukasz Stelmach
2010-08-13  8:28     ` Bastien
2010-08-13  9:43       ` Łukasz Stelmach
2010-08-16 10:38         ` Carsten Dominik
2010-08-16 11:28           ` Richard Riley

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=87bp974wng.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=gdt@ir.bbn.com \
    /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).