From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: Apply space to a zone Date: Wed, 04 Apr 2012 21:28:20 +0200 Message-ID: <4F7CA0D4.2000304@dogan.se> References: <9925a186-dc35-4caa-bf79-72fa5eb3d40c@y13g2000yqj.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333567741 22499 80.91.229.3 (4 Apr 2012 19:29:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2012 19:29:01 +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 04 21:29:00 2012 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 1SFVt4-00019A-2r for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2012 21:28:58 +0200 Original-Received: from localhost ([::1]:33147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFVsu-00020M-Fx for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2012 15:28:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFVsq-000200-EC for help-gnu-emacs@gnu.org; Wed, 04 Apr 2012 15:28:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFVsn-0007Hr-RW for help-gnu-emacs@gnu.org; Wed, 04 Apr 2012 15:28:43 -0400 Original-Received: from mxf3.bahnhof.se ([213.80.101.27]:58997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFVsn-0007HG-Kn for help-gnu-emacs@gnu.org; Wed, 04 Apr 2012 15:28:41 -0400 Original-Received: from localhost (mxf3.local [127.0.0.1]) by mxf3-reinject (Postfix) with ESMTP id 9B54021169A for ; Wed, 4 Apr 2012 21:28:37 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF1) Original-Received: from mxf3.bahnhof.se ([127.0.0.1]) by localhost (mxf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id teOgZFG+21xM for ; Wed, 4 Apr 2012 21:28:35 +0200 (CEST) Original-Received: from [46.59.99.230] (h-99-230.a336.priv.bahnhof.se [46.59.99.230]) by mxf3.bahnhof.se (Postfix) with ESMTP id 14D5A21168F for ; Wed, 4 Apr 2012 21:28:34 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: <9925a186-dc35-4caa-bf79-72fa5eb3d40c@y13g2000yqj.googlegroups.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.80.101.27 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:84322 Archived-At: On 2012-04-04 21:22, Sylvain wrote: > Hello, > > I would like to apply 2 spaces for each line of a zone but I can > manage to do it, here is how I proceed: > > M-x start-kbd-macro > "do my 2 space" > end-kbd-macro > C- > "selecting my zone" > apply-macro-to-region-lines > > Thanks! > Sylvain Hi! You may want to know about rectangles: (info "(emacs) Rectangles") Specifically C-x r t and C-x r o. Hope that helps, Deniz