emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Adrian Bradd <adrian.bradd@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property
Date: Sun, 10 Dec 2017 22:53:22 +0100	[thread overview]
Message-ID: <87vaheqmgd.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAMYmr8xT3D5G9zOO=ZMi-aLjAd+fwfvU6CUGttXRPUDKoX5-uA@mail.gmail.com> (Adrian Bradd's message of "Sun, 10 Dec 2017 16:25:35 -0500")

Hello,

Adrian Bradd <adrian.bradd@gmail.com> writes:

> Please see the patch attached.
>
> When completing a TODO with a TRIGGER property that has statistics in the
> parent headline the trigger would not evaluate because the :position
> property in `change-plist' may now refer to the line above the original
> TODO.
>
> I have used a marker to avoid the issue with the point moving due to the
> addition of characters
> ​ in the parent headline​
> . Not sure if this is the best way to solve the problem.

IIUC, point is moved between `startpos' and `change-plist' bindings? Do
you know when that happens? Would you have an ECM for the issue?

Thank you.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-12-10 21:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10 21:25 BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property Adrian Bradd
2017-12-10 21:53 ` Nicolas Goaziou [this message]
2017-12-10 22:50   ` Adrian Bradd
2017-12-10 22:51     ` Adrian Bradd
2017-12-26  3:55       ` Adrian Bradd
2017-12-27 22:59         ` Nicolas Goaziou

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=87vaheqmgd.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=adrian.bradd@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 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).