<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sat May 25 22:45:06 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/CLJ-706/CLJ-706.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>[CLJ-706] make use of deprecated namespaces/vars easier to spot</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-706</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;From the mailing list &lt;a href=&quot;http://groups.google.com/group/clojure/msg/c41d909bd58e4534&quot;&gt;http://groups.google.com/group/clojure/msg/c41d909bd58e4534&lt;/a&gt;. It is easy to use deprecated namespaces without knowing you are doing so. The documentation warnings are small, and there is no compiler warning.&lt;/p&gt;

&lt;p&gt;Some possibilities include:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;much more visible deprecation styling in the documentation&lt;/li&gt;
	&lt;li&gt;stderr warnings when referencing a deprecated thing.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I don&apos;t love the idea of stderr warnings on all the time. Rich: is there an approach to this that you would like to see a patch for?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14315">CLJ-706</key>
            <summary>make use of deprecated namespaces/vars easier to spot</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="stu">Stuart Halloway</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Jan 2011 20:39:01 -0600</created>
                <updated>Wed, 13 Feb 2013 00:38:18 -0600</updated>
                                                                            <due></due>
                    <votes>2</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="26099" author="richhickey" created="Fri, 7 Jan 2011 09:38:32 -0600"  >&lt;p&gt;I don&apos;t mind warning to stderr&lt;/p&gt;</comment>
                    <comment id="29815" author="lvanderhart" created="Fri, 26 Oct 2012 13:37:06 -0500"  >&lt;p&gt;706-deprecated-var-warning.diff adds warnings when using deprecated vars. The other three patches clean up deprecation warnings.&lt;/p&gt;</comment>
                    <comment id="29816" author="jafingerhut" created="Fri, 26 Oct 2012 14:23:20 -0500"  >&lt;p&gt;Great stuff.  I looked through the first patch, and didn&apos;t see anything in there that lets someone disable deprecation warnings from the command line, the way that &lt;b&gt;warn-on-reflection&lt;/b&gt; can today be set to true with a command line option.&lt;/p&gt;

&lt;p&gt;Is that something important to have for deprecation warnings?&lt;/p&gt;</comment>
                    <comment id="29835" author="jafingerhut" created="Sun, 28 Oct 2012 16:57:00 -0500"  >&lt;p&gt;I was hoping it would be quick and easy to add source file, line, and column info to the deprecation warning messages.  It isn&apos;t as easy as adding them to the format() call, because the method analyzeSymbol doesn&apos;t receive these values as args.  Is this deprecation check being done in a place where it is not easy to relate it to the source file, line, and column?  Could it be done in a place where that info is easily available?&lt;/p&gt;</comment>
                    <comment id="29864" author="gshayban" created="Mon, 29 Oct 2012 01:02:25 -0500"  >&lt;p&gt;Another patch - this time to warn on loading deprecated namespaces, instead of vars. This patch requires the first one.&lt;/p&gt;

&lt;p&gt;Re: line/column, I&apos;ll figure out how to thread the compile context through if it&apos;s desired.&lt;/p&gt;

&lt;p&gt;Re: Compile flag.  I have a patch for this also, but I&apos;m still verifying how to invoke.  How is warn-on-reflection set by command line?&lt;/p&gt;</comment>
                    <comment id="29865" author="jafingerhut" created="Mon, 29 Oct 2012 01:43:58 -0500"  >&lt;p&gt;Re: Compile flag.  Don&apos;t hold off on implementing a flag if you want to, but it might be worth hearing from others whether such a command line option is even desired.  I was asking in hopes of eliciting such a response.&lt;/p&gt;

&lt;p&gt;For the way that it is handled in the Clojure compiler, search for REFLECTION_WARNING_PROP and related code in Compile.java.  If you invoke the Clojure compiler directly via a Java command line, use -Dclojure.compile.warn-on-reflection=true (default is false).  See the recent email thread sent to Clojure Dev Google group if you want to know how to do it via ant or Maven.  Link: &lt;a href=&quot;https://mail.google.com/mail/?shva=1#label/clojure-dev/13aa0e34530196c3&quot;&gt;https://mail.google.com/mail/?shva=1#label/clojure-dev/13aa0e34530196c3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is also a separate command-line flag called &lt;b&gt;compiler-options&lt;/b&gt; (see Compile.java) that is implemented as a map inside the compiler.  It was added more recently than &lt;b&gt;warn-on-reflection&lt;/b&gt;, and might be the preferred method to add more such options, to avoid having to continue to add more arguments to the pushThreadBindings calls done in several places.&lt;/p&gt;</comment>
                    <comment id="29867" author="gshayban" created="Mon, 29 Oct 2012 10:36:00 -0500"  >&lt;p&gt;Thanks, Andy.&lt;/p&gt;

&lt;p&gt;Alternately for the last ns patch, it is equivalent to call (print-method msg &lt;b&gt;err&lt;/b&gt;), rather than binding &lt;b&gt;out&lt;/b&gt; to &lt;b&gt;err&lt;/b&gt;, may be more readable.  I&apos;ll be glad to send that in if it&apos;s preferable.&lt;/p&gt;</comment>
                    <comment id="30581" author="jafingerhut" created="Wed, 13 Feb 2013 00:38:18 -0600"  >&lt;p&gt;706-deprecated-var-warning-patch-v2.txt dated Feb 12 2013 is identical to 706-deprecated-var-warning.diff dated Oct 26 2012, except it applies cleanly to latest master.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11617" name="706-deprecated-var-warning.diff" size="6119" author="lvanderhart" created="Fri, 26 Oct 2012 13:37:06 -0500" />
                    <attachment id="11851" name="706-deprecated-var-warning-patch-v2.txt" size="6099" author="jafingerhut" created="Wed, 13 Feb 2013 00:38:18 -0600" />
                    <attachment id="11619" name="706-fix-deprecation-warnings-agents.diff" size="1106" author="lvanderhart" created="Fri, 26 Oct 2012 13:37:06 -0500" />
                    <attachment id="11620" name="706-fix-deprecation-warnings-on-replicate.diff" size="3031" author="lvanderhart" created="Fri, 26 Oct 2012 13:37:06 -0500" />
                    <attachment id="11618" name="706-fix-deprecation-warning-test-junit.diff" size="2669" author="lvanderhart" created="Fri, 26 Oct 2012 13:37:06 -0500" />
                    <attachment id="11638" name="706-warning-on-deprecated-ns.diff" size="942" author="gshayban" created="Mon, 29 Oct 2012 01:02:25 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10001">Code</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>