[racket] Emacs mode for Scribble coming
After a few minutes trying it, I like it a lot.
A few suggestions if I may:
- Every @something could be in a different font? (if you can scan
definitions and requires, that's even better, but I don't expect that)
- It would be nice if you could add the
@;{
blah blah
blah blah
;}
comment style.
- Comments (and more generally code) inside @( ... ) code are not recognized
either, but that might not be so easy to add
- I know @chapter{} is not in Scribble yet, but that would be nice to have
that one too
This would have been of great help two weeks ago ;)
On Mon, Jan 10, 2011 at 14:24, Laurent <laurent.orseau at gmail.com> wrote:
> Worked for me too. Thanks a lot, that is very handy!
>
> Laurent
>
>
> On Mon, Jan 10, 2011 at 13:48, Neil Van Dyke <neil at 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 <neil at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110110/44177cc3/attachment.html>