<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Sleeping Too Much and Fighting With Emacs and ASDF</title>
	<atom:link href="http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/</link>
	<description>Peter Christensen's Blog</description>
	<lastBuildDate>Fri, 02 Jul 2010 12:02:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-485</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 17 May 2008 17:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-485</guid>
		<description>I use Cygwin&#039;s Clisp in Cygwin&#039;s Emacs with Slime (I&#039;m also running Cygwin&#039;s X11 to get the Emacs gui). I tell Slime where Clisp is in my slime.el, then load that. Works fine. ASDF works without issue for me under Cygwin. In .clisprc (which must be in the Cygwin home directory) I put -

#-:asdf (load &quot;/home/Chris/asdf/asdf&quot;)
(pushnew &quot;/home/Chris/asdf/asdf_registry/&quot; asdf:*central-registry* :test #&#039;equal)

The forward-slash after asdf_registry indicates that it&#039;s a directory, not a file. It contains symlinks (NOT Windows shortcuts) to all my .asd files (create symlinks under cygwin with this command: ln -s /path/to/relevant/asd-file). I haven&#039;t yet tried ASDF-Install, so can&#039;t comment on that (suspect it won&#039;t work, though).

I have also managed to get ASDF to work with the Win32 port of SBCL. SBCL comes bundled with a version of ASDF, but I could never get it to work. A patched version of asdf.lisp which DOES work can be found here -

http://www.lichteblau.com/blubba/shortcut/asdf.lisp

Create a .sbclrc file in your home directory (find out where SBCL thinks that is by evaluating (user-homedir-pathname)), and add the following -

(require &#039;asdf)
pushnew &quot;/path/to/asdf/central-registry/&quot; asdf:*central-registry* :test #&#039;equal)

I have symlinks in my asdf registry, so I can&#039;t vouch for ordinary Win32 shortcuts with SBCL.

Hope some of that helps anyone who&#039;s understandably experienced difficulty with this issue (quite a few people, it seems).</description>
		<content:encoded><![CDATA[<p>I use Cygwin&#8217;s Clisp in Cygwin&#8217;s Emacs with Slime (I&#8217;m also running Cygwin&#8217;s X11 to get the Emacs gui). I tell Slime where Clisp is in my slime.el, then load that. Works fine. ASDF works without issue for me under Cygwin. In .clisprc (which must be in the Cygwin home directory) I put -</p>
<p>#-:asdf (load &#8220;/home/Chris/asdf/asdf&#8221;)<br />
(pushnew &#8220;/home/Chris/asdf/asdf_registry/&#8221; asdf:*central-registry* :test #&#8217;equal)</p>
<p>The forward-slash after asdf_registry indicates that it&#8217;s a directory, not a file. It contains symlinks (NOT Windows shortcuts) to all my .asd files (create symlinks under cygwin with this command: ln -s /path/to/relevant/asd-file). I haven&#8217;t yet tried ASDF-Install, so can&#8217;t comment on that (suspect it won&#8217;t work, though).</p>
<p>I have also managed to get ASDF to work with the Win32 port of SBCL. SBCL comes bundled with a version of ASDF, but I could never get it to work. A patched version of asdf.lisp which DOES work can be found here -</p>
<p><a href="http://www.lichteblau.com/blubba/shortcut/asdf.lisp" rel="nofollow">http://www.lichteblau.com/blubba/shortcut/asdf.lisp</a></p>
<p>Create a .sbclrc file in your home directory (find out where SBCL thinks that is by evaluating (user-homedir-pathname)), and add the following -</p>
<p>(require &#8216;asdf)<br />
pushnew &#8220;/path/to/asdf/central-registry/&#8221; asdf:*central-registry* :test #&#8217;equal)</p>
<p>I have symlinks in my asdf registry, so I can&#8217;t vouch for ordinary Win32 shortcuts with SBCL.</p>
<p>Hope some of that helps anyone who&#8217;s understandably experienced difficulty with this issue (quite a few people, it seems).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Installing CLISP, Emacs, and SLIME on Windows XP &#187; What&#8217;s In Peter&#8217;s Head</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-464</link>
		<dc:creator>Installing CLISP, Emacs, and SLIME on Windows XP &#187; What&#8217;s In Peter&#8217;s Head</dc:creator>
		<pubDate>Fri, 16 May 2008 15:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-464</guid>
		<description>[...] week, I had been putting off setting up a CL/Emacs/SLIME environment from scratch ever since I had trouble getting ASDF to work with Lispbox. Every time I tried, I ran into some will-sapping problem like needing to find a good [...]</description>
		<content:encoded><![CDATA[<p>[...] week, I had been putting off setting up a CL/Emacs/SLIME environment from scratch ever since I had trouble getting ASDF to work with Lispbox. Every time I tried, I ran into some will-sapping problem like needing to find a good [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-274</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 03 Mar 2008 16:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-274</guid>
		<description>novaburst - I&#039;m using Windows because it&#039;s one constraint that&#039;s not that flexible, plus it&#039;s one more thing to learn while I&#039;m already juggling several.  My best machine is my work laptop (can&#039;t muck with OS), then my home desktop (share with wife, can&#039;t do Linux there), then my home laptop (weird hardware that has never run Linux well) and then my other home desktop (it has Linux on it but it&#039;s hard to get excited about your 4th best computer).

Johnny - Sorry for the posting problem - I think it&#039;s the Apache setup on my shared host.  You may have inspired me to finally deal with it (but it&#039;s one more painful thing taking me away from fun stuff).  Thanks for the tips so far, that jives with mostly with what I&#039;ve already read.  I especially appreciate the cygwin tips.  

The one tip I would give you (based on reading lots of discussions on the intarweb) is that IF YOU&#039;RE ON WINDOWS, DON&#039;T BOTHER WITH ASDF-INSTALL.  The process relies way too much on the Linux toolchain that trying to force Windows/Cygwin to use it just isn&#039;t worth it.  Just download packages manually and set up ASDF by hand.  When I get around to posting about my ASDF experiences, I&#039;ll link to references there.</description>
		<content:encoded><![CDATA[<p>novaburst &#8211; I&#8217;m using Windows because it&#8217;s one constraint that&#8217;s not that flexible, plus it&#8217;s one more thing to learn while I&#8217;m already juggling several.  My best machine is my work laptop (can&#8217;t muck with OS), then my home desktop (share with wife, can&#8217;t do Linux there), then my home laptop (weird hardware that has never run Linux well) and then my other home desktop (it has Linux on it but it&#8217;s hard to get excited about your 4th best computer).</p>
<p>Johnny &#8211; Sorry for the posting problem &#8211; I think it&#8217;s the Apache setup on my shared host.  You may have inspired me to finally deal with it (but it&#8217;s one more painful thing taking me away from fun stuff).  Thanks for the tips so far, that jives with mostly with what I&#8217;ve already read.  I especially appreciate the cygwin tips.  </p>
<p>The one tip I would give you (based on reading lots of discussions on the intarweb) is that IF YOU&#8217;RE ON WINDOWS, DON&#8217;T BOTHER WITH ASDF-INSTALL.  The process relies way too much on the Linux toolchain that trying to force Windows/Cygwin to use it just isn&#8217;t worth it.  Just download packages manually and set up ASDF by hand.  When I get around to posting about my ASDF experiences, I&#8217;ll link to references there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-273</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-273</guid>
		<description>ASDF is where I&#039;m stuck.  I tried following these directions for installing ASDF-INSTALL:

http://common-lisp.net/project/asdf-install/tutorial/setup.html

However, CLisp seems to be ignoring my .clisprc.

Also, there&#039;s a package called slime-asdf which comes with SLIME.  This is how to load it:

http://bc.tech.coop/blog/070927.html

However, it doesn&#039;t install ASDF itself, it just makes SLIME aware of ASDF.

That&#039;s all I&#039;ve got.  Please let me know if you get any further or exhaust any leads.</description>
		<content:encoded><![CDATA[<p>ASDF is where I&#8217;m stuck.  I tried following these directions for installing ASDF-INSTALL:</p>
<p><a href="http://common-lisp.net/project/asdf-install/tutorial/setup.html" rel="nofollow">http://common-lisp.net/project/asdf-install/tutorial/setup.html</a></p>
<p>However, CLisp seems to be ignoring my .clisprc.</p>
<p>Also, there&#8217;s a package called slime-asdf which comes with SLIME.  This is how to load it:</p>
<p><a href="http://bc.tech.coop/blog/070927.html" rel="nofollow">http://bc.tech.coop/blog/070927.html</a></p>
<p>However, it doesn&#8217;t install ASDF itself, it just makes SLIME aware of ASDF.</p>
<p>That&#8217;s all I&#8217;ve got.  Please let me know if you get any further or exhaust any leads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-272</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-272</guid>
		<description>Get SLIME.  Unzip it to the site-lisp directory, in its own slime directory.

In your .emacs:

(add-to-list &#039;load-path &quot;C:/Program Files/emacs-22.1/site-lisp/slime&quot;)
(require &#039;slime)
(slime-setup)

Now SLIME should be all set.  Restart Emacs, and issue M-x slime.  Emacs should start a Clisp process and hook a SLIME REPL to the CLisp port.</description>
		<content:encoded><![CDATA[<p>Get SLIME.  Unzip it to the site-lisp directory, in its own slime directory.</p>
<p>In your .emacs:</p>
<p>(add-to-list &#8216;load-path &#8220;C:/Program Files/emacs-22.1/site-lisp/slime&#8221;)<br />
(require &#8217;slime)<br />
(slime-setup)</p>
<p>Now SLIME should be all set.  Restart Emacs, and issue M-x slime.  Emacs should start a Clisp process and hook a SLIME REPL to the CLisp port.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-271</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-271</guid>
		<description>Before getting SLIME, you have to tell Emacs to use your Lisp binary.  I use CLisp from Cygwin for convenience and cost.  To get Emacs to pick it up, I add this to my custom-set-variables command in my .emacs:

&#039;(inferior-lisp-program &quot;C:/cygwin/bin/clisp.exe -K full&quot;)

You can, of course, use setq if you want.</description>
		<content:encoded><![CDATA[<p>Before getting SLIME, you have to tell Emacs to use your Lisp binary.  I use CLisp from Cygwin for convenience and cost.  To get Emacs to pick it up, I add this to my custom-set-variables command in my .emacs:</p>
<p>&#8216;(inferior-lisp-program &#8220;C:/cygwin/bin/clisp.exe -K full&#8221;)</p>
<p>You can, of course, use setq if you want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-270</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-270</guid>
		<description>Oops, I meant http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-22.1-bin-i386.zip.</description>
		<content:encoded><![CDATA[<p>Oops, I meant <a href="http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-22.1-bin-i386.zip" rel="nofollow">http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-22.1-bin-i386.zip</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-269</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-269</guid>
		<description>XEmacs doesn&#039;t feel right.  The GNU Emacs that comes with Cygwin can be run in two modes:  console and X-window.  Neither feel right in Windows.  So I use native Windows GNU Emacs.  (You can drag-and-drop lists of files from Windows Explorer onto the Emacs window to open them, among other things.)

Download http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-21.3-bin-i386.tar.gz, which contains the Windows binaries.  Use the Cygwin bash prompt to unzip and untar this file into its own folder (tar -xvf).  I rename the folder to emacs-22.1 and move it into C:\Program Files.

Modules intended for use by all users of the PC should be maintained in the site-lisp directory of the emacs directory.  That&#039;s where I put everything.

Native Windows Emacs has to be &quot;cygwinized&quot;, i.e. convert Unix paths to Windows paths.  To do this, get the cygwin-mount.el and setup-cygwin.el files from the Emacs Wiki and download them to site-lisp.  Then put the following in your .emacs:

(require &#039;setup-cygwin)

Unfortunately, there&#039;s a bug (unhandled case?) that SLIME trips across.  I&#039;m unclear on the specifics, but here&#039;s the workaround:

http://www.cliki.net/SLIME%20Tips
in the Cygwin section

You essentially tell Cygwin that /c is the same as C:\.</description>
		<content:encoded><![CDATA[<p>XEmacs doesn&#8217;t feel right.  The GNU Emacs that comes with Cygwin can be run in two modes:  console and X-window.  Neither feel right in Windows.  So I use native Windows GNU Emacs.  (You can drag-and-drop lists of files from Windows Explorer onto the Emacs window to open them, among other things.)</p>
<p>Download <a href="http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-21.3-bin-i386.tar.gz" rel="nofollow">http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-21.3-bin-i386.tar.gz</a>, which contains the Windows binaries.  Use the Cygwin bash prompt to unzip and untar this file into its own folder (tar -xvf).  I rename the folder to emacs-22.1 and move it into C:\Program Files.</p>
<p>Modules intended for use by all users of the PC should be maintained in the site-lisp directory of the emacs directory.  That&#8217;s where I put everything.</p>
<p>Native Windows Emacs has to be &#8220;cygwinized&#8221;, i.e. convert Unix paths to Windows paths.  To do this, get the cygwin-mount.el and setup-cygwin.el files from the Emacs Wiki and download them to site-lisp.  Then put the following in your .emacs:</p>
<p>(require &#8217;setup-cygwin)</p>
<p>Unfortunately, there&#8217;s a bug (unhandled case?) that SLIME trips across.  I&#8217;m unclear on the specifics, but here&#8217;s the workaround:</p>
<p><a href="http://www.cliki.net/SLIME%20Tips" rel="nofollow">http://www.cliki.net/SLIME%20Tips</a><br />
in the Cygwin section</p>
<p>You essentially tell Cygwin that /c is the same as C:\.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-268</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-268</guid>
		<description>Ah, to hell with it.  I don&#039;t think I can get around this, and I need all the help I can get, so I&#039;ll be commenting again in chunks.

Get Cygwin

Windows command line sucks.  Bash is much better.  Also, Cygwin comes with a package installer, a la RPM, APT, and YUM.  Also, the utilities can&#039;t be beat, so get Cygwin.

Run the setup.exe installer.  By default, the installer and all installation sources are downloaded to C:\Program Files\cygwin.  Cygwin itself is installed to C:\cygwin.

Only the core stuff is installed by default.  When you want to add another Cygwin program (like CLisp), you have to specifically enable it.  You can rerun C:\Program Files\cygwin\setup.exe at any time for this purpose.</description>
		<content:encoded><![CDATA[<p>Ah, to hell with it.  I don&#8217;t think I can get around this, and I need all the help I can get, so I&#8217;ll be commenting again in chunks.</p>
<p>Get Cygwin</p>
<p>Windows command line sucks.  Bash is much better.  Also, Cygwin comes with a package installer, a la RPM, APT, and YUM.  Also, the utilities can&#8217;t be beat, so get Cygwin.</p>
<p>Run the setup.exe installer.  By default, the installer and all installation sources are downloaded to C:\Program Files\cygwin.  Cygwin itself is installed to C:\cygwin.</p>
<p>Only the core stuff is installed by default.  When you want to add another Cygwin program (like CLisp), you have to specifically enable it.  You can rerun C:\Program Files\cygwin\setup.exe at any time for this purpose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Kwan</title>
		<link>http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/comment-page-1/#comment-267</link>
		<dc:creator>Johnny Kwan</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.pchristensen.com/blog/articles/sleeping-too-much-and-fighting-with-emacs-and-asdf/#comment-267</guid>
		<description>http://bc.tech.coop/blog/070927.html

http://common-lisp.net/project/asdf-install/tutorial/setup.html

I&#039;m facing the same challenges and had a long involved comment on how to install Cygwin, Cygwin-CLisp, Windows native Emacs, and SLIME.  But the submit failed, and I lost it, and I don&#039;t feel like typing it again.</description>
		<content:encoded><![CDATA[<p><a href="http://bc.tech.coop/blog/070927.html" rel="nofollow">http://bc.tech.coop/blog/070927.html</a></p>
<p><a href="http://common-lisp.net/project/asdf-install/tutorial/setup.html" rel="nofollow">http://common-lisp.net/project/asdf-install/tutorial/setup.html</a></p>
<p>I&#8217;m facing the same challenges and had a long involved comment on how to install Cygwin, Cygwin-CLisp, Windows native Emacs, and SLIME.  But the submit failed, and I lost it, and I don&#8217;t feel like typing it again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
