help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character first of all lines


From: kgold
Subject: Re: Character first of all lines
Date: 11 Jul 2003 18:33:46 GMT

Others have mentioned the general solution (any text, any column):

        C-x r t runs the command string-rectangle

If your question is really "How can I comment out a region of code"
(specific text, column 0 and maybe end of line as well):

        C-c C-c runs the command comment-region

is also useful.  emacs understands how to comment C, C++, Java, lisp,
bat, makefile, shell, html, etc.

Luiz Siqueira Neto <cybersamurai@mac.com> writes:
> How I can put some character first of all lines inside of a region?
> 
> ---
> like this:
> 
> x = 1
> print x
> 
> go to
> 
> # x = 1
> # print x


-- 
-- 
Ken Goldman   kgold@watson.ibm.com   914-784-7646


reply via email to

[Prev in Thread] Current Thread [Next in Thread]