Copyright (C) 2000-2012 |
GNU Info (emacs)RegNumbersKeeping Numbers in Registers ============================ There are commands to store a number in a register, to insert the number in the buffer in decimal, and to increment it. These commands can be useful in keyboard macros (Note: Keyboard Macros). `C-u NUMBER C-x r n R' Store NUMBER into register R (`number-to-register'). `C-u NUMBER C-x r + R' Increment the number in register R by NUMBER (`increment-register'). `C-x r g R' Insert the number from register R into the buffer. `C-x r g' is the same command used to insert any other sort of register contents into the buffer. `C-x r +' with no numeric argument increments the register value by 1; `C-x r n' with no numeric argument stores zero in the register. automatically generated by info2www version 1.2.2.9 |