all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Stewart Haddock <SHaddock@corp.web.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: first emacs lisp script:  hello world
Date: Fri, 07 Dec 2007 18:18:37 +0100	[thread overview]
Message-ID: <4759806D.7080809@gmail.com> (raw)
In-Reply-To: <7A8AFE3F49003F46B77954A8E6A7E32C4F9325@atl2corpx2.corp.interland.net>

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?


Maybe

   http://www.emacswiki.org/cgi-bin/emacs-en?CategoryCode

or a simple hello-world:

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

put that in your *Scratch* buffer, do

   M-x eval-buffer

and then

   M-x hello-world

  reply	other threads:[~2007-12-07 17:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-07 15:11 first emacs lisp script: hello world Stewart Haddock
2007-12-07 17:18 ` Lennart Borgman (gmail) [this message]
2007-12-07 17:29 ` Eric Hanchrow
2007-12-07 17:44 ` Peter Dyballa
     [not found] ` <mailman.4724.1197050200.18990.help-gnu-emacs@gnu.org>
2007-12-07 22:06   ` Joel J. Adamson
2007-12-07 23:52     ` Eric Hanchrow
     [not found]     ` <mailman.4745.1197071540.18990.help-gnu-emacs@gnu.org>
2007-12-10 16:34       ` Joel J. Adamson
2007-12-10 18:39         ` thorne
2007-12-12 21:29           ` Sebastian Tennant
2007-12-13 14:19           ` Joel J. Adamson
2007-12-11 16:08         ` Exal de Jesus Garcia Carrillo
2007-12-11 18:05           ` Joel J. Adamson
     [not found] <mailman.4714.1197046346.18990.help-gnu-emacs@gnu.org>
2007-12-07 18:04 ` Joel J. Adamson
2007-12-07 18:08 ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4759806D.7080809@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=SHaddock@corp.web.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.