<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Remove pointless comments and ASCII art"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=62475#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Remove pointless comments and ASCII art"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=62475">bug 62475</a>
              from <span class="vcard"><a class="email" href="mailto:mostthingsweb@gmail.com" title="mostthingsweb@gmail.com">mostthingsweb@gmail.com</a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=98954" name="attach_98954" title="asciitool.py - semi-automated ASCII removal">attachment 98954</a> <a href="attachment.cgi?id=98954&action=edit" title="asciitool.py - semi-automated ASCII removal">[details]</a></span>
asciitool.py - semi-automated ASCII removal

I have been working on a tool to semi-automate this process. I have attached an
initial version; it's useable, but incomplete. Unless someone has an alternate
suggestion, for the time being I will host it here:
<a href="https://bitbucket.org/MostThingsWeb/asciitool">https://bitbucket.org/MostThingsWeb/asciitool</a> (especially while I don't have
commit access). The only preq is colorama:
<a href="https://pypi.python.org/pypi/colorama">https://pypi.python.org/pypi/colorama</a>

Screenshots: <a href="http://imgur.com/a/BO0t2">http://imgur.com/a/BO0t2</a>

Currently the tool detects ASCII art in addition to some (but not all)
pointless comments. It makes a best effort at preserving justification (leading
whitespace).

I say the tool is semi-automated because while it will make a suggestion
regarding what to do with each comment, it is ultimately up to you to decide
what to do. The tool lets you jump immediately into Vim to edit either its
suggestion or the original comment. It provides 5 lines of context before and
after, like git diff.

I'd be interested in getting some feedback regarding this, whether it's bug
reports, suggested features, or even just "why bother?"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>