From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property Date: Sun, 10 Dec 2017 22:53:22 +0100 Message-ID: <87vaheqmgd.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO9XN-00032F-Mt for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 16:53:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO9XJ-0005CG-SR for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 16:53:29 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36132) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eO9XJ-0005BI-Lh for emacs-orgmode@gnu.org; Sun, 10 Dec 2017 16:53:25 -0500 In-Reply-To: (Adrian Bradd's message of "Sun, 10 Dec 2017 16:25:35 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adrian Bradd Cc: emacs-orgmode Hello, Adrian Bradd 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 > =E2=80=8B in the parent headline=E2=80=8B > . 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, --=20 Nicolas Goaziou