chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Re: I need some help to edit a tree


From: Graham Fawcett
Subject: Re: [Chicken-users] Re: I need some help to edit a tree
Date: Thu, 1 Mar 2007 22:03:17 -0500

On 3/1/07, Zbigniew <address@hidden> wrote:
As far as structured text editors for Scheme go, there is Emacs +
paredit.el, which I like a lot.  Though written in elisp, paredit
could certainly give you ideas if you are looking to write your own
editor in Scheme.    See http://mumble.net/~campbell/emacs/,
especially paredit.release, paredit-beta.el and paredit-beta.html.

Yes, +1 for Emacs + paredit! I have one machine that I haven't put
paredit on -- I wrote a quick Scheme script on it the other day, and
it was *so* cumbersome. Once you get used to paredit, you'll never go
back. :-)

Here's an Emacs/paredit tip (my only one!). If you use the #; syntax
to comment out an S-expression in chicken code, it will get messed up
whenever you reformat the parent sexpr (M-C-q). (Emacs thinks the
semicolon is an end-of-line comment prefix, and it adds space between
the hash and the semicolon.) But if you write it as #;;; --- with
three semicolons --- then it will still work correctly, and Emacs
won't break the # and the ; apart when you reformat.

Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]