From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: apply macro to region lines by name Date: Mon, 05 Jul 2010 19:52:07 -0700 Message-ID: <4C329A57.5010301@gmail.com> References: <48E8363E-CC44-47F0-88FD-4A86A7ADBBD1@Web.DE> <4C323378.9070507@gmail.com> <4C3297A0.4040508@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278384780 27383 80.91.229.12 (6 Jul 2010 02:53:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 02:53:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Pranav Peshwe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 04:52:59 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OVyHK-0003nn-ET for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 04:52:58 +0200 Original-Received: from localhost ([127.0.0.1]:35440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVyHJ-0002DM-PQ for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jul 2010 22:52:57 -0400 Original-Received: from [140.186.70.92] (port=50027 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVyGc-0002CF-PX for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 22:52:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVyGb-0002Ij-LO for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 22:52:14 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:45721) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVyGb-0002If-BZ for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 22:52:13 -0400 Original-Received: by pvc30 with SMTP id 30so108906pvc.0 for ; Mon, 05 Jul 2010 19:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=TQxKqkKTjxd2JhVtdPMpWQi3n2FPHWJHhtPJIyCSpr0=; b=xpHZnRSLg/YgVkJd+W7eevfwD9mXxD445cGmGHTh1FlVY8328oX+h9LTpms2zFaeRl N+SddKted1rl+t9I/C9x64fuHyd3uLJ75vEdheUgIhCFu8Z9WcRQmKL6HV/pDHbDm6eP hIM4bvM7Jc6PK+cIQvR6pbdqzJBbvkW5gXt08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=QeSZ9vtKEndmg8sDGAjRbKZjao7UWrTKgxDv+/H3eB5Xtc0mGlASnlFTpf9jt68Vhw xmaazsFIqMko4CQOuSriexIj7UrEoHr1LMEWdssxJ0LkH1G9KUWtiNneB4VwqPUbndB/ K0XwRxSCP7WLMGXgK2IBSpO+1hbOU7jUjHv1A= Original-Received: by 10.114.67.11 with SMTP id p11mr4199142waa.170.1278384730211; Mon, 05 Jul 2010 19:52:10 -0700 (PDT) Original-Received: from bhishma.homelinux.net (d66-183-47-128.bchsia.telus.net [66.183.47.128]) by mx.google.com with ESMTPS id c10sm74366082wam.13.2010.07.05.19.52.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Jul 2010 19:52:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74089 Archived-At: On Monday 05 July 2010 07:47 PM, Pranav Peshwe wrote: > That will work fine provided that the macro itself contains a command to > move to the next/previous line. Otherwise the same action will be done n > times on the one line the macro was run on. Isn't that one of the first things we learn when we learnt how to record a keyboard macro? "Always make sure after the macro is done, we end up in a position so that the entire thing can be repeated again." -- Suvayu Open source is the future. It sets us free.