From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords Date: Wed, 01 Jun 2016 00:46:16 +0200 Message-ID: <87y46pkfrb.fsf@saiph.selenimh> References: <20160531095049.GD17643@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7sQg-0000Q4-Hq for emacs-orgmode@gnu.org; Tue, 31 May 2016 18:46:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7sQb-0008Mt-K0 for emacs-orgmode@gnu.org; Tue, 31 May 2016 18:46:29 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:45643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7sQb-0008MU-DW for emacs-orgmode@gnu.org; Tue, 31 May 2016 18:46:25 -0400 Received: from saiph.selenimh (unknown [IPv6:2a03:a0a0:0:4301::b3c]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 4442BA80BF for ; Wed, 1 Jun 2016 00:46:23 +0200 (CEST) In-Reply-To: <20160531095049.GD17643@gmail.com> (Georgiy Tugai's message of "Tue, 31 May 2016 19:20:49 +0930") 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: emacs-orgmode@gnu.org Hello, Georgiy Tugai writes: > Steps to reproduce > ================== > > 1) Org file with at least one first-level heading containing a TODO > keyword, with at least one of it's letters lowercased. > > 2) Rescan imenu, look at it's contents > > 3) Put point on the heading with lowercased TODO keyword, look at the > eldoc breadcrumb > > > Expected behaviour > ================== > > In a manner consistent with the rest of Org (font-locking, C-c C-t, > etc.), TODO keywords which are not all uppercase are treated as normal > text. > > If the heading is "* Todo list", imenu should show "Todo.list" and the > eldoc breadcrumb should show "Todo list". > > > Actual behaviour > ================ > > Imenu shows "list", eldoc breadcrumb shows "list" -- as if "Todo" is a > TODO keyword, even though it is not font-locked as such, or treated as > a keyword by other parts of Org (such as the agenda). Fixed (at least for imenu). Thank you. Regards, -- Nicolas Goaziou