Google Groups Home
Help | Sign in
Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Peter Christensen  
View profile
 More options Feb 14, 12:10 pm
Newsgroups: comp.lang.lisp
From: Peter Christensen <peter.t.christen...@gmail.com>
Date: Thu, 14 Feb 2008 09:10:39 -0800 (PST)
Local: Thurs, Feb 14 2008 12:10 pm
Subject: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
In the spirit of my SLIME movie reference[1] and the positive feedback
I received[2], I've posted my Ultimate N00b SLIME/Emacs Cheat Sheet on
my website, with a little blurb about its strengths and weaknesses.
I've jokingly called it a "public beta", which basically means 1) it's
not done, and 2) I'd rather hear from experienced users what's useful
than wade through the Emacs manual looking for them.  So, if you've
ever looked over the shoulder of a new Emacs user and cringed at the
way they do things, here's your chance to make the world a better
place!

http://www.pchristensen.com/blog/articles/public-beta-open-for-ultima...

Thanks,
Peter

[1] http://www.pchristensen.com/blog/articles/reference-for-the-slimelisp...
[2] http://groups.google.com/group/comp.lang.lisp/browse_frm/thread/dc401...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Hildebrandt  
View profile
 More options Feb 14, 2:58 pm
Newsgroups: comp.lang.lisp
From: Peter Hildebrandt <peter.hildebra...@gmail.com>
Date: Thu, 14 Feb 2008 20:58:36 +0100
Local: Thurs, Feb 14 2008 2:58 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet

Peter Christensen wrote:
> In the spirit of my SLIME movie reference[1] and the positive feedback
> I received[2], I've posted my Ultimate N00b SLIME/Emacs Cheat Sheet on
> my website, with a little blurb about its strengths and weaknesses.
> I've jokingly called it a "public beta", which basically means 1) it's
> not done, and 2) I'd rather hear from experienced users what's useful
> than wade through the Emacs manual looking for them.  So, if you've
> ever looked over the shoulder of a new Emacs user and cringed at the
> way they do things, here's your chance to make the world a better
> place!

> http://www.pchristensen.com/blog/articles/public-beta-open-for-ultima...

Wow, that's pretty cool!

Personally, I use paredit for sexp based editing.  I really like it, and
I think it is worthwhile for a beginner to learn how to operate it.

paredit can be downloaded here:

http://mumble.net/~campbell/emacs/paredit.el

The file goes into your site-lisp directory.  Alternatively, install the
package for your distribution, eg. paredit-el for ubuntu.

I put the following in my .emacs
-----
(require 'paredit)
(autoload 'paredit-mode "paredit"
   "Minor mode for pseudo-structurally editing Lisp code."
   t)
(mapc (lambda (mode)
        (let ((hook (intern (concat (symbol-name mode)
                                    "-mode-hook"))))
          (add-hook hook (lambda () (paredit-mode +1)))))
       '(emacs-lisp lisp inferior-lisp))
-----

The key bindings are explained here:

http://mumble.net/~campbell/emacs/paredit.html

Peter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam  
View profile
 More options Feb 14, 3:06 pm
Newsgroups: comp.lang.lisp
From: Adam <nos...@example.com>
Date: Fri, 15 Feb 2008 09:06:13 +1300
Local: Thurs, Feb 14 2008 3:06 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet

Many thanks Peter.
As some of us on dial-up haven't seen the movie yet.

I should really download it elsewhere, and take a look.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Christensen  
View profile
 More options Feb 14, 3:35 pm
Newsgroups: comp.lang.lisp
From: Peter Christensen <peter.t.christen...@gmail.com>
Date: Thu, 14 Feb 2008 12:35:58 -0800 (PST)
Local: Thurs, Feb 14 2008 3:35 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
On Feb 14, 2:06 pm, Adam <nos...@example.com> wrote:

> Many thanks Peter.
> As some of us on dial-up haven't seen the movie yet.

> I should really download it elsewhere, and take a look.

Thanks Adam, if you want to get a feel for how powerful the Slime/
Emacs combo can be, there's probably not a better way to spend an
hour.  I'm a .NET guy by day so I'm used to Visual Studio, and I'd put
Emacs/Slime on the same shelf.  Not the same graphical tools and
modern gui, but more features and more consistent operation.  Plus,
the keyboard-centricity is great fun.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam  
View profile
 More options Feb 14, 5:27 pm
Newsgroups: comp.lang.lisp
From: Adam <nos...@example.com>
Date: Fri, 15 Feb 2008 11:27:25 +1300
Local: Thurs, Feb 14 2008 5:27 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet

Peter Christensen wrote:
> Thanks Adam, if you want to get a feel for how powerful the Slime/
> Emacs combo can be, there's probably not a better way to spend an
> hour.  I'm a .NET guy by day so I'm used to Visual Studio, and I'd put
> Emacs/Slime on the same shelf.  Not the same graphical tools and
> modern gui, but more features and more consistent operation.  Plus,
> the keyboard-centricity is great fun.

Interesting, Pete. Almost suggests you're working in XP or NT,
but perhaps not.

I have emacs+slime on my Linux box, and it works great with my  
restricted or constrained operation (the cheat-sheet will help),
but haven't taken the plunge with Emacs on my WinXP machine.

This was raised earlier in a thread of this group, but can I
ask what you recommend for Emacs (+ slime) for a machine with
a Win XP OS ?  It would be with Common Lisp too down the track.
I think my options are either Emacs (+) under Cygwin, or Xemacs.
Just cautious before I take the plunge.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Christensen  
View profile
 More options Feb 14, 6:00 pm
Newsgroups: comp.lang.lisp
From: Peter Christensen <peter.t.christen...@gmail.com>
Date: Thu, 14 Feb 2008 15:00:08 -0800 (PST)
Local: Thurs, Feb 14 2008 6:00 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
On Feb 14, 4:27 pm, Adam <nos...@example.com> wrote:

You caught me.  I have a box setup with Ubuntu but learning Linux,
Lisp, SLIME, and Emacs all at once was too much so I've stuck with XP
for now.  I use Lisp in a Box, whatever version is linked to from the
Practical Common Lisp page[1].  I don't know if it is different from
the sourceforge page[2] and right now, I'm not interested in
learning.  I'll deal with the minutiae of setup, configuration,
versions, etc later.  I've got coding to do in the meantime.  Lispbox
on Windows works just fine, no issues, no hangups at all.  Well, M-TAB
doesn't work for completion and I have to find a good alternate key
binding, but other than that it's great!

Right now I'm using SLIME functions much more than Lisp functions, so
all of the Emacs stuff I use it pretty basic and standard and I don't
think the version would make a difference for me.

-Peter

[1] http://www.gigamonkeys.com/lispbox/
[2] http://common-lisp.net/project/lispbox/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Thingstad  
View profile
 More options Feb 14, 6:27 pm
Newsgroups: comp.lang.lisp
From: "John Thingstad" <jpth...@online.no>
Date: Fri, 15 Feb 2008 00:27:12 +0100
Local: Thurs, Feb 14 2008 6:27 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
På Fri, 15 Feb 2008 00:00:08 +0100, skrev Peter Christensen  
<peter.t.christen...@gmail.com>:

> on Windows works just fine, no issues, no hangups at all.  Well, M-TAB
> doesn't work for completion and I have to find a good alternate key
> binding, but other than that it's great!

TAB itself is pretty useless when editing Lisp. So I just bind  
fuzzy-complete to that.

--------------
John Thingstad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Thingstad  
View profile
 More options Feb 14, 6:52 pm
Newsgroups: comp.lang.lisp
From: "John Thingstad" <jpth...@online.no>
Date: Fri, 15 Feb 2008 00:52:43 +0100
Local: Thurs, Feb 14 2008 6:52 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
På Fri, 15 Feb 2008 00:27:12 +0100, skrev John Thingstad  
<jpth...@online.no>:

> På Fri, 15 Feb 2008 00:00:08 +0100, skrev Peter Christensen  
> <peter.t.christen...@gmail.com>:

>> on Windows works just fine, no issues, no hangups at all.  Well, M-TAB
>> doesn't work for completion and I have to find a good alternate key
>> binding, but other than that it's great!

> TAB itself is pretty useless when editing Lisp. So I just bind  
> fuzzy-complete to that.

Correction. It is set up to be context sensitive. It fuzzy completes OR  
indents lines depending on the position of the cursor.

--------------
John Thingstad


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Elam  
View profile
 More options Feb 14, 7:04 pm
Newsgroups: comp.lang.lisp
From: Thomas Elam <tome...@gmail.com>
Date: Thu, 14 Feb 2008 16:04:57 -0800 (PST)
Local: Thurs, Feb 14 2008 7:04 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet
On Feb 14, 10:10 pm, Peter Christensen <peter.t.christen...@gmail.com>
wrote:

Peter,

Thanks a lot! I definitely need this kind of thing!

Regards,
Tom


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Kryukov  
View profile
 More options Feb 14, 7:20 pm
Newsgroups: comp.lang.lisp
From: Victor Kryukov <victor.kryu...@gmail.com>
Date: Thu, 14 Feb 2008 18:20:30 -0600
Local: Thurs, Feb 14 2008 7:20 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet

"John Thingstad" <jpth...@online.no> writes:
>> TAB itself is pretty useless when editing Lisp. So I just bind
>> fuzzy-complete to that.

> Correction. It is set up to be context sensitive. It fuzzy completes
> OR  indents lines depending on the position of the cursor.

Now, that sounds interesting! I once binded it to fuzzy complete
unconditionally, but then decided to remap it to Ctrl-Tab is I like
indentation feature as well. Could you share this bit of Emacs magic
with us?

Regards,
Victor.

--
http://macrodefinition.blogspot.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edi Weitz  
View profile
 More options Feb 14, 7:30 pm
Newsgroups: comp.lang.lisp
From: Edi Weitz <spamt...@agharta.de>
Date: Fri, 15 Feb 2008 01:30:00 +0100
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet

On Thu, 14 Feb 2008 18:20:30 -0600, Victor Kryukov <victor.kryu...@gmail.com> wrote:
> Now, that sounds interesting! I once binded it to fuzzy complete
> unconditionally, but then decided to remap it to Ctrl-Tab is I like
> indentation feature as well. Could you share this bit of Emacs magic
> with us?

There's no magic involved.  The function you want is called
`slime-indent-and-complete-symbol' and has been in SLIME since 2004 or
so.

Edi.

--

European Common Lisp Meeting, Amsterdam, April 19/20, 2008

  http://weitz.de/eclm2008/

Real email: (replace (subseq "spamt...@agharta.de" 5) "edi")


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Tilton  
View profile
 More options Feb 14, 8:28 pm
Newsgroups: comp.lang.lisp
From: Ken Tilton <kennytil...@optonline.net>
Date: Thu, 14 Feb 2008 20:28:14 -0500
Local: Thurs, Feb 14 2008 8:28 pm
Subject: Re: Help me improve my Ultimate N00b SLIME/Emacs Cheat Sheet

Edi Weitz wrote:
> On Thu, 14 Feb 2008 18:20:30 -0600, Victor Kryukov <victor.kryu...@gmail.com> wrote:

>>Now, that sounds interesting! I once binded it to fuzzy complete
>>unconditionally, but then decided to remap it to Ctrl-Tab is I like
>>indentation feature as well. Could you share this bit of Emacs magic
>>with us?

> There's no magic involved.  The function you want is called
> `slime-indent-and-complete-symbol' and has been in SLIME since 2004 or
> so.

How's Arcslime coming along?

kenny

--
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/

"In the morning, hear the Way;
  in the evening, die content!"
          &nbs