emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Lawrence Mitchell <wence@gmx.li>
Cc: emacs-orgmode@gnu.org,
	"Sébastien Vauban"
	"Luke Crook" <luke@balooga.com>
Subject: Re: [PATCH] Support modifiers in effort durations
Date: Sun, 06 Mar 2011 18:47:41 +0100	[thread overview]
Message-ID: <871v2kp2de.fsf@gnu.org> (raw)
In-Reply-To: <m3tyfo1j16.fsf@e4300lm.epcc.ed.ac.uk> (Lawrence Mitchell's message of "Mon, 28 Feb 2011 11:43:33 +0000")

Hi Lawrence,

Lawrence Mitchell <wence@gmx.li> writes:

> Here's a cleaned up patch that allows user-specified modifiers
> for effort strings.  The new variable `org-effort-durations'
> lists modifiers, and their mapping to minutes (words, as well as
> single-letter modifiers, are supported).  

Thanks a lot for this patch -- I've now applied it.  I've just changed
the way the regular expression is computed, I find rx-to-string a bit
confusing (surely a matter of taste).

> The default value is:
> (("h" . 60)
>  ("d" . 480) ; 8 hours
>  ("w" . 2400) ; five days
>  ("m" . 9600) ; 4 weeks
>  ("y" . 96000)) ; 40 weeks

I agree this make sense.

Thanks again,


      parent reply	other threads:[~2011-03-06 17:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 19:47 Does Effort support hours only? Luke Crook
2011-02-18  9:02 ` Bastien
2011-02-18  9:48   ` Sébastien Vauban
2011-02-18 10:51     ` Lawrence Mitchell
2011-02-18 22:40       ` Herbert Sitz
2011-02-21  9:47         ` Lawrence Mitchell
2011-02-28 11:43 ` [PATCH] Support modifiers in effort durations (was: Re: Does Effort support hours only?) Lawrence Mitchell
2011-03-06 17:45   ` [Accepted] [O] " Bastien Guerry
2011-03-06 17:47   ` Bastien [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:

  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=871v2kp2de.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=luke@balooga.com \
    --cc=public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@lo.gmane.org \
    --cc=wence@gmx.li \


* 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


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).