From: Haris Bogdanovi� on
Hi.

How do I compile a lisp file in emacs ?
I tried some shortcuts I found on internet but it doesn't work.
It comes to a command line saying : make -k,
I don't have 'make' command.
I just downloaded emacs for windows.
Do I have to download anything else ?

Thanks
Haris


From: Captain Obvious on
HB> How do I compile a lisp file in emacs ?

What exactly are you trying to achieve?

If you just want to use some Emacs Lisp file, you don't even need to compile
it, just load. Press Alt-x load-file, then enter file name, and Emacs will
load it.

From: Tamas K Papp on
On Mon, 01 Mar 2010 14:46:00 +0100, Haris Bogdanoviæ wrote:

> Hi.
>
> How do I compile a lisp file in emacs ? I tried some shortcuts I found

Are you using SLIME in Emacs for Common Lisp? Or are you programming
in Emacs Lisp?

Tamas

From: Haris Bogdanovic on
I downloaded the source code for 'Casting spells in Lisp' so wanted to try
that out. Didn't kniw that I can load a file so it's great, I can now test
code I write.
So there are few ways for interacting with code:
evaluate expression in buffer, play with repl, loading code and compiling -
is there some other way ?
I use emacs lisp.
Loading a file will do for now but I would like to know how to compile it ?
I guess I have to download MinGW or something ?
Can I compile this source code to run it from command prompt ?


From: Giovanni Gigante on
Haris Bogdanovic wrote:
> I downloaded the source code for 'Casting spells in Lisp' so wanted to try
> that out. Didn't kniw that I can load a file so it's great, I can now test
> code I write.
> So there are few ways for interacting with code:
> evaluate expression in buffer, play with repl, loading code and compiling -
> is there some other way ?
> I use emacs lisp.
> Loading a file will do for now but I would like to know how to compile it ?
> I guess I have to download MinGW or something ?
> Can I compile this source code to run it from command prompt ?


Emacs lisp cannot be compiled. Well, okay, it can be compiled into
byte-code, but that's not probably what you mean. It can't be separated
from emacs anyway.

Also, emacs lisp is an ancient form of lisp. One learns emacs lisp only
if he's interested in programming emacs itself.

Otherwise, learn common lisp (or scheme).

(btw, there are Lisp IDEs, such as SLIME, that are *based* on emacs, but
they are not for programming in emacs lisp).