emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Georgiy Tugai <georgiy.tugai@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords
Date: Tue, 31 May 2016 19:20:49 +0930	[thread overview]
Message-ID: <20160531095049.GD17643@gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2016-05-31  9:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-31  9:50 Georgiy Tugai [this message]
2016-05-31 22:46 ` Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160531095049.GD17643@gmail.com \
    --to=georgiy.tugai@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).