[Top][All Lists]

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

Re: first emacs lisp script: hello world

From: Lennart Borgman (gmail)
Subject: Re: first emacs lisp script: hello world
Date: Fri, 07 Dec 2007 18:18:37 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Stewart Haddock wrote:
All right.. Here comes the new guy.

I downloaded emacs, but I can not figure out how to create a hello world script and run it. I know this is incredibly basic, but when you are doing this stuff by yourself it is not always obvious. Can someone point the way?


or a simple hello-world:

  (defun hello-world()
    (message "Hello!"))

put that in your *Scratch* buffer, do

  M-x eval-buffer

and then

  M-x hello-world

reply via email to

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