<?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>Michael V. O'Brien &#187; Emacs</title>
	<atom:link href="http://michaelobrien.info/blog/category/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaelobrien.info/blog</link>
	<description></description>
	<lastBuildDate>Wed, 27 Jan 2010 04:46:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Emacs.app on Mac OS X Snow Leopard 10.6</title>
		<link>http://michaelobrien.info/blog/2009/10/emacsapp-on-mac-os-x-snow-leopard-106/</link>
		<comments>http://michaelobrien.info/blog/2009/10/emacsapp-on-mac-os-x-snow-leopard-106/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 18:29:22 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://michaelobrien.info/blog/?p=93</guid>
		<description><![CDATA[Update: A 64-bit version of Emacs can now be compiled from source.
With the release of Snow Leopard, the included Emacs binary was not compiled with Carbon or Cocoa support.  So, if a native OS X GUI is desired, compiling your own Emacs.app may be worthwhile.  That&#8217;s the route I&#8217;ve taken.  The Emacs [...]]]></description>
			<content:encoded><![CDATA[<p><b>Update:</b> A 64-bit version of Emacs can now be compiled from source.</p>
<p>With the release of Snow Leopard, the included Emacs binary was not compiled with Carbon or Cocoa support.  So, if a native OS X GUI is desired, compiling your own Emacs.app may be worthwhile.  That&#8217;s the route I&#8217;ve taken.  The Emacs developers are making improvements to the Cocoa version while dropping support for Carbon, and a 64-bit version should be able to compile from source.  I&#8217;ll update this post as I tweak my Emacs.app on Snow Leopard.</p>
<h3>64-bit Version</h3>
<p>Download the the &#8220;latest&#8221; source from <a href="http://savannah.gnu.org/projects/emacs">http://savannah.gnu.org/projects/emacs</a> (I personally used git. Known checkouts to work: <a href="http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=115da71cd94d24194e72cf23f00810de6bfcbd84">Oct 12, 2009</a>, <a href="http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=41c156e6d0cb4c36259ab2d53611df4288ee534d">Oct 24, 2009</a>):</p>
<pre>
$ git clone git://git.savannah.gnu.org/emacs.git
</pre>
<p>Run &#8216;./configure&#8217;:</p>
<pre>
$ cd emacs
$ ./configure --with-ns
</pre>
<p>Compile and create Emacs.app:</p>
<pre>
$ make install
</pre>
<p>Move &#8216;./emacs/nextstep/Emacs.app&#8217; to &#8216;/Applications/&#8217;:</p>
<pre>
$ mv ./nextstep/Emacs.app /Applications/
</pre>
<h3>32-bit Version</h3>
<p>If the 64-bit version doesn&#8217;t compile, you can compile a 32-bit version by doing:</p>
<pre>
$ CC="gcc -arch i386" ./configure --with-ns
</pre>
<p><b>Note:</b> There is more information about compiling a 64-bit version of Emacs.app at this <a href="http://blog.fac9.com/index.php/2009/08/30/building-a-64-bit-emacs-on-snow-leopard/">blog post</a>, this <a href="http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00162.html">mailing list thread</a>, and this <a href="http://atomized.org/2009/08/cocoa-emacs-231-cvs-builds-and-the-nextstep-port/">blog post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelobrien.info/blog/2009/10/emacsapp-on-mac-os-x-snow-leopard-106/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Emacs.app on Mac OS X Leopard</title>
		<link>http://michaelobrien.info/blog/2007/10/emacsapp-on-mac-os-x-leopard/</link>
		<comments>http://michaelobrien.info/blog/2007/10/emacsapp-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 04:45:57 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">10 at http://michaelobrien.info</guid>
		<description><![CDATA[Update: I have another blog post for Mac OS X Snow Leopard.
I&#8217;ve been using Mac OS X Leopard for about a day now.  The unfortunate thing that I discovered was that Leopard&#8217;s X11 support is not quite working yet.  There are issues with Inkscape and Gimp, and I couldn&#8217;t get Emacs to work [...]]]></description>
			<content:encoded><![CDATA[<p><b>Update:</b> I have another <a href="http://michaelobrien.info/blog/2009/10/emacsapp-on-mac-os-x-snow-leopard-106/">blog post for Mac OS X Snow Leopard</a>.</p>
<p>I&#8217;ve been using Mac OS X Leopard for about a day now.  The unfortunate thing that I discovered was that Leopard&#8217;s X11 support is not quite working yet.  There are issues with Inkscape and Gimp, and I couldn&#8217;t get Emacs to work in X11.  This encouraged me to find a better way to get Emacs into a windowed environment, and I ended up being able to create (uh, copy) an Emacs.app.</p>
<p>To create an Emacs.app, do the following:</p>
<p><a href="http://ftp.gnu.org/pub/gnu/emacs/">Download the Emacs source code</a>. Note: Leopard comes with emacs 22.1.1 (uses Carbon), so you want to download <strong>emacs-22.1.tar.gz</strong>.  However, instead of downloading the entire source code, you can download just the Emacs.app from me <a href="http://michaelobrien.info/files/emacs-22.1-mac-app.tar.gz">here</a> to save GNU 36MB of bandwidth.</p>
<p>Extract the files.</p>
<pre>$ tar zxvf emacs-22.1.tar.gz</pre>
<p>Go to the &#8216;emacs-22.1/mac&#8217; directory</p>
<pre>$ cd emacs-22.1/mac</pre>
<p>Copy &#8216;Emacs.app&#8217; to &#8216;/Applications/&#8217;</p>
<pre>$ sudo cp -r Emacs.app /Applications/</pre>
<p>Symlink /usr/bin/emacs to /Applications/Emacs.app/Contents/MacOS/emacs</p>
<pre>$ ln -s /usr/bin/emacs /Applications/Emacs.app/Contents/MacOS/emacs</pre>
<p>And, you may want to change the ownership on the Emacs.app</p>
<pre>$ sudo chown -R root:admin /Applications/Emacs.app</pre>
<p>That&#8217;s it.  You should now be able to launch Emacs.app as a regular Mac application.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelobrien.info/blog/2007/10/emacsapp-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
	</channel>
</rss>
