Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
485bceb5
Commit
485bceb5
authored
Apr 11, 2001
by
Richard M. Stallman
Browse files
Minor changes.
parent
e38af9bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
man/regs.texi
man/regs.texi
+15
-12
No files found.
man/regs.texi
View file @
485bceb5
...
...
@@ -5,10 +5,11 @@
@chapter Registers
@cindex registers
Emacs @dfn{registers} are places you can save text or positions for
later use. Once you save text or a rectangle in a register, you can
copy it into the buffer once or many times; you can move point to a
position saved in a register once or many times.
Emacs @dfn{registers} are compartments where you can save text,
rectangles, positions, and other things for later use. Once you save
text or a rectangle in a register, you can copy it into the buffer
once or many times; you can move point to a position saved in a
register once or many times.
@findex view-register
Each register has a name which is a single character. A register can
...
...
@@ -154,21 +155,23 @@ the number in the buffer in decimal, and to increment it. These commands
can be useful in keyboard macros (@pxref{Keyboard Macros}).
@table @kbd
@item C-u @var{number} C-x r n @var{r
eg
}
@item C-u @var{number} C-x r n @var{r}
@kindex C-x r n
@findex number-to-register
Store @var{number} into register @var{r
eg
} (@code{number-to-register}).
@item C-u @var{number} C-x r + @var{r
eg
}
Store @var{number} into register @var{r} (@code{number-to-register}).
@item C-u @var{number} C-x r + @var{r}
@kindex C-x r +
@findex increment-register
Increment the number in register @var{r
eg
} by @var{number}
Increment the number in register @var{r} by @var{number}
(@code{increment-register}).
@item C-x r g @var{r
eg
}
Insert the number from register @var{r
eg
} into the buffer.
@item C-x r g @var{r}
Insert the number from register @var{r} into the buffer.
@end table
@kbd{C-x r g} is the same command used to insert any other
sort of register contents into the buffer.
@kbd{C-x r g} is the same command used to insert any other sort of
register contents into the buffer. @kbd{C-x r +} with no numeric
argument increments the register value by 1; @kbd{C-x r n} with no
numeric argument stores zero in the register.
@node RegFiles
@section Keeping File Names in Registers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment