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

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

Re: How to set shortcut for uncomment-region?!?


From: Thomas Traub
Subject: Re: How to set shortcut for uncomment-region?!?
Date: Tue, 14 Jan 2003 13:47:32 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

Kester Clegg wrote:
Dave Sumsky <xsumsky@fi.muni.cz> writes:


I move to the end of the third line

C-<SPC>#include <iostream>
#include <fstream>
#include <string>
                           ^

And now I have a region, which I want to comment, so I try M-;, what's
the result? This:

#include <iostream>
#include <fstream>
#include <string>                     //

But I would like to see this:

// #include <iostream>
// #include <fstream>
// #include <string>



What happens if you do M-x comment-region ?



Hi,
try C-c C-c
Greets, Thomas...



reply via email to

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