<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>baongoc124 &#187; emacs</title>
	<atom:link href="http://baongoc124.wordpress.com/category/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://baongoc124.wordpress.com</link>
	<description>Whatever&#039;s around me</description>
	<lastBuildDate>Mon, 17 Oct 2011 19:02:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='baongoc124.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>baongoc124 &#187; emacs</title>
		<link>http://baongoc124.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://baongoc124.wordpress.com/osd.xml" title="baongoc124" />
	<atom:link rel='hub' href='http://baongoc124.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Customize ERC (Emacs) for logging</title>
		<link>http://baongoc124.wordpress.com/2011/03/06/customize-erc-emacs-for-logging/</link>
		<comments>http://baongoc124.wordpress.com/2011/03/06/customize-erc-emacs-for-logging/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 07:42:26 +0000</pubDate>
		<dc:creator>baongoc124</dc:creator>
				<category><![CDATA[emacs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[erc]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[shellmix]]></category>
		<category><![CDATA[znc]]></category>

		<guid isPermaLink="false">http://baongoc124.wordpress.com/?p=8</guid>
		<description><![CDATA[Recently I want to log my IRC traffic even when I&#8217;m away so I registered a free shell account on shellmix.com and configured ZNC to run on it. ERC is my choice of IRC client. It&#8217;s powerful and heavily customizable because of Emacs&#8217; nature (E-Lisp for extensions). Here&#8217;s my .emacs config: ;; erc logging (setq [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baongoc124.wordpress.com&#038;blog=2290239&#038;post=8&#038;subd=baongoc124&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Recently I want to log my IRC traffic even when I&#8217;m away so I registered a free shell account on shellmix.com and configured ZNC to run on it. ERC is my choice of IRC client. It&#8217;s powerful and heavily customizable because of Emacs&#8217; nature (E-Lisp for extensions). Here&#8217;s my .emacs config:</p>
<pre>;; erc logging
(setq erc-generate-log-file-name-function 'erc-generate-log-file-name-with-date
erc-log-matches-flag t
erc-save-buffer-on-part nil
erc-save-queries-on-quit nil
erc-log-write-after-send t
erc-log-write-after-insert t
erc-log-file-coding-system 'utf-8)</pre>
<p>Above config makes ERC log every message and write to log files right after receive or send. I don&#8217;t want it to write when I close Emacs and then ask for saving ~.~, which is the default behavior.</p>
<p>That&#8217;s all, folks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/baongoc124.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/baongoc124.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baongoc124.wordpress.com&#038;blog=2290239&#038;post=8&#038;subd=baongoc124&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://baongoc124.wordpress.com/2011/03/06/customize-erc-emacs-for-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/a4a331b55d87ddda0ba381547a101a74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">baongoc124</media:title>
		</media:content>
	</item>
	</channel>
</rss>
