Lewis Baker <lewissba...@gmail.com> writes:

> The problem is that org-find-olp does not set case-fold-search to nil and
> so the regular expression matching performs a case-insensitive match.
> ...
> This should be reproducible by running:
>
> (setq org-capture-templates
>       '(("t" "Do today" entry
>          (file+olp "daily.org" "Today")
>          "* TODO %?")
>         ("m" "Maybe do today" entry
>          (file+olp "daily.org" "Maybe Today")
>          "* TODO %?")))
> (setq org-todo-keywords
>       '((sequence "TODO(t)" "MAYBE(m)" "|" "DONE(d)")))
>
> And then creating a daily.org file that contains the following contents:
> * Today
> * Maybe Today
>
> And then running (org-capture nil "t")

Confirmed.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to