From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georgiy Tugai Subject: Bug: imenu and eldoc breadcrumb false-positive match non-uppercase todo keywords Date: Tue, 31 May 2016 19:20:49 +0930 Message-ID: <20160531095049.GD17643@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bajzpZikUji1w+G9" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7gKC-0001nx-Qe for emacs-orgmode@gnu.org; Tue, 31 May 2016 05:51:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7gK8-0004Pn-NA for emacs-orgmode@gnu.org; Tue, 31 May 2016 05:50:59 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:36662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7gK8-0004PW-Fy for emacs-orgmode@gnu.org; Tue, 31 May 2016 05:50:56 -0400 Received: by mail-pf0-x229.google.com with SMTP id f144so60266810pfa.3 for ; Tue, 31 May 2016 02:50:56 -0700 (PDT) Received: from gmail.com ([101.166.208.194]) by smtp.googlemail.com with ESMTPSA id m81sm25619072pfi.51.2016.05.31.02.50.52 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 02:50:53 -0700 (PDT) Content-Disposition: inline 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 --bajzpZikUji1w+G9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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). --bajzpZikUji1w+G9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXTV55AAoJEFTCINVvWbOZ/w4H/1ENC/aToWJLQZL/gdQCkPyj /O/mwT4YsXie0swtpRmmWrgcVQqrDTcygkPZuL5qhCgQR0O/07dltVxmbjqy8/bD 2A9tcFLFk88mtFoB0k0fY17/4JTrq5WQSgUBR8poaFc3AHgJb79XDqR3oEz6wAjd DTSjoeyEpgL1TlxcpA39swGODwhM/OfPbX4I82ZXd17hciOS/ObAEqSU4K3wZv1B OZF/G2DqJ9RGRjXeZypqwLONA9xlFaYffftp30Xp1mobuKDHbsq/a0ay2ZnqU5iG W+8P6hziSKnvBn6fsECbetkz6boGcpwVaFzPChfxrJgXvScWQUmDjL/y5hA5JPs= =eAhO -----END PGP SIGNATURE----- --bajzpZikUji1w+G9--