bbatsov / prelude

Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
https://prelude.emacsredux.com
5.1k stars 1.85k forks source link

For beginners ??? Not so sure... #103

Closed Arcanum-XIII closed 12 years ago

Arcanum-XIII commented 12 years ago

Hi,

General issue here, so not bug related... I'm here because I was thinking this config file will help me with my first step in emacs — and ease my way into lisp. The install is easy —can't deny it. But the configuration after is, for a beginner, very hard — without event speaking about the strange behavior I got with my MacOS X key — like the alt key not working anymore, and so, no more extended character (easily change with the (setq mac-option-modifier 'alt) line but you don't know how much time it took me to find those keymodifier on the emacswiki, understand it, and change it). Now I'm stuck trying to install and configure slime — I finally found that I have to install it from quicklisp, so I've done that within SBCL. After that, another quest to find that I was to launch (M-X prelude-load-common-lisp-slime) so M-X slime can at last be use... but now I'm stuck with "no such find or directory 'ccl'"... I know it's because the config file is, somewhere, telling it to use CCL and not SBCL, and there's probably a command inside prelude to change that, but... where's the doc ? Am I missing something ?

My beginning with vim were not THAT hard — and it was frustrating at the time. Maybe I've misunderstood the point of this "sane" config file altogether ? Installing slime by dlw it, on a bare emacs was far easier !

Oh, and it seem aquamacs doesn't like prelude a lot. Lot of strange behavior with the zenburn theme for example — but well, aquamacs feels strange ;)

bbatsov commented 12 years ago

CCL is the default Common Lisp on OSX for a reason - it has the easiest installation plus a cocoa bridge. You can easily change this by overriding the Prelude defaults in your personal dir configs. QuickLisp's slime helper is also being preferred for a reason - it makes the installation and the upgrade of SLIME as seamless as possible. That can be easily changed as well. Prelude is not a single config file - it's many small files with lots of comments in them to help you get started. If you've looked at prelude-common-lisp.el you'd probably have figured everything out pretty easy. Granted, I should have probably written more documentation :-)

On Mar 26, 2012, at 1:29 PM, Arcanum-XIII wrote:

Hi,

General issue here, so not bug related... I'm here because I was thinking this config file will help me with my first step in emacs — and ease my way into lisp. The install is easy —can't deny it. But the configuration after is, for a beginner, very hard — without event speaking about the strange behavior I got with my MacOS X key — like the alt key not working anymore, and so, no more extended character (easily change with the (setq mac-option-modifier 'alt) line but you don't know how much time it took me to find those keymodifier on the emacswiki, understand it, and change it). Now I'm stuck trying to install and configure slime — I finally found that I have to install it from quicklisp, so I've done that within SBCL. After that, another quest to find that I was to launch (M-X prelude-load-common-lisp-slime) so M-X slime can at last be use... but now I'm stuck with "no such find or directory 'ccl'"... I know it's because the config file is, somewhere, telling it to use CCL and not SBCL, and there's probably a command inside prelude to change that, but... where's the doc ? Am I missing something ?

My beginning with vim were not THAT hard — and it was frustrating at the time. Maybe I've misunderstood the point of this "sane" config file altogether ? Installing slime by dlw it, on a bare emacs was far easier !

Oh, and it seem aquamacs doesn't like prelude a lot. Lot of strange behavior with the zenburn theme for example — but well, aquamacs feels strange ;)


Reply to this email directly or view it on GitHub: https://github.com/bbatsov/emacs-prelude/issues/103

Arcanum-XIII commented 12 years ago

"brew install sbcl" was easy, can't see how it could be easier :p I will check for CCL... after all, I don't especially care (for now) which CommonLisp version I use :) I have find no way to change it easily... I've try to follow the "guide" from the slime website, but to no avail. Only solution I've found, at last, was to change the prelude-common-lisp.el file. Comment in config file are good, but I feel overwhelmed by the task of reading lot of them, without understanding everything — I'm new to Lisp, to emacs, and your config file — it can be daunting.

I know it's an irritating rant, but more documentation ! You know it's needed, your last two blog post told me that at least. And... thanks for the configuration file. Even if I don't understand everything, at least I recognize the work you've done :)

bbatsov commented 12 years ago

I totally agree - good documentation is always needed. :-)

CCL is installable via the Mac App store I think. As for your problems - create a file under the personal dir called arcanum.el (or whatever) and put the following source code in it:

(setq slime-default-lisp 'sbcl)
(prelude-load-common-lisp-slime)

I'll make the SLIME location easier to configure. If you want to use some other SLIME installation just add this to your config instead of (prelude-load-common-lisp-slime):

(load "path/to/slime/installation")

SLIME is not autoloaded by default because many people use a SLIME version modded for compatibility with Clojure (another Lisp dialect) and the two version are currently incompatible.

Arcanum-XIII commented 12 years ago

Thanks a lot :) It clears a lot of things... And I will investigate CCL too. Can't hurt (and a cocoa binding ? Nice things to have)

Arcanum-XIII commented 12 years ago

Just another quick comment : I've installed CCL which require to :

ccl has a better integration with Cocoa and things like that, but otherwise, it's crazy.

bbatsov commented 12 years ago

I guess you've missed brew install clozure-cl :-)

Arcanum-XIII commented 12 years ago

Oh yes ! And I've searched for it... with 'ccl' :D

bigos commented 9 years ago

I use SBCL, I prefer it over CCL and was disappointed when my favourite Lisp suddenly stopped working.

After adding following line to my personal.el everything works. So I hope Prelude updates will not have surprises like this one.

(setq slime-default-lisp 'sbcl)