freenode/#lisp - IRC Chatlog
Search
19:40:18
CL-ASHOK`
pjb: :-) I know....but for beginners its hard because I have some bad habits ;) Like storing functions in the wrong files cause I'm lazy to think which is the best place to put them :D
19:40:27
pjb
CL-ASHOK`: even 323 files, 152529 LOC is not really large, it's just a normal-sized application.
19:41:16
White_Flame
it's easier to have multiple files open than the same file in different places, htough
19:41:16
pjb
CL-ASHOK`: our computers have large RAM, and fast SSD, so you can have a small number of large files.
19:42:00
pjb
CL-ASHOK`: the only thing is that in lisp, some definitions need to happen at compilation-time, so it is easier to have them in separate files, to be compiled and loaded, before we compile the rest. eg. defpackage, defmacro, defconstant.
19:42:15
CL-ASHOK`
White_Flame: How to use? Looks really interesting. I tried it and then typed psql::function-name (stored in package psql), but it didn't give me the doc string
19:43:16
pjb
now the grouping of definitions in logical units should be helped by tools such as emacs. We can use ^L in emacs buffers. But it would be nice to have something better. Like the Smalltalk Browser (systems|classes|categories|methods) and stuff like that.
19:43:58
pjb
In emacs, we could tag toplevel forms (this would be mostsly done automatically from the context, but we could add or change tags explicitely) and then emacs would provide a tag browser.
19:45:04
White_Flame
CL-ASHOK`: http://pchristensen.com/wp-content/uploads/2008/02/slimecommands.pdf
19:45:23
pjb
CL-ASHOK`: point-to-register C-x r SPC to store the point in a named register (one letter) and later, jump-to-register C-x r j <the-letter>
19:45:54
White_Flame
(there are probably newer cheatsheets around,but that's the one I happen to have bookmarked)
19:46:26
pjb
CL-ASHOK`: note that M-. M-, is a stack. You can M-. several times, and use several times M-, to pop back.