all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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.