From: Jacob Lyles
Subject: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1141774330.178888.268400@i40g2000cwc.googlegroups.com>
Sorry if this is too N00b-ish for this group, but I'm having a hell of
a time getting a Lisp editter/reader/compiler going on my system. I'm
using Gentoo Linux and I have Emacs, Slime, and SBCL on my system.
Would anybody mind giving me some pointers on how to setup my software
so that I can type and run Lisp programs?

Thanks,
Jacob

From: Jacob Lyles
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1141774618.524763.40420@u72g2000cwu.googlegroups.com>
P.S. I'm a Math guy with very little coding experience. I've worked
some in PHP, but was less than thrilled about it. Lisp looks SO COOL
and I can't wait to get up and running with it. Unfortunately, I am
very ignorant and could use some help getting started.
From: Ken Tilton
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <bwpPf.1616$Vv6.1285@fe12.lga>
Jacob Lyles wrote:
> P.S. I'm a Math guy with very little coding experience. I've worked
> some in PHP, but was less than thrilled about it. Lisp looks SO COOL
> and I can't wait to get up and running with it. Unfortunately, I am
> very ignorant and could use some help getting started.
> 

The group will check me on this, but I believe Lispworks offers a trial 
version with an integrated compiler/editor/etc you can use. That would 
have to save you a lot of trouble and work much more smoothly than (+ 
emacs slime sbcl).

ken
From: Jason
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1141774795.077826.120550@i39g2000cwa.googlegroups.com>
Jacob Lyles wrote:
> Sorry if this is too N00b-ish for this group, but I'm having a hell of
> a time getting a Lisp editter/reader/compiler going on my system. I'm
> using Gentoo Linux and I have Emacs, Slime, and SBCL on my system.
> Would anybody mind giving me some pointers on how to setup my software
> so that I can type and run Lisp programs?

Emacs comes with elisp, so you already have at least one dialect of
lisp on your system. :) However, you will most likely need to download
the elisp manual from gnu since its not shipped by default.

There should be a rpm package beginning with clisp.* somewhere on your
media disks. Install that and you should be good to rock n roll!

If the software is already installed, but you still don't see it, then
make sure your path is properly updated (most likely this means adding
/usr/local/bin).

-Jason
From: ········@gmail.com
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1141777428.514866.318980@z34g2000cwc.googlegroups.com>
> Sorry if this is too N00b-ish for this group, but I'm having a hell of
> a time getting a Lisp editter/reader/compiler going on my system. I'm

If you're new to Emacs, SLIME and CL, you're probably better off
downloading Peter Seibel's lispbox:
http://www.gigamonkeys.com/book/lispbox/download.html

It is a self-contained tar ball of everything you need to get started
and all of the versions of the software in a given tar ball are known
to work with each other. For Linux, Peter provides tar balls for 3
different CL implementations: Allegro, CLISP and SBCL.

--
Bill Clementson
From: j.k.
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1141788008.054993.261290@i40g2000cwc.googlegroups.com>
Jacob Lyles wrote:
> Sorry if this is too N00b-ish for this group, but I'm having a hell of
> a time getting a Lisp editter/reader/compiler going on my system. I'm
> using Gentoo Linux and I have Emacs, Slime, and SBCL on my system.
> Would anybody mind giving me some pointers on how to setup my software
> so that I can type and run Lisp programs?
>
> Thanks,
> Jacob

Jacob,

I have your setup exactly (Emacs, Slime, SBCL on Gentoo).

The versions that I have installed are: emacs (21.4-r1), slime
(1.2.1.20050804), and sbcl (0.9.4).

I'm not very familiar with emacs, but I have been using this combo
successfully. Apart from the default installation of those 3 packages,
all I changed was my .emacs file, which is the following:

;; wheel mouse
(global-set-key [mouse-4] 'scroll-down)
(global-set-key [mouse-5] 'scroll-up)

;; slime setup (with sbcl)
(setq inferior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime")
(require 'slime)
(slime-setup)
(add-hook 'lisp-mode-hook
          (lambda () (slime-mode t)
            (local-set-key "\r" 'newline-and-indent)
            (setq lisp-indent-function 'common-lisp-indent-function)
            (setq indent-tabs-mode nil)
            (setq browse-url-browser-function 'browse-url-w3)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
(setq common-lisp-hyperspec-root
"file:///usr/share/doc/hyperspec-7.0/HyperSpec/")


When I open Emacs, M-x (Alt-X) followed by 'slime', without the quotes,
starts up a sbcl/slime REPL, and that's it.

If you want the Hyperspec lookup to work, then you'll also have to
install the dev-lisp/hyperspec package.

Cheers,

JK
From: Jacob Lyles
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1141831626.277831.310770@p10g2000cwp.googlegroups.com>
Thanks guys, all of your suggestions have been helpful. Hopefully I'll
be up and running with Lisp by the weekend (busy work schedule in
mind-numbing job). 

Peace,
Jacob
From: Jacob Lyles
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1142053197.104213.27930@v46g2000cwv.googlegroups.com>
Ah, I have one follow up question:

where is my .emacs file located?

Thanks,
Jacob
From: j.k.
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <1142062053.608080.227440@p10g2000cwp.googlegroups.com>
Jacob Lyles wrote:
> Ah, I have one follow up question:
>
> where is my .emacs file located?
>
> Thanks,
> Jacob

In your home directory. Try "ls -a ~" or "ls -a /home/username"
assuming standard Gentoo filesystem layout.
From: Pascal Bourguignon
Subject: Re: Trying to get started in Lisp, software issues.
Date: 
Message-ID: <878xrlbt55.fsf@thalassa.informatimago.com>
"Jacob Lyles" <···········@gmail.com> writes:
> Sorry if this is too N00b-ish for this group, but I'm having a hell of
> a time getting a Lisp editter/reader/compiler going on my system. I'm
> using Gentoo Linux and I have Emacs, Slime, and SBCL on my system.
> Would anybody mind giving me some pointers on how to setup my software
> so that I can type and run Lisp programs?

Try:        http://common-lisp.net/project/slime/doc/html/slime.html
and also:   http://www.cliki.net/SLIME-HOWTO

Since you have already every thing needed installed in gentoo, there
should be no difficulties to start working.


Since you say you're a math guy, perhaps you'll be interested in ACL2?

http://www.cs.utexas.edu/~moore/acl2/
http://citeseer.ist.psu.edu/kaufmann97industrial.html

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

"Klingon function calls do not have "parameters" -- they have
"arguments" and they ALWAYS WIN THEM."