From: Allen Li <darkfeline@felesatra.moe>
To: Org Mode List <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <CADbSrJw2fqQrrYaS2RaifrRShwpwEURPKpKtjHC4ZNnsobs-sg@mail.gmail.com> (raw)
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/)
next reply other threads:[~2019-04-09 0:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 0:30 Allen Li [this message]
2019-04-09 7:25 ` Bug: Capture prepend checkbox doesn't handle scheduled [9.2.3 (9.2.3-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20190402/)] 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=CADbSrJw2fqQrrYaS2RaifrRShwpwEURPKpKtjHC4ZNnsobs-sg@mail.gmail.com \
--to=darkfeline@felesatra.moe \
--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).