From: Eric Hanchrow <offby1@blarg.net>
To: help-gnu-emacs@gnu.org
Subject: Re: first emacs lisp script: hello world
Date: Fri, 07 Dec 2007 09:29:31 -0800 [thread overview]
Message-ID: <87sl2ebeh0.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: 7A8AFE3F49003F46B77954A8E6A7E32C4F9325@atl2corpx2.corp.interland.net
>>>>> "Stewart" == Stewart Haddock <SHaddock@corp.web.com> writes:
Stewart> All right.. Here comes the new guy. I downloaded emacs,
Stewart> but I can not figure out how to create a hello world
Stewart> script and run it. I know this is incredibly basic, but
Stewart> when you are doing this stuff by yourself it is not
Stewart> always obvious. Can someone point the way?
Depends what you mean by "script". If you mean a standalone program
that you can invoke from the operating-system shell, then ... even if
it's theoretically possible to do that, I don't think you want to.
Ugh. But if, on the other hand, you just mean "a function I can
invoke from within Emacs that displays \"hello world\" somewhere",
there are lots of ways. Take a look at "An Introduction to
Programming in Emacs Lisp", specifically the node named "1.2 Run a
Program". If you're reading this message in Emacs 22 at this very
minute, you can easily view that node by putting your cursor at the
end of the following Lisp expression, and typing C-x C-e:
(info "(eintr)Run a Program")
--
... advocating Object-Oriented Programming is like advocating
Pants-Oriented Clothing.
-- Steve Yegge
next prev parent reply other threads:[~2007-12-07 17:29 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)
2007-12-07 17:29 ` Eric Hanchrow [this message]
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=87sl2ebeh0.fsf@offby1.atm01.sea.blarg.net \
--to=offby1@blarg.net \
--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.