On 07/17/2010 01:05 AM, Joshua Wiley wrote:
I use XEmacs + ESS, and looking for ways to add text to a region of
code, I see it is quite easy
with C-x r t.  Thanks for your great advice.


I use GNU Emacs. With a region of code actve, M-; will add the comment line (or remove it if it's already there) to each line in the region. Perhaps XEmacs has a similar keybinding?

It's nice because it's the same thing to comment or uncomment a block of code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to