* Funny bug with org-get-heading
@ 2016-12-05 13:36 Marcin Borkowski
2016-12-05 14:51 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2016-12-05 13:36 UTC (permalink / raw
To: Org-Mode mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Funny bug with org-get-heading
2016-12-05 13:36 Funny bug with org-get-heading Marcin Borkowski
@ 2016-12-05 14:51 ` Carsten Dominik
2016-12-05 18:23 ` Marcin Borkowski
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2016-12-05 14:51 UTC (permalink / raw
To: Marcin Borkowski; +Cc: Org-Mode mailing list
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
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
>
>
[-- Attachment #2: Type: text/html, Size: 1270 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-12-05 18:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-05 13:36 Funny bug with org-get-heading Marcin Borkowski
2016-12-05 14:51 ` Carsten Dominik
2016-12-05 18:23 ` Marcin Borkowski
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.