<?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>AkillesBlog &#187; editor</title>
	<atom:link href="http://blog.akilles.org/tag/editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.akilles.org</link>
	<description>Talk on programming, computers, electronics, web etc</description>
	<lastBuildDate>Sun, 23 Jan 2011 23:46:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing Emacs Muse on Windows XP</title>
		<link>http://blog.akilles.org/2009/03/14/installing-emacs-muse-on-windows/</link>
		<comments>http://blog.akilles.org/2009/03/14/installing-emacs-muse-on-windows/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 19:31:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[muse]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=67</guid>
		<description><![CDATA[This post will deal with the installation of the GNU Emacs editor plus the Emacs Muse authoring/publishing environment running Windows XP. Download &#038; extract GNU Emacs First, obtain the latest precompiled Emacs binaries for Windows. Get it directly from the FTP location here, alternatively follow the link from the Getting Emacs guide. Download the latest [...]]]></description>
			<content:encoded><![CDATA[<p>This post will deal with the installation of the GNU Emacs editor plus the Emacs Muse authoring/publishing environment running Windows XP.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2>Download &#038; extract</h2>
<h3>GNU Emacs</h3>
<p>First, obtain the latest precompiled Emacs binaries for Windows. Get it directly from <a href="http://ftp.gnu.org/gnu/emacs/windows/">the FTP location here</a>, alternatively follow the link from the <a href="http://www.gnu.org/software/emacs/windows/Getting-Emacs.html">Getting Emacs guide</a>. Download the latest zip-version marked <strong>bin</strong>; <strong>emacs-22.3-<em>bin</em>-i386.zip</strong> these days.</p>
<p>For the full guide on installing emacs on Windows, consult <a href="http://www.gnu.org/software/emacs/windows/Installing-Emacs.html">this</a> guide.</p>
<p>After downloading, extract the Emacs zip-file to a permanent location on your computer, i.e. <strong>C:\Program Files\emacs</strong>, so that this folder directly contains the folders bin,etc,lisp and so on.</p>
<h3>Muse</h3>
<p>Second, download the latest Emacs Muse (hereafter only called Muse) zip-file. Get it directly from <a href="http://download.gna.org/muse-el">here</a>, alternatively follow the link from the project&#8217;s home page <a href="http://mwolson.org/projects/EmacsMuse.html#sec3">here</a>.</p>
<p>Extract the Muse zip-file to, for instance, <strong>C:\Program Files\emacs_muse</strong>.</p>
<h2>Integration</h2>
<p>Now it&#8217;s time to make include Muse into your Emacs installation/folder: Copy all contents of <strong>C:\Program Files\emacs_muse\lisp\</strong> to <strong>C:\Program Files\emacs\lisp\</strong>.</p>
<h3>The HOME environmental variable</h3>
<p>We must now set up the <strong>.emacs</strong> <em>init file</em>, residing in your HOME directory. But first, we need to make sure you have HOME environmental variable. Check it by clicking Start->Run. Type in %HOME% and click OK. Does it open a folder? If so, notice the path of this folder. This is where we&#8217;re putting the .emacs init file. If you instead get an error, you must first set the HOME environmental variable:</p>
<p>Start->Settings->Control Panel->System->Advanced->Environmental Variables. In the upper field (user variables), press New. Name=HOME, Value=(whatever path you choose as your home folder. Make sure it exists!). OK x 2.</p>
<h3>Editing the .emacs init file</h3>
<p>Now that you have a HOME folder, open it: Start->Run. Type in %HOME% and click OK.</p>
<p>Create and edit a file named <strong>_emacs</strong> or <strong>.emacs</strong>, any one is good (.emacs is the original file name as used in Unix environments, but Explorer won&#8217;t let you create a file with filename starting with a dot, so therefore it&#8217;s easier to use the name _emacs). Put this contents into the file:</p>
<p><code><br />
	(setq load-path (add-to-list 'load-path "C:\Program Files\emacs_muse"))<br />
	(require 'muse-mode)<br />
	(require 'muse-publish)<br />
	(require 'muse-html)  ;; and so on<br />
</code></p>
<p>For further contents regarding Muse in this file; see <a href="http://mwolson.org/projects/MuseQuickStart.html">here</a> under the heading &#8220;Getting Started&#8221;.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2>Testing</h2>
<p>Now, start emacs by running the file: <strong>C:\Program Files\emacs\bin\runemacs.exe</strong>.</p>
<p>Create a new file <em>with the .muse filename extension</em>, (automatically puts emacs in muse mode) i.e. <em>musetest.muse</em>, and you&#8217;re set. Try typing something like (notice space bewtween asterisk and text in headings):</p>
<p><code><br />
* Heading 1<br />
** Heading 2</p>
<p>Test contents.</p>
<p>----</p>
<p>The end of the beginning.<br />
</code></p>
<p>&#8230; and notice that the two first lines (the headings) aquire different font weights. If they do; congratulations on your successful Emacs + Emacs Muse installation! If not, maybe you haven&#8217;t got emacs into muse mode. Try doing so by pressing Alt-x, then write muse-mode and hit return.</p>
<p>In the end, try publishing to HTML by hitting Ctrl-c Ctrl-t on the keyboard and follow the instructions in the &#8220;status field&#8221; in the bottom of the Emacs window.</p>
<h2>Diving deeper</h2>
<p>For diving deeper into muse, reference the project&#8217;s documentation:</p>
<ul>
<li><a href="http://mwolson.org/projects/MuseQuickStart.html">http://mwolson.org/projects/MuseQuickStart.html</a></li>
<li><a href="http://mwolson.org/static/doc/muse/">http://mwolson.org/static/doc/muse/</a></li>
<li><a href="http://mwolson.org/projects/EmacsMuse.html">http://mwolson.org/projects/EmacsMuse.html</a> &#8211; the muse maintainer&#8217;s project page</li>
</ul>
<h2>References</h2>
<ul>
<li><a href="http://www.gnu.org/software/emacs/windows/Installing-Emacs.html">http://www.gnu.org/software/emacs/windows/Installing-Emacs.html</a></li>
<li><a href="http://mwolson.org/projects/MuseQuickStart.html">http://mwolson.org/projects/MuseQuickStart.html</a></li>
<li><a href="http://www.linuxjournal.com/article/9116#comment-331272">http://www.linuxjournal.com/article/9116#comment-331272</a> <em>(on lisp to lisp folder copying, regarding Org-mode installation in emacs)</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2009/03/14/installing-emacs-muse-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

