Quantcast
Channel: Sacha Chua - category - emacs
Viewing all articles
Browse latest Browse all 821

Emacs: Strike through headlines for DONE tasks in Org

$
0
0

I wanted a quick way to visually distinguish DONE tasks from tasks I still need to do. This handy snippet from the Emacs Org-mode mailing list does the trick by striking through the headlines for DONE tasks.

image

Here’s the code:

(setq org-fontify-done-headline t)
(custom-set-faces
 '(org-done ((t (:foreground "PaleGreen"   
                 :weight normal
                 :strike-through t))))
 '(org-headline-done 
            ((((class color) (min-colors 16) (background dark)) 
               (:foreground "LightSalmon" :strike-through t)))))

View my Emacs configuration

Read the original or check out the comments on: Emacs: Strike through headlines for DONE tasks in Org (Sacha Chua's blog)


Viewing all articles
Browse latest Browse all 821

Trending Articles