On Mon, Mar 28, 2011 at 4:52 PM, Lee Spector <lspec...@hampshire.edu> wrote:
> > On Mar 28, 2011, at 4:37 PM, David Nolen wrote: > > > > Using that clojure.xml, auto-indent works just fine for me. > > Hmmm. Not for me. I guess this is another instance of the issue that the OP > raised. Not sure what to try next to make it work. FWIW one reason I think > auto-indentation is critical for newbies is that my best advice to beginning > Lisp students is "auto-indent it to see where the structure isn't what you > thought it was." That reveals a large percentage of problems. Also I rely on > it myself for all of my coding. > > >> I disagree. The preferred ways to include code from libraries/files are > require or use (preferably in ns forms) and these should work. Ideally they > would find things in some obvious location (like the location of the source > file you're executing) by default, and ideally there'd be a simple way to > customize this. I think that having no way to go beyond code in a single > file, aside from using load-file, would prevent anyone from using this as > platform for more than a quick experiment. > > > > The Clojure plugin comes with a Commando script under the Plugins > > Console menu that does what you want. > > I've just fiddled with the Commando options a bit but haven't succeeded in > getting one file to find another in the same directory via "require" in an > ns form. I don't doubt that it "does what I want" or that it's "simple" to > do for you and others, but this is another instance of the problem that the > OP and I have raised. > > -Lee > http://dev.clojure.org/display/doc/Getting+Started+with+JEdit Hope that helps. David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en