In the latest git version of org I've been having problems with
org-fontify-done-headline. 

After looking at (defun org-set-font-lock-defaults () I think there is a
problem with the following code.  

--8<---------------cut here---------------start------------->8---
           ;; DONE
           (if org-fontify-done-headline
               (list (format org-heading-keyword-regexp-format
                             (concat
                              "\\("
                              (mapconcat 'regexp-quote org-done-keywords "\\|")
                              "\\)"))
                     '(2 'org-headline-done t))
             nil)
--8<---------------cut here---------------end--------------->8---

I guess there are two ways to fix this: 

,----
|          (if org-fontify-done-headline
|              (list (format org-heading-keyword-regexp-format
|                            (concat
|                             "\\("
|                             (mapconcat 'regexp-quote org-done-keywords "\\|")
|                             "\\)"))
|                    '(3 'org-headline-done t))
|            nil)
`----

or 

,----
|          (if org-fontify-done-headline
|              (list (format org-heading-keyword-regexp-format
|                            (concat
|                             "\\(?:"
|                             (mapconcat 'regexp-quote org-done-keywords "\\|")
|                             "\\)"))
|                    '(2 'org-headline-done t))
|            nil)
`----

I have only gotten around to using "git clone", so I thought I'd post here
until I have a chance to learn how to issue a git push/pull request.  



-- 
Thanks,
;-b

Brian Carlson


Reply via email to