[Top][All Lists]

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

Re: apply macro to region lines by name

From: Suvayu Ali
Subject: Re: apply macro to region lines by name
Date: Mon, 05 Jul 2010 19:40:32 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

On Monday 05 July 2010 06:17 PM, Corey Foote wrote:

Thanks, but that only applies the macro to the last line of the region. I want 
it to apply it to every line within the region.

How about you mark the region, then `M-='. This runs `count-lines-region'. And then run `M-<no_of_lines> M-x foo'

Its not very clean but that should do it.


Open source is the future. It sets us free.

reply via email to

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