emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords
@ 2016-05-31  9:50 Georgiy Tugai
  2016-05-31 22:46 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Georgiy Tugai @ 2016-05-31  9:50 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.3) of 2016-05-06 on arojas

Org-mode version 8.3.4 (8.3.4-67-g610564-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20160523/)

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).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords
  2016-05-31  9:50 Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords Georgiy Tugai
@ 2016-05-31 22:46 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-05-31 22:46 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Georgiy Tugai <georgiy.tugai@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-31 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-31  9:50 Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords Georgiy Tugai
2016-05-31 22:46 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).