[Top][All Lists]

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

Re: Learning LISP; Scheme vs elisp.

From: Pascal J. Bourguignon
Subject: Re: Learning LISP; Scheme vs elisp.
Date: Sat, 02 Aug 2008 00:10:43 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)

"Joel J. Adamson " <address@hidden> writes:
> I suggest you use Emacs for Scheme hacking, and that way you will learn
> the ins and outs of both. 

Oh yes, and be sure to use paredit.

Here is a quick tutorial for using scheme in emacs:

C-x C-f ~/test.scm RET
C-x 2
C-u M-x inferior-lisp RET
C-a C-k mzscheme RET             -- assuming you have  mzscheme  in the PATH.
(display "Hello") RET
C-x o                            -- return to test.scm buffer.
(define (hw)
   (newline) (display "Hello") (newline)) C-x C-e
(hw) c-x C-e
                                 -- so you can keep your source and test 
                                 -- expressions in the scm buffer, and
                                 -- send the over to the inferior-lisp
                                 -- process for execution with C-x C-e.

Have fun!

__Pascal Bourguignon__           

"Our users will know fear and cower before our software! Ship it!
Ship it and let them flee like the dogs they are!"

reply via email to

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