unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* What version of Lisp is running in EMACS?
@ 2007-10-26  1:11 Daniel Klein
  2007-10-26  6:38 ` Harald Hanche-Olsen
  2007-10-26  8:07 ` Xah Lee
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Klein @ 2007-10-26  1:11 UTC (permalink / raw)
  To: help-gnu-emacs

I am a completely new EMACS user so please be gentle.

I need to get up to speed using Lisp (yes, I know this is not a Lisp
group).

I'm initially going to use EMACS for Lisp development and I need to
know what Lisp version is running in EMACS.

Sorry if this appears to be a 'dumb question'.

Daniel Klein

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What version of Lisp is running in EMACS?
  2007-10-26  1:11 What version of Lisp is running in EMACS? Daniel Klein
@ 2007-10-26  6:38 ` Harald Hanche-Olsen
  2007-10-26 15:05   ` Daniel Klein
  2007-10-26  8:07 ` Xah Lee
  1 sibling, 1 reply; 7+ messages in thread
From: Harald Hanche-Olsen @ 2007-10-26  6:38 UTC (permalink / raw)
  To: help-gnu-emacs

+ Daniel Klein <danielk@featherbrain.net>:

> I am a completely new EMACS user so please be gentle.
>
> I need to get up to speed using Lisp (yes, I know this is not a Lisp
> group).
>
> I'm initially going to use EMACS for Lisp development and I need to
> know what Lisp version is running in EMACS.

It's called Emacs lisp, or elisp among friends.  (Nobody capitalizes
emacs the way you did.  I notice you didn't write LISP.  Good!)

I am not so sure that elisp is the best to learn from, if your
longtime goal is to learn Common Lisp, say.  There's a risk that you
just end up learning elisp's idiosyncrasies instead.  Maybe you really
should get a Common Lisp system.  Perhaps SBCL.  There are also
commercial lisps out there with free trial versions that are quite
good.  If you for something like SBCL, you can run that under Slime
inside emacs.

Here is a good book if you wish to learn Common Lisp:

  http://www.gigamonkeys.com/book/

On that page you will find a reference to Lispbox (gee, Lisp in a
box), which just may be what you need to get stared.

For more information on your options, search the comp.lang.lisp
newsgroup.  Questions about good systems for beginners come up
regularly there.  (But it's a high volume newsgroup, so you may need
to work a bit with your search terms to find the info.)

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What version of Lisp is running in EMACS?
  2007-10-26  1:11 What version of Lisp is running in EMACS? Daniel Klein
  2007-10-26  6:38 ` Harald Hanche-Olsen
@ 2007-10-26  8:07 ` Xah Lee
  2007-10-26 15:04   ` Daniel Klein
  1 sibling, 1 reply; 7+ messages in thread
From: Xah Lee @ 2007-10-26  8:07 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 517 bytes --]

On Oct 25, 6:11 pm, Daniel Klein <dani...@featherbrain.net> wrote:
«... I need to get up to speed using Lisp (yes, I know this is not a
Lisp group).  I'm initially going to use EMACS for Lisp development
and I need to know what Lisp version is running in EMACS.»

If you are a experienced programer, say, with at least 1 year full-
time programing experience, then you might try my tutorial

Emacs Lisp Tutorial by Example
http://xahlee.org/emacs/elisp.html

  Xah
  xah@xahlee.org
  http://xahlee.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What version of Lisp is running in EMACS?
  2007-10-26  8:07 ` Xah Lee
@ 2007-10-26 15:04   ` Daniel Klein
  2007-10-26 16:54     ` Peter Dyballa
  2007-11-02  0:54     ` Tim X
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Klein @ 2007-10-26 15:04 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, 26 Oct 2007 01:07:02 -0700, Xah Lee <xah@xahlee.org> wrote:

>If you are a experienced programer, say, with at least 1 year full-
>time programing experience, then you might try my tutorial
>
>Emacs Lisp Tutorial by Example
>http://xahlee.org/emacs/elisp.html

I'm looking at the tutorial now.

Can you explain how to 'run eval-region'?

Daniel Klein

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What version of Lisp is running in EMACS?
  2007-10-26  6:38 ` Harald Hanche-Olsen
@ 2007-10-26 15:05   ` Daniel Klein
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Klein @ 2007-10-26 15:05 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, 26 Oct 2007 08:38:14 +0200, Harald Hanche-Olsen
<hanche@math.ntnu.no> wrote:


>It's called Emacs lisp, or elisp among friends.  (Nobody capitalizes
>emacs the way you did.  I notice you didn't write LISP.  Good!)
>
>I am not so sure that elisp is the best to learn from, if your
>longtime goal is to learn Common Lisp, say.  There's a risk that you
>just end up learning elisp's idiosyncrasies instead.  Maybe you really
>should get a Common Lisp system.  Perhaps SBCL.  There are also
>commercial lisps out there with free trial versions that are quite
>good.  If you for something like SBCL, you can run that under Slime
>inside emacs.
>
>Here is a good book if you wish to learn Common Lisp:
>
>  http://www.gigamonkeys.com/book/
>
>On that page you will find a reference to Lispbox (gee, Lisp in a
>box), which just may be what you need to get stared.
>
>For more information on your options, search the comp.lang.lisp
>newsgroup.  Questions about good systems for beginners come up
>regularly there.  (But it's a high volume newsgroup, so you may need
>to work a bit with your search terms to find the info.)

Ok, 'Emacs' it is from now on :)

I have just ordered Practical Common Lisp from Amazon.

Yes, I've been on comp.lang.lisp and found some very useful
information.

Thank you,

Daniel Klein

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What version of Lisp is running in EMACS?
  2007-10-26 15:04   ` Daniel Klein
@ 2007-10-26 16:54     ` Peter Dyballa
  2007-11-02  0:54     ` Tim X
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2007-10-26 16:54 UTC (permalink / raw)
  To: Daniel Klein; +Cc: help-gnu-emacs


Am 26.10.2007 um 15:04 schrieb Daniel Klein:

> Can you explain how to 'run eval-region'?

Mark (select, hi-light) the region of ELisp statements and enter M-x  
eval-region RET.

--
Mit friedvollen Grüßen

   Pete

Es geht nix über eine elektrische Klobürste!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What version of Lisp is running in EMACS?
  2007-10-26 15:04   ` Daniel Klein
  2007-10-26 16:54     ` Peter Dyballa
@ 2007-11-02  0:54     ` Tim X
  1 sibling, 0 replies; 7+ messages in thread
From: Tim X @ 2007-11-02  0:54 UTC (permalink / raw)
  To: help-gnu-emacs

Daniel Klein <danielk@featherbrain.net> writes:

> On Fri, 26 Oct 2007 01:07:02 -0700, Xah Lee <xah@xahlee.org> wrote:
>
>>If you are a experienced programer, say, with at least 1 year full-
>>time programing experience, then you might try my tutorial
>>
>>Emacs Lisp Tutorial by Example
>>http://xahlee.org/emacs/elisp.html
>
> I'm looking at the tutorial now.
>

A much much better introduction to emacs lisp is Robert J Chassell's
"An Introduction to Programming in Emacs Lisp", which is now bundled with
Emacs 22 or available from the GNU site. It has a much better structure,
is more consistent and well written and once combined with the Emacs Lisp Reference
(also bundled with Emacs 22) gives you everything you need. As an
additional benefit, it avoids the (often) ill informed pseudo political
rants Xah tends to pepper throughout much of his otherwise reasonable work
and information. 

However, if your ultimate plan is to learn Common Lisp, I would advise
against learning too much Emacs Lisp. While both languages are part of the
lisp family, there are considerable differences between them and these are
likely to cause confusion if your just beginning to learn one or the
other. 

While Emacs Lisp is almost essential if you want to become an 'Emacs power
user", many users find the editors features extremely useful and powerful
without ever having to learn emacs lisp. The combination of Emacs and SLIME
for a Common Lisp development environment is very powerful and initially is
easy to setup. The power of emacs means that you can make things as complex
and customized as you want, but don't be fooled. You don't need to go down
that road. You can get extremely powerful functionality with minimal
customization. A common mistake for new users is they feel they need to
start using the power of emacs lisp and start customizing everything right
away. Often, this is before they have used the system long enough to
appreciate why some settings are done the way they are or why some key
bindings seem 'unusual'. Once you have used the editor for some time, you
will find there is usually well thought out reasons why things have been
done/configured the way they have been. 


HTH

Tim

-- 
tcross (at) rapttech dot com dot au

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-02  0:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26  1:11 What version of Lisp is running in EMACS? Daniel Klein
2007-10-26  6:38 ` Harald Hanche-Olsen
2007-10-26 15:05   ` Daniel Klein
2007-10-26  8:07 ` Xah Lee
2007-10-26 15:04   ` Daniel Klein
2007-10-26 16:54     ` Peter Dyballa
2007-11-02  0:54     ` Tim X

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).