Worked for me too. Thanks a lot, that is very handy!

Laurent

On Mon, Jan 10, 2011 at 13:48, Neil Van Dyke <n...@neilvandyke.org> wrote:

> At last, a legitimate use for the fact that a PLaneT "require" alone can
> execute arbitrary code. :)
>
> In case anyone is wondering, that "require" 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:
>
> ;;BEGIN-RACKET-SCRIBBLE-EMACS-INSTALL
> ;; Updated: 2011-01-10T12:37:53Z
> (condition-case err
>   (require 'scribble
> "/home/user/.racket/planet/300/5.0.2/cache/neil/scribble-emacs.plt/1/1/scribble")
>  (error (message "Could not load Scribble Emacs: %s" err)))
> ;;END-RACKET-SCRIBBLE-EMACS-INSTALL
>
> It sure beats trying to give non-Emacs-power-users instructions on how to
> install a package for their particular Emacs setup.  I'll probably do this
> same thing for Quack when I get a chance.
>
>
> Noel Welsh wrote at 01/10/2011 07:27 AM:
>
>  Not brave but reckless. Worked for me.
>>
>
>
>> On Sun, Jan 9, 2011 at 3:50 PM, Neil Van Dyke <n...@neilvandyke.org>
>> wrote:
>>
>>
>>> If you're feeling brave, evaluating the following expression will install
>>> the package and also try to modify your ".emacs" file appropriately:
>>>
>>>  (require (planet neil/scribble-emacs/install-in-my-emacs))
>>>
>>
> --
> http://www.neilvandyke.org/
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to