From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Funny bug with org-get-heading Date: Mon, 5 Dec 2016 15:51:32 +0100 Message-ID: References: <8760mypkfz.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1a17b2a80d520542ea6d53 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDucV-0007Pk-Ve for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 09:52:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDucV-0000ff-5g for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 09:51:55 -0500 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:36411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDucU-0000fB-Ty for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 09:51:55 -0500 Received: by mail-lf0-x22b.google.com with SMTP id t196so224120717lff.3 for ; Mon, 05 Dec 2016 06:51:54 -0800 (PST) In-Reply-To: <8760mypkfz.fsf@mbork.pl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Marcin Borkowski Cc: Org-Mode mailing list --94eb2c1a17b2a80d520542ea6d53 Content-Type: text/plain; charset=UTF-8 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 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 > > --94eb2c1a17b2a80d520542ea6d53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Martin,

I am not able to reproduce t= his 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").=C2=A0 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.=C2=A0 How meta! ;-)

Best,

--
Marcin Borkowski


--94eb2c1a17b2a80d520542ea6d53--