Thanks to Peter and Brian both for pointing out my second option. For those wondering, I'm adapting a third party tool (hence no integration with ESS, for which M-x comment-region works really much better as of the last few releases), and working within a commented region which could be contextually determined as "commented-out code" would simplify the process. The second option just needs a bit more care (i.e. mapping "/*" = if(FALSE){ "*/" = } ) can be done if I'm careful. Though it wasn't necessary that "/*" be used, just something that was unambiguously identified.
best, -tony "Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05). A.J. Rossini [EMAIL PROTECTED] ______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel