[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: imenu and eldoc breadcrumb false-positive match non-upperca
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords |
Date: |
Wed, 01 Jun 2016 00:46:16 +0200 |
Hello,
Georgiy Tugai <address@hidden> 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