From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Kampas Subject: Bug: Broken TODO keywords highlighting after unbalanced quotes/parens [8.3.6 (8.3.6-7-g4d7d52-elpa @ /home/martin/.spacemacs.home/.emacs.d/elpa/org-20161017/)] Date: Thu, 10 Nov 2016 12:14:15 +0100 Message-ID: <3614566.ji7H9Aq2mC@5th> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4nJH-0007pL-EP for emacs-orgmode@gnu.org; Thu, 10 Nov 2016 06:14:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4nJE-0003Xu-70 for emacs-orgmode@gnu.org; Thu, 10 Nov 2016 06:14:23 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:35755) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4nJD-0003US-Rv for emacs-orgmode@gnu.org; Thu, 10 Nov 2016 06:14:20 -0500 Received: by mail-wm0-x235.google.com with SMTP id a197so361145798wmd.0 for ; Thu, 10 Nov 2016 03:14:19 -0800 (PST) Received: from 5th.localnet (ip-4-23.hlucinnet.cz. [93.91.243.23]) by smtp.gmail.com with ESMTPSA id u81sm4452957wmu.10.2016.11.10.03.14.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Nov 2016 03:14:17 -0800 (PST) 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 Hi, With the minimal example pasted below, the second TODO keyword gets highlighted with a noticeably lighter red color than the first one. In my big org file it made a full rainbow with the other TODO keywords, making it completely unusable. Note that only the length of the padding is significant, not the characters used. ------------ test.org begin ------------ rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr * TODO foo : "rrr 'rrr (rrr 'rrr)' * TODO baz ------------- test.org end ------------- Regards, Martin Emacs : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-09-18 Package: Org-mode version 8.3.6 (8.3.6-7-g4d7d52-elpa @ /home/martin/.spacemacs.home/.emacs.d/elpa/org-20161017/) current state: ============== (setq org-id-locations-file "/home/martin/.spacemacs.home/.emacs.d/.cache/.org-id-locations" org-clock-clocked-in-display 'frame-title org-clocktable-defaults '(:maxlevel 2 :lang "en" :scope file :block nil :wstart 1 :mstart 1 :tstart nil :tend nil :step nil :stepskip0 nil :fileskip0 nil :tags nil :emphasize nil :link nil :narrow 80! :indent t :formula nil :timestamp nil :level nil :tcolumns nil :formatter nil) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-clock-persist-file "/home/martin/.spacemacs.home/.emacs.d/.cache/org-clock-save.el" org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-time-clocksum-format '(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t) org-occur-hook '(org-first-headline-recenter) org-imenu-depth 8 org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-log-done t org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-image-actual-width nil org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-link-translation-function 'toc-org-unhrefify org-time-stamp-custom-formats '("<%m/%d %a>" . "<%m/%d %a %H:%M>") org-present-mode-hook '(spacemacs//org-present-start) org-agenda-restore-windows-after-quit t org-display-internal-link-with-indirect-buffer t org-latex-format-headline-function 'org-latex-format-headline-default-function org-default-notes-file "notes.org" org-todo-keyword-faces '(("PROG" . "orange") ("WAIT" . "OrangeRed") ("RESO" . "YellowGreen")) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes spacemacs/load-yasnippet toc-org-enable org-download-enable org-bullets-mode spacemacs//org-babel-do-load-languages spacemacs/add-org-surrounds evil-org-mode org-eldoc-load spacemacs//init-company-org-mode company-mode) org-archive-hook '(org-attach-archive-delete-maybe) org-ascii-format-drawer-function '(lambda (name contents width) contents) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-publish-timestamp-directory "/home/martin/.spacemacs.home/.emacs.d/.cache/.org-timestamps/" org-present-mode-quit-hook '(spacemacs//org-present-end) org-export-async-init-file "/home/martin/.spacemacs.home/.emacs.d/layers/+emacs/org/local/org-async-init.el" org-cycle-include-plain-lists 'integrate org-download-annotate-function 'org-download-annotate-default org-clock-frame-title-format '(:eval org-mode-line-string) org-hide-emphasis-markers t org-confirm-elisp-link-function 'yes-or-no-p org-startup-with-inline-images t org-metadown-hook '(org-babel-pop-to-session-maybe) org-babel-after-execute-hook '(spacemacs/ob-fix-inline-images) org-html-format-headline-function 'org-html-format-headline-default-function org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-agenda-files '("/home/martin/Dokumenty/prj/jolla/sailfish/note/journal16.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )