2010/7/20 Chas Emerick <cemer...@snowtide.com>

>
> On Jul 20, 2010, at 8:34 AM, Laurent PETIT wrote:
>
>  So e.g. code completion while in the file editor works on a set of
>> possible completions, and code completion while in the REPL works on another
>> set of possible completions ? e.g. if I dynamically define a new  var in the
>> REPL, it's not suggested in the editor. If someone asks the editor for
>> "macro-expansion", it will macroexpand with the definition found in the
>> "background-instance", not the one the user may just have modified/corrected
>> in the REPL but not yet re-saved in the file ...
>>
>
> Yes, that's just about right.  Files on disk are due their own treatment,
> separate from user REPLs.


Yes. So this would be a "simple to understand" behavior. What still bothers
me in the end, is that's is the kind of "simple to understand behavior"
that'll bit anybody from time to time ( after having spent 15 minutes
understanding why this doesn't work anymore: "OH YES, I have forgotten to
synchronize the REPL ...")

Easy to understand, easy to be bitten by ...

... anyway, since there's a strong point from many different voices for
making this configurable, configurable it will be :-)

Unless something really knew is taken on the table by somebody else, I'll
consider that we've achieved a round on this topic !


> By all means, a "Reload all in current REPL" command would be handy to
> bring a REPL "up to date".


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 ?

-- 
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

Reply via email to