<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/atom.xsl" type="text/xsl"?><feed
	xmlns="http://www.w3.org/2005/Atom"
	xmlns:thr="http://purl.org/syndication/thread/1.0"
	xml:lang="en-US"
	><title>Sacha Chua - tag - org</title>
	<subtitle>Emacs, sketches, and life</subtitle>
	<link rel="self" type="application/atom+xml" href="https://sachachua.com/blog/tag/org/feed/atom/index.xml" />
  <link rel="alternate" type="text/html" href="https://sachachua.com/blog/tag/org" />
  <id>https://sachachua.com/blog/tag/org/feed/atom/index.xml</id>
  <generator uri="https://11ty.dev">11ty</generator>
	<updated>2012-12-24T03:45:00Z</updated>
<entry>
		<title type="html">Emacs: Strike through headlines for DONE tasks in Org</title>
		<link rel="alternate" type="text/html" href="https://sachachua.com/blog/2012/12/emacs-strike-through-headlines-for-done-tasks-in-org/"/>
		<author><name><![CDATA[Sacha Chua]]></name></author>
		<updated>2012-12-24T21:00:57Z</updated>
    <published>2012-12-24T03:45:00Z</published>
    <category term="emacs" />
<category term="org" />
		<id>https://sachachua.com/blog/?p=24270</id>
		<content type="html"><![CDATA[<p>I wanted a quick way to visually distinguish DONE tasks from tasks I still need to do. This <a href="http://lists.gnu.org/archive/html/emacs-orgmode/2007-03/msg00179.html">handy snippet from the Emacs Org-mode mailing list</a> does the trick by striking through the headlines for DONE tasks.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image15.png"><img loading="lazy" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb14.png" width="580" height="122" border="0"></a></p>
<p>Here’s the code:</p>
<pre class="src src-emacs-lisp">(setq org-fontify-done-headline t)
(custom-set-faces
 '(org-done ((t (<span style="color: #a020f0;">:foreground</span> <span style="background-color: #f2f2f2; color: #ff00ff;">"PaleGreen"</span>   
                 <span style="color: #a020f0;">:weight</span> normal
                 <span style="color: #a020f0;">:strike-through</span> t))))
 '(org-headline-done 
            ((((class color) (min-colors 16) (background dark)) 
               (<span style="color: #a020f0;">:foreground</span> <span style="background-color: #f2f2f2; color: #ff00ff;">"LightSalmon"</span> <span style="color: #a020f0;">:strike-through</span> t)))))</pre>
<p><a href="http://dl.dropbox.com/u/3968124/sacha-emacs.html">View my Emacs configuration</a></p>
<p>You can <a href="https://sachachua.com/blog/2012/12/emacs-strike-through-headlines-for-done-tasks-in-org/#comment">view 14 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2012%2F12%2Femacs-strike-through-headlines-for-done-tasks-in-org%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></content>
		</entry>
</feed>