unfortunately, clojure-load-file doesn't seem to work due to:
comint-get-source, and then after I start slime *inferior-lisp-proc*.
slime-load-file worked just fine. I wonder if there is a slime-load-all-out-of-date-files. That would be damn useful.
Some shizzle you should know
OK, so something I use a lot in other editors is bookmarking facilities.
So, in emacs we have two functions that I really care about: bookmark-set and bookmark-jump.
So, the idea is to set a point in a given file you know you will need later. You name these so they are unique.
A bookmark is a fully named entity, so these commands ask you for a name.
set: C-x r m
jump: C-x r b
The next thing I use all the time are registers if I have access to them. Basically, I want to select a bit of text and shove it into some named variable I will reuse in different contexts. Registers in emacs are single-character named entities you can put text (and other things) into and get it out of.
These commands will ask for a single character register name to place information into or get it from.
(select region then..)
copy: C-x r s
paste: C-x r i
In general, try to get by without using copy/paste. It *really* is the work of the devil. In any form.
OK, down to the basics. Remember this is aquamacs...
aquamacs-isearch-forward A-f
aquamacs-repeat-isearch
aquamacs-repeat-isearch-backward
isearch-backward C-r
isearch-forward
Don't forget basic navigation, either:
C-p
C-n
C-b
C-f
Finally, I put these two lines in my .emacs file.
(global-set-key [f4] 'slime-compile-and-load-file)
(global-set-key [f3] 'find-name-dired) //This one is *super* useful in larger projects
Trying out the various slime functions, they don't appear to work very well. The awesome ones are 'slime-who-calls and stuff like that; but anyway...
Well, we have hit the point of somewhat diminishing returns. Thus in the next post we will look at the next steps of a non-trivial clojure project.
No comments:
Post a Comment