From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: one key-press to comment out lines of code? Date: 30 Apr 2014 20:09:11 GMT Message-ID: References: <87fvku94ms.fsf@skimble.plus.com> <87y4ymiqfg.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1398888626 29442 80.91.229.3 (30 Apr 2014 20:10:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 20:10:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 22:10:19 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wfape-0007gX-3Z for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 22:10:18 +0200 Original-Received: from localhost ([::1]:58987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfapd-000126-Gv for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 16:10:17 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net x75ByKpfQo4CSddeKifR4wrkjHRT7kteKuj1DjfUMuZstv9WKa Cancel-Lock: sha1:sRNzT6Zb4cSMlodEpI1qAFD2EAo= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:205231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97498 Archived-At: Emanuel Berg wrote: > Dale Snell 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)