[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: keyboard macro question
From: |
Harry Putnam |
Subject: |
Re: keyboard macro question |
Date: |
Fri, 02 Oct 2009 13:12:29 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:
>
> Benjamin,
> These functions are useful for this situation
> C-u 1 C-x r n a (number-to-register a)
> C-x r i a (insert-register a)
> C-x r + a (increment-register a)
I wondered if you could show an example of how this works in a
macro... when I try, it just continues to insert 1.
To reproduce:
Create macro of:
C-u 1 C-x r n a
C-x r i a
C-x r + a
then walk down this column inserting the macro
str
str
str
str
By running the macro at the end of each line, I get:
str1
str1
str1
str1
- keyboard macro question, Benjamin, 2009/10/02
- Re: keyboard macro question, Joost Kremers, 2009/10/02
- Re: keyboard macro question, David Kastrup, 2009/10/02
- Re: keyboard macro question, Colin S. Miller, 2009/10/02
- Re: keyboard macro question,
Harry Putnam <=
- Re: keyboard macro question, Eric, 2009/10/02
- Re: keyboard macro question, Xah Lee, 2009/10/04