<?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/"
	>

<channel>
	<title>RedBrain @ $HOME : ~ $ &#187; emacs</title>
	<atom:link href="http://redbrain.co.uk/index.php/tag/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://redbrain.co.uk</link>
	<description>Frustrated Software Developer</description>
	<lastBuildDate>Wed, 16 Nov 2011 17:36:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Doxygen &#8211; Sweet :D</title>
		<link>http://redbrain.co.uk/index.php/quick-tips/doxygen-sweet-d/</link>
		<comments>http://redbrain.co.uk/index.php/quick-tips/doxygen-sweet-d/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 11:26:34 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Update!]]></category>
		<category><![CDATA[c/c++]]></category>
		<category><![CDATA[doxygen]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=333</guid>
		<description><![CDATA[<p>This is pretty amazing i think take a look at some Doxygen output:
</p>
<p>I think its really worth learning + it will save you about a week or 2&#8242;s worth of documentation:</p>
<p>What you want to do is go to your projects directory and:</p>
<p>$ sudo apt-get install doxygen</p>
<p>$ doxygen -g</p>
<p>$ emacs -nw Doxyfile</p>
<p>$ echo &#8220;Now go through [...]]]></description>
			<content:encoded><![CDATA[<p>This is pretty amazing i think take a look at some Doxygen output:<br />
</p>
<p>I think its really worth learning + it will save you about a week or 2&#8242;s worth of documentation:</p>
<p>What you want to do is go to your projects directory and:</p>
<blockquote><p>$ sudo apt-get install doxygen</p></blockquote>
<blockquote><p>$ doxygen -g</p></blockquote>
<blockquote><p>$ emacs -nw Doxyfile</p>
<p>$ echo &#8220;Now go through each of these options in the config file use CTRL-S to start searching in emacs <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> &#8221;</p></blockquote>
<blockquote>
<blockquote><dl> </dl>
</blockquote>
<dt><code>EXTRACT_ALL = YES</code></dt>
</blockquote>
<blockquote><dd>Extract documentation even from those elements you haven&#8217;t yet commented.</dd>
</blockquote>
<blockquote><dt><code>INLINE_SOURCE = YES</code></dt>
</blockquote>
<blockquote><dd>Extract the relevant parts of the source and associate them with your description.</dd>
</blockquote>
<blockquote><dt><code>HAVE_DOT = YES</code></dt>
</blockquote>
<blockquote><dd>Use Graphviz for class and collaboration diagrams.</dd>
</blockquote>
<blockquote><dt><code>CALL_GRAPH = YES</code></dt>
</blockquote>
<blockquote><dd>Generate a dependency graph for functions and methods.</dd>
</blockquote>
<blockquote><dt><code>GENERATE_LATEX = NO</code></dt>
</blockquote>
<blockquote><dd>Skip generating <code>LaTeX</code> sources for <code>PDF</code>.</dd>
</blockquote>
<blockquote><p>RECURSIVE              = YES</p></blockquote>
<blockquote><p>To go through each of your directorys! Probably the most important.</p></blockquote>
<blockquote><p>FILE_PATTERNS          = *.c *.h</p>
<p>The source files you want to document!</p></blockquote>
<blockquote><p>echo &#8220;Now run&#8221;</p></blockquote>
<blockquote><p>$ doxygen Doxyfile</p></blockquote>
<blockquote><p>#Hope it works <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p></blockquote>
<p>Finally to do documentation you need to go to your code and do documenation like:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="coMULTI">/**</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;* Return the size of the list.</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;*</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;* \return returns the size of the list as an int</span></div>
</li>
<li class="li2">
<div class="de2"><span class="coMULTI">&nbsp;* \param list The List you want to add the item to</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;*/</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">extern</span> <span class="kw4">int</span> size<span class="br0">&#40;</span> LinkedList** list<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw4">int</span> counter=<span class="nu0">0</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; LinkedList *tmp=*list;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>tmp-&gt;contents != <span class="kw2">NULL</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw4">struct</span> ListNode *next= tmp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; counter++;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">while</span><span class="br0">&#40;</span>next-&gt;nextnode != <span class="kw2">NULL</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; next= next-&gt;nextnode;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; counter++;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> counter;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="kw1">else</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> counter;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/quick-tips/doxygen-sweet-d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Long time&#8230;. no talk</title>
		<link>http://redbrain.co.uk/index.php/update/long-time-no-talk/</link>
		<comments>http://redbrain.co.uk/index.php/update/long-time-no-talk/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 23:10:18 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[Update!]]></category>
		<category><![CDATA[About Me]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=267</guid>
		<description><![CDATA[<p>So yeah its been a while i need to kick my arse in gear i guess but i have been so damn busy with work and no sleep  </p>
<p>But on the plus side i have alot of things working out which is a first for me in 2 years and writing a small python [...]]]></description>
			<content:encoded><![CDATA[<p>So yeah its been a while i need to kick my arse in gear i guess but i have been so damn busy with work and no sleep <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>But on the plus side i have alot of things working out which is a first for me in 2 years and writing a small python build bot and regression tester for drizzle to mail daily reports to the mailing list&#8230;</p>
<p>Anyways i have this week off work to rest so i&#8217;ll try and blog up a little i should maby hopefully have a my openmoko this week which will be exciting <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>But yeah some coding time and music to relax me <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  g33k</p>
<div class="wp-caption alignnone" style="width: 410px"><a href="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-kitten-steps-in-dog-poop1.jpg"><img title="lol @ cats" src="http://icanhascheezburger.files.wordpress.com/2009/02/funny-pictures-kitten-steps-in-dog-poop1.jpg" alt="poop cats" width="400" height="301" /></a><p class="wp-caption-text">poop cats</p></div>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/update/long-time-no-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My dot emacs!!</title>
		<link>http://redbrain.co.uk/index.php/update/my-dot-emacs/</link>
		<comments>http://redbrain.co.uk/index.php/update/my-dot-emacs/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 23:35:47 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[Update!]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=140</guid>
		<description><![CDATA[<p>Just thought i would post my emacs config recently moved to emacs22-gtk! Its much better i used emacs -nw for months there because you got much much better fonts and font rendering so then i just couldnt get used to x-emacs because it just doesnt look nice!</p>
<p>Have to say lots of thanks to stuart hacking [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought i would post my emacs config recently moved to emacs22-gtk! Its much better i used emacs -nw for months there because you got much much better fonts and font rendering so then i just couldnt get used to x-emacs because it just doesnt look nice!</p>
<p>Have to say lots of thanks to stuart hacking his blog is in my links i am sure i have posted it a few times&#8230;</p>
<p>Anyways here is my &#8216;.emacs&#8217;</p>
<blockquote><p>(custom-set-variables<br />
;; custom-set-variables was added by Custom.<br />
;; If you edit it by hand, you could mess it up, so be careful.<br />
;; Your init file should contain only one such instance.<br />
;; If there is more than one, they won&#8217;t work right.<br />
&#8216;(global-font-lock-mode t)<br />
&#8216;(inhibit-startup-screen t)<br />
&#8216;(initial-scratch-message &#8220;&#8221;)<br />
&#8216;(speedbar-directory-unshown-regexp &#8220;^\\(CVS\\|RCS\\|SCCS\\|.deps\\)\\&#8217;&#8221;)<br />
&#8216;(speedbar-frame-parameters (quote ((minibuffer) (width . 20) (border-width . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) (unsplittable . t) (set-background-color &#8220;black&#8221;))))<br />
&#8216;(speedbar-supported-extension-expressions (quote (&#8220;.[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?&#8221; &#8220;.tex\\(i\\(nfo\\)?\\)?&#8221; &#8220;.el&#8221; &#8220;.emacs&#8221; &#8220;.l&#8221; &#8220;.lsp&#8221; &#8220;.p&#8221; &#8220;.java&#8221; &#8220;.f\\(90\\|77\\|or\\)?&#8221; &#8220;.ad*&#8221; &#8220;.p[lm]&#8221; &#8220;.tcl&#8221; &#8220;.m&#8221; &#8220;.scm&#8221; &#8220;.pm&#8221; &#8220;.py&#8221; &#8220;.g&#8221; &#8220;.s?html&#8221; &#8220;[Mm]akefile\\(\\.in\\|am\\)?&#8221; &#8220;configure.ac&#8221; &#8220;.ml*&#8221; &#8220;.tig&#8221; &#8220;.\\(ll\\|yy\\)&#8221;)))<br />
&#8216;(tool-bar-mode nil))<br />
(custom-set-faces<br />
;; custom-set-faces was added by Custom.<br />
;; If you edit it by hand, you could mess it up, so be careful.<br />
;; Your init file should contain only one such instance.<br />
;; If there is more than one, they won&#8217;t work right.<br />
&#8216;(default ((t (:stipple nil :background &#8220;grey20&#8243; :foreground &#8220;white&#8221; :inverse-video nil :box nil :strike-through nil <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> verline nil :underline nil :slant normal :weight normal :height 150 :width normal :family &#8220;monospace&#8221;))))<br />
&#8216;(background &#8220;blue&#8221;)<br />
&#8216;(cursor ((t (:background &#8220;red&#8221; :foreground &#8220;green&#8221;))))<br />
&#8216;(highlight ((t (:background &#8220;CornflowerBlue&#8221;))))<br />
&#8216;(list-mode-item-selected ((t (:background &#8220;gold&#8221;))))<br />
&#8216;(makefile-space-face ((t (:background &#8220;wheat&#8221;))))<br />
&#8216;(mode-line ((t (:background &#8220;Navy&#8221;))))<br />
&#8216;(paren-match ((t (:background &#8220;darkseagreen4&#8243;))))<br />
&#8216;(region ((t (:background &#8220;DarkSlateBlue&#8221;))))<br />
&#8216;(show-paren-match-face ((t (:foreground &#8220;black&#8221; :background &#8220;wheat&#8221;))) t)<br />
&#8216;(show-paren-mismatch-face ((((class color)) (:foreground &#8220;white&#8221; :background &#8220;red&#8221;))) t)<br />
&#8216;(speedbar-button-face ((((class color) (background dark)) (:foreground &#8220;green4&#8243;))))<br />
&#8216;(speedbar-directory-face ((((class color) (background dark)) (:foreground &#8220;khaki&#8221;))))<br />
&#8216;(speedbar-file-face ((((class color) (background dark)) (:foreground &#8220;cyan&#8221;))))<br />
&#8216;(speedbar-tag-face ((((class color) (background dark)) (:foreground &#8220;Springgreen&#8221;))))<br />
&#8216;(vhdl-speedbar-architecture-selected-face ((((class color) (background dark)) (:underline t :foreground &#8220;Blue&#8221;))))<br />
&#8216;(vhdl-speedbar-entity-face ((((class color) (background dark)) (:foreground &#8220;darkGreen&#8221;))))<br />
&#8216;(vhdl-speedbar-entity-selected-face ((((class color) (background dark)) (:underline t :foreground &#8220;darkGreen&#8221;))))<br />
&#8216;(vhdl-speedbar-package-face ((((class color) (background dark)) (:foreground &#8220;black&#8221;))))<br />
&#8216;(vhdl-speedbar-package-selected-face ((((class color) (background dark)) (:underline t :foreground &#8220;black&#8221;))))<br />
&#8216;(widget-field ((((class grayscale color) (background light)) (:background &#8220;DarkBlue&#8221;)))))</p></blockquote>
<p>So yeah thats quite mouth full! I&#8217;ll make a screen shot of it now:</p>
<div id="attachment_141" class="wp-caption alignleft" style="width: 310px"><a href="http://redbrain.co.uk/wp-content/uploads/2009/01/emacs.png"><img class="size-medium wp-image-141" title="emacs" src="http://redbrain.co.uk/wp-content/uploads/2009/01/emacs-300x187.png" alt="sweet!!" width="300" height="187" /></a><p class="wp-caption-text">sweet!!</p></div>
<p>Anyways i am working on stuff just i am kind of sleepy alot recently! <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh hey yeah i found a sweet album to work to on jamendo:</p>
<p><a href="http://www.jamendo.com/en/album/34523" target="_blank">http://www.jamendo.com/en/album/34523</a></p>
<p>Its very ambiant music! Its perfect for doing work to! And yeah its totaly awesome listen to the first song!</p>
<p>And yeah wait till you see this insane video:</p>
<p><a href="http://ubuntuforums.org/showthread.php?t=884161" target="_blank">http://ubuntuforums.org/showthread.php?t=884161</a></p>
<p>Its compiz running in 6 monitors! How sweet! Anyways that should keep you busy! I am putting my OS a little quiet at the moment my personal project will be stopped for a bit i want to get a little more active in launchpad and get up some karma and get some patches to the drizzle project for a lightweight database! Get a little more experience and i would like to make an ubuntu control panel at some stage to make things like enabling dvd-playback much easier in ubuntu because its truely awful at the moment. Setup networking properly setup Virtual Machines host with KVM or Xen with the apropriate management tools, becasuse ubuntu needs things like this with tools like yast which already to it no wonder they get more users on the server!<br />
But i dont know well see what happens! I better head to bed now for work in the morning! <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Anyways have fun guys! I&#8217;ll keep updating the blog normal and i post quite alot to identi.ca now because gwibber is sweet, i was going to join twitter but someone has stole my username which is lame!</p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/update/my-dot-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terminator &#8211; Emacs for the terminal! :-)</title>
		<link>http://redbrain.co.uk/index.php/quick-tips/terminator-emacs-for-the-terminal/</link>
		<comments>http://redbrain.co.uk/index.php/quick-tips/terminator-emacs-for-the-terminal/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 16:21:04 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=107</guid>
		<description><![CDATA[<p>This link is good i quite like Terminator its a terminal emulator like gnome-terminal but it can split views and stuff which is awesome when at work i spend like 80% in a shell running screen  . Plus i love emacs with split views etc!</p>
<p>This link just sums up the keyboard short cuts for [...]]]></description>
			<content:encoded><![CDATA[<p>This link is good i quite like Terminator its a terminal emulator like gnome-terminal but it can split views and stuff which is awesome when at work i spend like 80% in a shell running screen <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Plus i love emacs with split views etc!</p>
<p>This link just sums up the keyboard short cuts for terminator which was the only thing that bothered me about it because i couldnt find the shortcuts before <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.ubuntugeek.com/terminator-multiple-gnome-terminals-in-one-window.html">http://www.ubuntugeek.com/terminator-multiple-gnome-terminals-in-one-window.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/quick-tips/terminator-emacs-for-the-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Font my code! :)</title>
		<link>http://redbrain.co.uk/index.php/random/font-my-code/</link>
		<comments>http://redbrain.co.uk/index.php/random/font-my-code/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 16:01:22 +0000</pubDate>
		<dc:creator>redbrain</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://redbrain.co.uk/?p=89</guid>
		<description><![CDATA[<p>Just throught i would show you what i like to code in now!</p>

<p>Its a pretty sweet font to have your shell to be in and with emacs  </p>
]]></description>
			<content:encoded><![CDATA[<p>Just throught i would show you what i like to code in now!</p>

<p>Its a pretty sweet font to have your shell to be in and with emacs <img src='http://redbrain.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://redbrain.co.uk/index.php/random/font-my-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

