emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Albin Stjerna <albin.stjerna@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Non-scheduled repeating tasks
Date: Fri, 23 May 2014 14:15:40 +0200	[thread overview]
Message-ID: <CAH1=AbiYkv67m+vqRKFKAAU6Mti+pXV2JL-z5MJJJLpqpCsp+g@mail.gmail.com> (raw)
In-Reply-To: <87sio1f3df.fsf@bzg.ath.cx>

Thanks! I'll look into that. :)

On 23 May 2014 07:52, Bastien <bzg@gnu.org> wrote:
> Hi Albin,
>
> Albin Stjerna <albin.stjerna@gmail.com> writes:
>
>> 1. Has something like this been attempted by anyone else before?
>
> No -- but there are regular feature requests around making repeaters
> more flexible.  I hope I can enhance this for 8.4 (or 9.0.)
>
>> 2. Which org-mode hooks would be a good place to start integrating
>> something that would both potentially block TODO transitions and have
>> to read/write properties and/or special drawers in org-mode?
>
> You can cook something from `org-after-todo-state-change-hook'.
>
> Put the repeat value in a property, decrease it each time a task is
> done until the repeater value is 0.  Displaying the repeater value can
> be done in column mode.
>
> That's for the first part of this feature -- the one with blocking
> TODOs, see `org-blocker-hook' and `org-trigger-hook'.  Not sure it
> will help though.
>
> See also the manual on adding properties (i.e. `org-entry-put') and
> hacking Org in general.
>
> HTH,
>
> --
>  Bastien

      reply	other threads:[~2014-05-23 12:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 13:52 Non-scheduled repeating tasks Albin Stjerna
2014-05-07 13:56 ` Detlef Steuer
2014-05-23  5:52 ` Bastien
2014-05-23 12:15   ` Albin Stjerna [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='CAH1=AbiYkv67m+vqRKFKAAU6Mti+pXV2JL-z5MJJJLpqpCsp+g@mail.gmail.com' \
    --to=albin.stjerna@gmail.com \
    --cc=bzg@gnu.org \
    --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 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).