Re: [O] 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/)]

2016-11-10 Thread Nicolas Goaziou
Hello,

Martin Kampas  writes:

> 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 
> rrr
> rrr
> rrr
> rrr
> rrr
> rr
>
> * TODO foo
>   : "rrr 'rrr (rrr 'rrr)'
>
> * TODO baz
> - test.org end -

FWIW, I cannot reproduce it. You may want to try out Org latest release
and a minimal configuration.

Regards,

-- 
Nicolas Goaziou



[O] 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/)]

2016-11-10 Thread Martin Kampas
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 
rrr
rrr
rrr
rrr
rrr
rr

* 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