Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Emacs setups

Name: Anonymous 2009-09-16 12:56

Since everyone in http://dis.4chan.org/read/prog/1252775746 answered "Emacs," and everyone here uses Lisp, I'm curious what your setups are. What modes make it easier to balance parens without contracting a homicidal case of carpal tunnel? What color-themes don't suck? How do I run Emacs on the bare metal?

Name: Anonymous 2009-09-16 12:57

My .emacs is just a big clusterfuck.

Name: Anonymous 2009-09-16 13:07

Install Emacs-on-Emacs and use the Emacs userland running on the Emacs colonel

Name: Anonymous 2009-09-16 13:12

What modes make it easier to balance parens without contracting a homicidal case of carpal tunnel?
Compared to what? FIOC tabbing? Curly braces and semicolons? Or, *gasp*, closing XML tags? Actually I could see FIOC working well with a lisp. A parser should be able to directly insert close parens as needed, but macrology might be a bit of a clusterfuck.

Name: Anonymous 2009-09-16 13:16

>>4
Do you mean like http://srfi.schemers.org/srfi-49/srfi-49.html ?
What modes make it easier to balance parens
Do you mean, apart from paredit?

Name: Anonymous 2009-09-16 13:18

>>4
There's SRFI 49 for OIOC in Scheme. Nobody uses it.

Name: Anonymous 2009-09-16 13:21

>>6
That's because it's Ugly As Fuck™

Name: Anonymous 2009-09-16 13:26

>>1
Emacs+SLIME(make sure to use the contribs)+Paredit

Read http://www.cliki.net/Editing%20Lisp%20Code%20with%20Emacs for some specifics.

And switch []'s bindings with (), for much faster typing if you code a lot of Lisp.

>>2 Same, I should clean it up a bit ;_;

I also have some other things in my emacs, such as:
- Setup multiple CL implementations for SLIME
- Load up SLIME and contribs, and some minor fixes for SLIME to show some hidden commands or redirect output globally.
- Load Paredit, make it on by default,
- Make SLIME autoload when open .lisp files
- Switch () with [], same fixes required for paredit too
- font-lock tricks to highlight define- do- with-
- some code highlighting options changed in Emacs(blinking cursor, safe local vars, show parens,...)
- Changed to a font I like better, I personally use color-theme-simple-1, but the light one is fine too.
- Added some new keys for inserting some common operators (like C-c l = lambda, or C-c ; - balanced comments )
- a defface to dim the paren's color a bit (making them slightly greyish, as opposed to white). This is fine, as Lisp programmers pay more attention to identation than parens.
- Some changes relating to symbol completion, changed hyperspec location to some place on my local machine
- Upcase/downcase region enabled, some modifications relating to how emacs scrolls.

I think Emacs settings are mostly personal preference, some people like to use a minimal style, while others like to have their editor do as much work as possible for them. I tend toward the latter, but I sometimes use minimal editors too, if it's convenient.

Just search around the web for examples on how to accomplish some of the things you want your Emacs to do.

Name: Anonymous 2009-09-16 13:40

>>5
>srfi-49
Yeah. Huh. Shit's kind of gross but it should please the Guidos. Of course, since lisps are already about multiple ways to do things, the Guidos are already out of the running, so I can see why no one bothers to use it.

Name: Anonymous 2009-09-16 16:03

Paredit is just one of those TextMate features that got reimplemented by smug lisp weenies after TextMate got popular.

Name: Anonymous 2009-09-16 16:20

>>10
I lol'd

Name: Anonymous 2010-12-21 16:46

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List