Hi Martin,

I am not able to reproduce this with Org 9.0.1.

Carsten

On Mon, Dec 5, 2016 at 2:36 PM, Marcin Borkowski <mbork@mbork.pl> wrote:
Hi all,

try this: put point at a line saying

--8<---------------cut here---------------start------------->8---
* todo lists
--8<---------------cut here---------------end--------------->8---

and do M-: (org-get-heading t t)

It will strip the "todo" (even though it should only strip "TODO").  It
seems that a (let ((case-fold-search nil)) ...) is missing somewhere
(manually setting case-fold-search to nil made org-get-heading behave
properly).

BTW, I discovered it when clocking an Org task about cleaning up my Org
tasks.  How meta! ;-)

Best,

--
Marcin Borkowski