<div dir="ltr">A point in favor of not using block comments is that it is *much* harder to exclude block commented code from greps/regex. If you comment every line, that makes excluding those lines trivial.<div><br></div><div>Ryan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 9:41 AM, Joe Kington <span dir="ltr"><<a href="mailto:joferkington@gmail.com" target="_blank">joferkington@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><div class="gmail_quote"><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div> Ctrl + / should comment out a chunk of text on most editors that I've used (Save for e.g., vim).</div></blockquote><span></span><br></div></span><div class="gmail_quote">And it's pretty trivial to set up in vim (note that you'd tupically customize comment marker on a per-language basis through an autocmd function).  This maps commenting out a block to "-" and uncommenting to "_":<br><br><div style="margin-left:40px"><span style="font-family:monospace,monospace">" Clear all comment markers (one rule for all languages)<br>map _ :s/^\/\/\\|^--\\|^> \\|^[#"%!;]//<CR>:nohlsearch<CR><br>"Insert comment markers (assumes # unless overridden)     <br>map - :s/^/#/<CR>:nohlsearch<CR> <br><br></span></div>There are also smarter options through various plugins, as well.<br><br></div><div class="gmail_quote">At any rate, block commenting isn't something I've ever missed or felt was a limitation in any way, though that's just my $0.02.<br><br></div><div class="gmail_quote">Cheers,<br></div><div class="gmail_quote">-Joe<br></div><div class="gmail_quote"><span style="font-family:monospace,monospace"></span></div></div></div>
<br>_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Ryan May<br><br></div></div></div>
</div>