From: Karol Skocik
Subject: your .emacs config file
Date: 
Message-ID: <1137674355.348362.177790@g14g2000cwa.googlegroups.com>
Hi,
  I would really like to see experienced lisper .emacs config file. I
am still new to emacs (after 6 months) because everything is more
interesting for me than tweaking editor settings. I just want to use
it, and don't want to learn loads of stuff about emacs internals to
feel comfortable when writing Lisp code. Plus, I hope, that you will
have some commonly used tasks binded on non-finger-breaking keyboard
shortcuts. I know that there are many sources on net where you can find
out how to do stuff, but I don't want to read it, because I will need
to match the possibilities with my needs first, and than write it. If I
have a reference file, I can just copy-paste usefull stuff and don't
bother about checking one-by-one feature in huge manual.

Would you mind posting your slime/lisp related part of config file,
please?? ;-) 

Thank you, 
  Karol

From: Babar K. Zafar
Subject: Re: your .emacs config file
Date: 
Message-ID: <1137682604.341440.36890@g14g2000cwa.googlegroups.com>
http://paste.lisp.org seems to be down for the moment so I can't share
my entire .emacs configuration.

Some tips:

1. Swap [ ] with ( ) so we can type Lisp expression much faster.

(keyboard-translate ?[ ?( )
(keyboard-translate ?] ?) )
(keyboard-translate ?( ?[ )
(keyboard-translate ?) ?] )

2. Use the parenthesis editing minor mode.

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

3. Learn to use the 'slime-selector'.

Cheers,
Babar
From: senator
Subject: Re: your .emacs config file
Date: 
Message-ID: <1137724871.443849.109760@g49g2000cwa.googlegroups.com>
>   I would really like to see experienced lisper .emacs config file. I

>From Bill Clementson's blog, I found this link to Marco Baringer, the
movie maker's .emacs file.
http://bc.tech.coop/blog/050728.html -->
http://www.bese.it/~segv/mb-slime.el

I liked it so much, I stole quite big chunks of it, adding some
modifications of my own. You should have a look there too.
Additionally, don't know if this applies to you, but I do the old Caps
Lock <--> Control key swapping trick on GNU/Linux using:

xmodmap ~/emacs/keymodmaps.txt

where the ~/emacs/keymodmaps.txt file is as follows:

!One  of  the more irritating differences between keyboards is the
loca-
!tion of the Control and Shift Lock keys.  A common use of xmodmap is
to
!swap these two keys as follows:
!
! Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L


On Windows, there're registry modification programs that will set up
the appropriate key codes too (might require a computer restart).

Hope this is reasonably useful. It is available on the net if you look
(semi) hard enough. Good luck.
From: Karol Skocik
Subject: Re: your .emacs config file
Date: 
Message-ID: <1137785241.089692.208790@g43g2000cwa.googlegroups.com>
Thank you guys, I am going to dive in :)

Karol
From: Leif Dyvik
Subject: Re: your .emacs config file
Date: 
Message-ID: <1137795065.816451.96080@g44g2000cwa.googlegroups.com>
If you use Gnome 2.10 or more (perhaps earlier to...) you don't have to
mess with config files. Go to the settings for the Gnome desktop, and
look up the keyboard program. You only need to check one box in that
program, and it starts working right away. Grandmas can do it :)
From: Adrian Kubala
Subject: Re: your .emacs config file
Date: 
Message-ID: <slrndtd3qf.cfg.adrian-news@sixfingeredman.net>
On 2006-01-20, Leif Dyvik <··········@gmail.com> wrote:
> If you use Gnome 2.10 or more (perhaps earlier to...) you don't have to
> mess with config files. Go to the settings for the Gnome desktop, and
> look up the keyboard program.

Ditto KDE 3.
From: Pascal Bourguignon
Subject: Re: your .emacs config file
Date: 
Message-ID: <87y81cm6b0.fsf@thalassa.informatimago.com>
"Karol Skocik" <············@gmail.com> writes:

> Hi,
>   I would really like to see experienced lisper .emacs config file. 

http://www.informatimago.com/develop/lisp/index.html
http://www.informatimago.com/develop/emacs/index.html

cvs -z3 -d ··················@cvs.informatimago.com:/usr/local/cvs/public/chrooted-cvs/cvs co home

But I wouldn't claim expertise in emacs, even if I've been using it
for more than ten years...


> I am still new to emacs (after 6 months) because everything is more
> interesting for me than tweaking editor settings. I just want to use
> it, and don't want to learn loads of stuff about emacs internals to
> feel comfortable when writing Lisp code. 

Perhaps you want lisp-in-a-box, which comes including slime and emacs
fully configured IIAC



> Plus, I hope, that you will 
> have some commonly used tasks binded on non-finger-breaking keyboard 
> shortcuts. I know that there are many sources on net where you can find 
> out how to do stuff, but I don't want to read it, because I will need 
> to match the possibilities with my needs first, and than write it. If I 
> have a reference file, I can just copy-paste usefull stuff and don't 
> bother about checking one-by-one feature in huge manual.

Yes, but it's quite simple to bind a function to a key in emacs. 
For example:

(global-set-key (kbd "M-[")  (function insert-parentheses))
(global-set-key (kbd "M-]")  (lambda () (interactive)
                                (insert ") ; and a little comment\n"))


> Would you mind posting your slime/lisp related part of config file,
> please?? ;-) 

Have a look at my .emacs, but be warned that I've not been using slime
for more than six month, so my .emacs is probably quite outdated on
this aspect.

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

CAUTION: The mass of this product contains the energy equivalent of
85 million tons of TNT per net ounce of weight.
From: Sean Sieger
Subject: Re: your .emacs config file
Date: 
Message-ID: <8764ofadi2.fsf@gmail.com>
Pascal Bourguignon <····@mouse-potato.com> writes:

   Have a look at my .emacs, but be warned that I've not been using slime
   for more than six month, so my .emacs is probably quite outdated on
   this aspect.

Do you mind saying what you use in slime's stead?
From: Pascal Bourguignon
Subject: Re: your .emacs config file
Date: 
Message-ID: <873bjjljxn.fsf@thalassa.informatimago.com>
Sean Sieger <···········@gmail.com> writes:

> Pascal Bourguignon <····@mouse-potato.com> writes:
>
>    Have a look at my .emacs, but be warned that I've not been using slime
>    for more than six month, so my .emacs is probably quite outdated on
>    this aspect.
>
> Do you mind saying what you use in slime's stead?

The basic inferior-lisp with a couple of functions of my own.  
I plan to try again slime soon.


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

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this product, in any
manner whatsoever, will increase the amount of disorder in the
universe. Although no liability is implied herein, the consumer is
warned that this process will ultimately lead to the heat death of
the universe.