Worked for me too. Thanks a lot, that is very handy!<br><br>Laurent<br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 13:48, Neil Van Dyke <span dir="ltr">&lt;<a href="mailto:neil@neilvandyke.org">neil@neilvandyke.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">At last, a legitimate use for the fact that a PLaneT &quot;require&quot; alone can execute arbitrary code. :)<br>


<br>
In case anyone is wondering, that &quot;require&quot; form will of course make sure that the PLaneT package is installed, and then it will go and try to find your Emacs initialization file and add/update a block of code in it like this:<br>


<br>
;;BEGIN-RACKET-SCRIBBLE-EMACS-INSTALL<br>
;; Updated: 2011-01-10T12:37:53Z<br>
(condition-case err<br>
   (require &#39;scribble &quot;/home/user/.racket/planet/300/5.0.2/cache/neil/scribble-emacs.plt/1/1/scribble&quot;)<br>
 (error (message &quot;Could not load Scribble Emacs: %s&quot; err)))<br>
;;END-RACKET-SCRIBBLE-EMACS-INSTALL<br>
<br>
It sure beats trying to give non-Emacs-power-users instructions on how to install a package for their particular Emacs setup.  I&#39;ll probably do this same thing for Quack when I get a chance.<br>
<br>
<br>
Noel Welsh wrote at 01/10/2011 07:27 AM:<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Not brave but reckless. Worked for me.<br>
</blockquote>
<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="im">
On Sun, Jan 9, 2011 at 3:50 PM, Neil Van Dyke &lt;<a href="mailto:neil@neilvandyke.org" target="_blank">neil@neilvandyke.org</a>&gt; wrote:<br>
  <br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If you&#39;re feeling brave, evaluating the following expression will install<br>
the package and also try to modify your &quot;.emacs&quot; file appropriately:<br>
<br>
  (require (planet neil/scribble-emacs/install-in-my-emacs))<br>
</blockquote></div></blockquote><font color="#888888">
<br>
-- <br>
<a href="http://www.neilvandyke.org/" target="_blank">http://www.neilvandyke.org/</a></font><div><div></div><div class="h5"><br>
_________________________________________________<br>
 For list-related administrative tasks:<br>
 <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</div></div></blockquote></div><br>