<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 17:38:47 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/NREPL-31/NREPL-31.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[NREPL-31] REPL utilities are refered into *ns* prior to every expression evaluation</title>
                <link>http://dev.clojure.org/jira/browse/NREPL-31</link>
                <project id="10022" key="NREPL">tools.nrepl</project>
                        <description>&lt;p&gt;The refers of REPL utilities (&lt;tt&gt;pst&lt;/tt&gt;, &lt;tt&gt;pprint&lt;/tt&gt;, etc) happens in &lt;tt&gt;clojure.main/repl&lt;/tt&gt;.  In a terminal/single-threaded REPL, this is called just once, so it only ever affects the &lt;tt&gt;user&lt;/tt&gt; namespace.  Every expression sent for evaluation by nREPL invokes &lt;tt&gt;clojure.main/repl&lt;/tt&gt; though, so moving &lt;tt&gt;&amp;#42;ns&amp;#42;&lt;/tt&gt; around will inadvertently cause those refers to happen over and over, into non-&lt;tt&gt;user&lt;/tt&gt; namespaces.  (I&apos;ve been enjoying having &lt;tt&gt;pprint&lt;/tt&gt; and &lt;tt&gt;pp&lt;/tt&gt; available all the time, but I&apos;d never thought much about why they were always there.)&lt;/p&gt;

&lt;p&gt;In the end, this is an nREPL bug.&lt;/p&gt;

&lt;p&gt;I don&apos;t see any easy way out off the top of my head.  I think nREPL will end up having to stop using &lt;tt&gt;clojure.main/repl&lt;/tt&gt;, and maintain a modified version of it itself (something I wanted to avoid exactly so as to benefit from the changes to &lt;tt&gt;clojure.main/repl&lt;/tt&gt; from version to version of Clojure).&lt;/p&gt;

&lt;p&gt;Suggestions most welcome.&lt;/p&gt;

&lt;p&gt;(Originally reported &lt;a href=&quot;http://code.google.com/p/counterclockwise/issues/detail?id=443&quot;&gt;here&lt;/a&gt;.)&lt;/p&gt;</description>
                <environment></environment>
            <key id="15731">NREPL-31</key>
            <summary>REPL utilities are refered into *ns* prior to every expression evaluation</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="2" iconUrl="http://dev.clojure.org/jira/images/icons/priority_critical.gif">Critical</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="cemerick">Chas Emerick</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Oct 2012 15:51:26 -0500</created>
                <updated>Mon, 22 Oct 2012 20:01:40 -0500</updated>
                    <resolved>Mon, 22 Oct 2012 20:01:40 -0500</resolved>
                            <version>0.2.0-beta9</version>
                                <fixVersion>0.2.0</fixVersion>
                <fixVersion>0.2.0-RC1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="29635" author="cemerick" created="Thu, 11 Oct 2012 14:10:12 -0500"  >&lt;p&gt;Hopefully &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-1085&quot; title=&quot;clojure.main/repl unconditionally refers REPL utilities into *ns*&quot;&gt;&lt;del&gt;CLJ-1085&lt;/del&gt;&lt;/a&gt; is resolved and this can drop off.  In the meantime, not going to hold off -beta10 for it or this.&lt;/p&gt;</comment>
                    <comment id="29770" author="cemerick" created="Mon, 22 Oct 2012 20:01:40 -0500"  >&lt;p&gt;Fixed upstream in &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-1085&quot; title=&quot;clojure.main/repl unconditionally refers REPL utilities into *ns*&quot;&gt;&lt;del&gt;CLJ-1085&lt;/del&gt;&lt;/a&gt;.  Note that this issue will continue to affect those using Clojure &amp;lt; 1.5.0.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>