From: Ali Tofigh <alix.tofigh@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Mailinglist emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: refiling tasks and counter cookies
Date: Thu, 5 Jan 2012 12:37:09 -0500 [thread overview]
Message-ID: <CAD=7RJa9QzZd0A3bY_=7QEk+qDLrLvS-R1SoaGXX=wKiqiTaPw@mail.gmail.com> (raw)
In-Reply-To: <87y5tmvzpf.fsf@gnu.org>
thanks for the snippet!
that code solves half the problem: it updates the counter cookie for
the node where the todo item was refiled to, but not for the original
location. I couldn't figure out how to do the second part. any ideas?
/ali
On Thu, Jan 5, 2012 at 12:14, Bastien <bzg@altern.org> wrote:
> Hi Ali,
>
> Ali Tofigh <alix.tofigh@gmail.com> writes:
>
>> when refiling todos (C-c C-w), the counter cookies don't update. is
>> that a known/intended issue?
>
> This should do:
>
> (add-hook
> 'org-after-refile-insert-hook
> 'org-update-parent-todo-statistics)
>
> HTH,
>
> --
> Bastien
next prev parent reply other threads:[~2012-01-05 17:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-05 16:35 refiling tasks and counter cookies Ali Tofigh
2012-01-05 17:14 ` Bastien
2012-01-05 17:37 ` Ali Tofigh [this message]
2012-01-19 23:45 ` Ali Tofigh
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='CAD=7RJa9QzZd0A3bY_=7QEk+qDLrLvS-R1SoaGXX=wKiqiTaPw@mail.gmail.com' \
--to=alix.tofigh@gmail.com \
--cc=bzg@altern.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).