|
From: | Colin S. Miller |
Subject: | Re: keyboard macro question |
Date: | Fri, 02 Oct 2009 15:50:23 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Benjamin wrote:
I use keyboard macros fairly frequently, but I often run into a situation where I would like to increment a number in the macro, e.g., if I start with: tmp tmp tmp tmp and I want to end with: tmp1 tmp2 tmp3 tmp4
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) HTH, Colin S. Miller
[Prev in Thread] | Current Thread | [Next in Thread] |