<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Blog do Marcot</title>
	<atom:link href="http://marcotmarcot.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcotmarcot.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 11 Nov 2009 18:59:12 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='marcotmarcot.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a4e5145f55377a0204f5cfc4e2fa7410?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Blog do Marcot</title>
		<link>http://marcotmarcot.wordpress.com</link>
	</image>
			<item>
		<title>How to correct Emacs23 minibuffer in XMonad</title>
		<link>http://marcotmarcot.wordpress.com/2009/11/11/how-to-correct-emacs23-minibuffer-in-xmonad/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/11/11/how-to-correct-emacs23-minibuffer-in-xmonad/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 18:59:12 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=50</guid>
		<description><![CDATA[In XMonad, when I start Emacs23, the minibuffer is very big:

To correct it to use just one line, you must split the window vertically with another window:

Then, when you make Emacs full screen again, the minibuffer will use only one line.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=50&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/11/11/how-to-correct-emacs23-minibuffer-in-xmonad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>

		<media:content url="http://marcotmarcot.files.wordpress.com/2009/11/cheia.png?w=300" medium="image">
			<media:title type="html">Full-screen Emacs</media:title>
		</media:content>

		<media:content url="http://marcotmarcot.files.wordpress.com/2009/11/dividida.png?w=300" medium="image">
			<media:title type="html">Split screen emacs</media:title>
		</media:content>
	</item>
		<item>
		<title>Using when with multiple files</title>
		<link>http://marcotmarcot.wordpress.com/2009/11/11/using-when-with-multiple-files/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/11/11/using-when-with-multiple-files/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 15:32:01 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/2009/11/11/using-when-with-multiple-files/</guid>
		<description><![CDATA[when is a very nice perl program to keep track of appointments.  I wanted to use more than one file as the input of when, so I made this make script:

#!/usr/bin/make -f
calendar = $(HOME)/.when/calendar
.PHONY: all
all: $(calendar)
	when --nopaging
$(calendar): $(wildcard $(HOME)/.when/calendars/*.when)
	cat $^ &#62; $@

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=48&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/11/11/using-when-with-multiple-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>Match-Anything Pattern Rules</title>
		<link>http://marcotmarcot.wordpress.com/2009/10/14/match-anything-pattern-rules/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/10/14/match-anything-pattern-rules/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 19:25:02 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/2009/10/14/match-anything-pattern-rules/</guid>
		<description><![CDATA[http://www.gnu.org/software/make/manual/make.html#Match_002dAnything-Rules
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=47&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/10/14/match-anything-pattern-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>Executing code from time to time</title>
		<link>http://marcotmarcot.wordpress.com/2009/08/05/executing-code-from-time-to-time/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/08/05/executing-code-from-time-to-time/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:48:15 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[C]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=43</guid>
		<description><![CDATA[This is a simple way to make a code be executed from time to time, using alarm().

#include
#include
#include 

static void
run(int signal)
{
    printf("signal = %i\n", signal);
    alarm(1);
}

int main(int argc, char **argv)
{
    struct sigaction act;

    act.sa_handler = run;
    if(sigaction(SIGALRM, &#38;act, NULL))
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=43&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/08/05/executing-code-from-time-to-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>gconf_client_add_dir() and remove</title>
		<link>http://marcotmarcot.wordpress.com/2009/08/05/gconf_client_add_dir-and-remove/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/08/05/gconf_client_add_dir-and-remove/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:02:09 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[GTK]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=41</guid>
		<description><![CDATA[They don&#8217;t really create the directory.  They just turn on and off listening to them.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=41&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/08/05/gconf_client_add_dir-and-remove/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>g_idle_add()</title>
		<link>http://marcotmarcot.wordpress.com/2009/08/05/g_idle_add/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/08/05/g_idle_add/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 18:59:57 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[GTK]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=39</guid>
		<description><![CDATA[When a signal is emitted a lot of times, and the processing of the action associated with the signal is expensive, it&#8217;s an option to only run the action when the system is idle.  Using this function in this manner, this result can be achieved.  I got to know this talking to pierlux [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=39&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/08/05/g_idle_add/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring Evolution after building from git</title>
		<link>http://marcotmarcot.wordpress.com/2009/07/21/configuring-evolution-after-building-from-git/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/07/21/configuring-evolution-after-building-from-git/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 23:36:23 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[GTK]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=37</guid>
		<description><![CDATA[After building from git, the following command is necessary to avoid lock problems in local mail boxes, when evolution-data-server was built with &#8211;prefix=$dir and installed as a user.

# chown root:mail $dir/libexec/camel-lock-helper-1.2
# chmod ug+s $dir/libexec/camel-lock-helper-1.2

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=37&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/07/21/configuring-evolution-after-building-from-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding an Accelerator to a GtkImageMenuItem in glade-3</title>
		<link>http://marcotmarcot.wordpress.com/2009/07/21/adding-an-accelerator-to-a-gtkimagemenuitem-in-glade-3/</link>
		<comments>http://marcotmarcot.wordpress.com/2009/07/21/adding-an-accelerator-to-a-gtkimagemenuitem-in-glade-3/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 12:45:27 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[GTK]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=32</guid>
		<description><![CDATA[To add an accelerator to a GtkImageMenuItem, you must:

Create the accelerator for the signal in the GtkImageMenuItem: Common -&#62; Accelerators.
Create an accelerator group in the GtkImageMenuItem: General -&#62; Accel Group
Set the window to use this accelerator.  In GtkWindow: General -&#62; Accel Groups.

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=32&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2009/07/21/adding-an-accelerator-to-a-gtkimagemenuitem-in-glade-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>Rank 2 Types</title>
		<link>http://marcotmarcot.wordpress.com/2008/06/27/rank-2-types/</link>
		<comments>http://marcotmarcot.wordpress.com/2008/06/27/rank-2-types/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 19:56:13 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[GTK]]></category>
		<category><![CDATA[Haskell]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=21</guid>
		<description><![CDATA[I&#8217;ve always seen the forall a types in some GHC messages or in other person&#8217;s code, but I couldn&#8217;t get the point of it until I needed to use it myself.  I was writing a Gtk2hs application with some windows, and I noticed that for each created window, I was doing the same steps. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=21&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2008/06/27/rank-2-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
		<item>
		<title>Glade message dialog image …</title>
		<link>http://marcotmarcot.wordpress.com/2008/06/27/glade-message-dialog-image-%e2%80%a6/</link>
		<comments>http://marcotmarcot.wordpress.com/2008/06/27/glade-message-dialog-image-%e2%80%a6/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 19:42:59 +0000</pubDate>
		<dc:creator>marcotmarcot</dc:creator>
				<category><![CDATA[GTK]]></category>

		<guid isPermaLink="false">http://marcotmarcot.wordpress.com/?p=20</guid>
		<description><![CDATA[In a message dialog, when I click in the … of the Image field, I get a tree of Objects.  I don&#8217;t understand  hat this means, and I don&#8217;t know where to get documentation from it.  This is Glade 3.4.5-3 in Debian lenny.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=marcotmarcot.wordpress.com&blog=3969286&post=20&subd=marcotmarcot&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://marcotmarcot.wordpress.com/2008/06/27/glade-message-dialog-image-%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b66bd392fbf40cc2eb6c951f173c7cb4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">marcotmarcot</media:title>
		</media:content>
	</item>
	</channel>
</rss>