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: Kester Clegg
Subject: Re: How to set shortcut for uncomment-region?!?
Date: 14 Jan 2003 10:48:36 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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 ?


-- 
************************************************************************
Kester Clegg                            Dept. of Computer Science,
Research Assistant (UTC)                University of York, 
Tel (01904) 43 27 49                    email: kester at cs.york.ac.uk
************************************************************************


reply via email to

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