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

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

Re: one key-press to comment out lines of code?


From: Joost Kremers
Subject: Re: one key-press to comment out lines of code?
Date: 30 Apr 2014 20:09:11 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

Emanuel Berg wrote:
> Dale Snell <ddsnell@frontier.com> writes:
>
>> Set point and mark to define the region.  Then do
>>
>>     C-x r t RET ; SPC RET
>
> I think it is much better to use C-SPC, then move
> point, and then M-;.

True. But knowing about `string-rectangle` is a good thing. You never
know when you find yourself in an Emacs challenge competition and you
have to comment out a region without using `comment-region` or
`comment-dwim`. ;-)


-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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