On Jul 20, 9:02 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote: > Yeah. But again, please (I've asked this before, nobody answered), what do > you precisely mean by "reload all in current REPL": a reload at the > namespace level ? Or really *only* reloading the vars you carefully and > manually sent to the REPL over time ?
I'm thinking in terms of files rather than namespaces or vars: If I start a REPL and have loaded files A and B, which in turn may have loaded other files and libs, I expect that the files will be reloaded in the same way as if I selected files A and B in the editor and did a "load file" on each of them and all their dependencies. Or used (require... :reload-all) from the REPL. It's just a convenience for when there are many files to load. And no, I don't expect individual "evaluate expression" to be rerun. And it would be nice with a button/shortcut that reloads the same files, but restarts the REPL first. > Indeed, that's why I'm making the above suggestions to "challenge" your way > of working :-) It's certainly interesting. I don't expect to have accidentally hit upon the most efficient workflow possible in any conceivable world, so there may very well be room for improvements. I appreciate hearing what others are thinking around these issues, and might even pick up a trick or two :) After some more thinking, the autoload-on-save thing may not be so bad after all, although it would require some adaptions on my end (like storing expensive state in uniquely named REPL vars rather than file vars so they don't get clobbered by the autoload). But it sounds like the issue has been settled, so I'll leave it at that. jf -- 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