From: Richard Riley <rileyrg@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: fractional hours for timestamps?
Date: Mon, 16 Aug 2010 13:28:34 +0200 [thread overview]
Message-ID: <i4b7d5$n5f$1@dough.gmane.org> (raw)
In-Reply-To: A93305E1-813B-4678-9166-0CB380A6832F@gmail.com
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On Aug 13, 2010, at 11:43 AM, Łukasz Stelmach wrote:
>
>> Bastien <bastien.guerry@wikimedia.fr> writes:
>>
>>> Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> writes:
>>>
>>>> I think Greg's point is about entering data using only numeric
>>>> keypad. I
>>>> can confirm that I have considered these issues (esp. 1400
>>>> vs. 14:00). Fractional hours don't seem to be that easy as there are
>>>> countries like Poland where you use comma as decimal point
>>>> (working with
>>>> Emacs' built in calc is a pain) which earns another few lines for
>>>> parsing code.
>>>
>>> AFAIC, I won't mess with this part of the code, I think it's quite
>>> easy
>>> enough to enter 14:00 instead of 1400...
>>
>> Not really in fact if you use keypad. It's not about the number of
>> keystrokes but their layout. Try it.
>
> Hi Lukasz,
>
> the problem with making the parser more general is that it might
> start to interpret years as durations and the other way round.
> You are welcome to submit a patch - but it would have to be a careful
> one.
>
> - Carsten
I'm curious if using the decimal point on the numeric keyboard instead
of the ":" colon would be the simplest solution in time durations too
... e.g 14:00+1,30. (add one hour 30 minutes). But knowing how clever the
parser is that might step on the shoes of other hidden cleverness I am
unaware of.
prev parent reply other threads:[~2010-08-16 11:29 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
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 [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i4b7d5$n5f$1@dough.gmane.org' \
--to=rileyrg@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.