From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: Bug: Capture prepend checkbox doesn't handle scheduled [9.2.3 (9.2.3-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20190402/)] Date: Mon, 8 Apr 2019 17:30:21 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDeeu-0005lu-JF for emacs-orgmode@gnu.org; Mon, 08 Apr 2019 20:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDeet-00052t-JF for emacs-orgmode@gnu.org; Mon, 08 Apr 2019 20:30:40 -0400 Received: from mail-it1-x12c.google.com ([2607:f8b0:4864:20::12c]:50750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hDeeq-0004xP-UY for emacs-orgmode@gnu.org; Mon, 08 Apr 2019 20:30:37 -0400 Received: by mail-it1-x12c.google.com with SMTP id q14so2191103itk.0 for ; Mon, 08 Apr 2019 17:30:33 -0700 (PDT) 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: Org Mode List Make file /tmp/tmp.org containing: * TODO Foo SCHEDULED: <2019-04-08 Mon> 1. emacs -Q 2. Eval (add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-plus-contrib-20190402/")) (setq org-capture-templates '(("c" "Capture" checkitem (file+headline "/tmp/tmp.org" "Foo") "" :prepend t))) 3. M-x org-capture RET c 4. foo C-c C-c Contents of tmp.org: * TODO Foo - [ ] foo SCHEDULED: <2019-04-08 Mon> Expected: * TODO Foo SCHEDULED: <2019-04-08 Mon> - [ ] foo prepend checkitem should also skip any property drawer in addition to the planning line. This bug does not happen if the headline already contains a checkbox list item. I cannot reproduce this with the Org mode that ships with Emacs, so it's probably a regression? Emacs : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.24), modified by Debian Package: Org mode version 9.2.3 (9.2.3-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20190402/)