* basic.texi (Inserting Text, Erasing, Arguments): Fix usage of
@kbd and @key.
+ * anti.texi (Antinews): Fix usage of @kbd and @key.
+
2014-04-26 Eli Zaretskii <eliz@gnu.org>
* sending.texi (Mail Signature): Document signature variables used
removed. Text is now always displayed on the screen in a single
consistent direction---left to right---regardless of the underlying
script. Similarly, @kbd{C-f} and @kbd{C-b} always move the text
-cursor to the right and left respectively. Also, @key{right} and
-@key{left} are now equivalent to @kbd{C-f} and @kbd{C-b}, as you might
+cursor to the right and left respectively. Also, @key{RIGHT} and
+@key{LEFT} are now equivalent to @kbd{C-f} and @kbd{C-b}, as you might
expect, rather than moving forward or backward based on the underlying
``paragraph direction''.
@item
The option @code{delete-active-region} has been deleted. When the
-region is active, typing @key{DEL} or @key{delete} no longer deletes
+region is active, typing @key{DEL} or @key{Delete} no longer deletes
the text in the region; it deletes a single character instead.
@item
point (@pxref{Point}). The keyboard commands @kbd{C-f}, @kbd{C-b},
@kbd{C-n}, and @kbd{C-p} move point to the right, left, down, and up,
respectively. You can also move point using the @dfn{arrow keys}
-present on most keyboards: @kbd{@key{right}}, @kbd{@key{left}},
-@kbd{@key{down}}, and @kbd{@key{up}}; however, many Emacs users find
+present on most keyboards: @key{RIGHT}, @key{LEFT},
+@key{DOWN}, and @key{UP}; however, many Emacs users find
that it is slower to use the arrow keys than the control keys, because
you need to move your hand to the area of the keyboard where those
keys are located.
@findex forward-char
Move forward one character (@code{forward-char}).
-@item @key{right}
+@item @key{RIGHT}
@kindex RIGHT
@findex right-char
@vindex visual-order-cursor-movement
@findex backward-char
Move backward one character (@code{backward-char}).
-@item @key{left}
+@item @key{LEFT}
@kindex LEFT
@findex left-char
This command (@code{left-char}) behaves like @kbd{C-b}, except it
screen line as appropriate.
@item C-n
-@itemx @key{down}
+@itemx @key{DOWN}
@kindex C-n
@kindex DOWN
@findex next-line
middle of one line, you move to the middle of the next.
@item C-p
-@itemx @key{up}
+@itemx @key{UP}
@kindex C-p
@kindex UP
@findex previous-line
@findex forward-word
Move forward one word (@code{forward-word}).
-@item C-@key{right}
-@itemx M-@key{right}
+@item C-@key{RIGHT}
+@itemx M-@key{RIGHT}
@kindex C-RIGHT
@kindex M-RIGHT
@findex right-word
@findex backward-word
Move backward one word (@code{backward-word}).
-@item C-@key{left}
-@itemx M-@key{left}
+@item C-@key{LEFT}
+@itemx M-@key{LEFT}
@kindex C-LEFT
@kindex M-LEFT
@findex left-word
@item C-x 5 b @var{buffer} @key{RET}
Similar, but select @var{buffer} in a separate frame
(@code{switch-to-buffer-other-frame}).
-@item C-x @key{left}
+@item C-x @key{LEFT}
Select the previous buffer in the buffer list (@code{previous-buffer}).
-@item C-x @key{right}
+@item C-x @key{RIGHT}
Select the next buffer in the buffer list (@code{next-buffer}).
@item C-u M-g M-g
@itemx C-u M-g g
is re-established taking that file name into account (@pxref{Choosing
Modes}).
-@kindex C-x @key{left}
-@kindex C-x @key{right}
+@kindex C-x @key{LEFT}
+@kindex C-x @key{RIGHT}
@findex next-buffer
@findex previous-buffer
For conveniently switching between a few buffers, use the commands
-@kbd{C-x @key{left}} and @kbd{C-x @key{right}}. @kbd{C-x @key{left}}
+@kbd{C-x @key{LEFT}} and @kbd{C-x @key{RIGHT}}. @kbd{C-x @key{LEFT}}
(@code{previous-buffer}) selects the previous buffer (following the
order of most recent selection in the current frame), while @kbd{C-x
-@key{right}} (@code{next-buffer}) moves through buffers in the reverse
+@key{RIGHT}} (@code{next-buffer}) moves through buffers in the reverse
direction.
@kindex C-x 4 b
@samp{3}, @samp{=}, and the space character (denoted as @key{SPC}),
are entered by typing the corresponding key. @dfn{Control
characters}, such as @key{RET}, @key{TAB}, @key{DEL}, @key{ESC},
-@key{F1}, @key{Home}, and @key{left}, are also entered this way, as
+@key{F1}, @key{Home}, and @key{LEFT}, are also entered this way, as
are certain characters found on non-English keyboards
(@pxref{International}).
to this as @kbd{C-a} for short. Similarly @kbd{@key{META}-a}, or @kbd{M-a}
for short, is entered by holding down the @key{Alt} key and pressing
@kbd{a}. Modifier keys can also be applied to non-alphanumerical
-characters, e.g., @kbd{C-@key{F1}} or @kbd{M-@key{left}}.
+characters, e.g., @kbd{C-@key{F1}} or @kbd{M-@key{LEFT}}.
@cindex @key{ESC} replacing @key{META} key
You can also type Meta characters using two-character sequences
common function keys:
@table @asis
-@item @code{left}, @code{up}, @code{right}, @code{down}
+@item @code{LEFT}, @code{UP}, @code{RIGHT}, @code{DOWN}
Cursor arrow keys.
-@item @code{begin}, @code{end}, @code{home}, @code{next}, @code{prior}
+@item @code{Begin}, @code{End}, @code{Home}, @code{next}, @code{prior}
Other cursor repositioning keys.
@item @code{select}, @code{print}, @code{execute}, @code{backtab}
For example, when @samp{Num Lock} is on, the key labeled @samp{8} on
the numeric keypad produces @code{kp-8}, which is translated to
@kbd{8}; when @samp{Num Lock} is off, the same key produces
-@code{kp-up}, which is translated to @key{up}. If you rebind a key
-such as @kbd{8} or @key{up}, it affects the equivalent keypad key too.
+@code{kp-up}, which is translated to @key{UP}. If you rebind a key
+such as @kbd{8} or @key{UP}, it affects the equivalent keypad key too.
However, if you rebind a @samp{kp-} key directly, that won't affect
its non-keypad equivalent. Note that the modified keys are not
translated: for instance, if you hold down the @key{META} key while
If called with no argument, the command activates a transient mode for
adjusting the indentation of the affected lines interactively. While
-this transient mode is active, typing @key{left} or @key{right}
+this transient mode is active, typing @key{LEFT} or @key{RIGHT}
indents leftward and rightward, respectively, by one space. You can
-also type @kbd{S-@key{left}} or @kbd{S-@key{right}} to indent leftward
+also type @kbd{S-@key{LEFT}} or @kbd{S-@key{RIGHT}} to indent leftward
or rightward to the next tab stop (@pxref{Tab Stops}). Typing any
other key disables the transient mode, and resumes normal editing.
@cindex shift-selection
Finally, you can set the mark by holding down the shift key while
-typing certain cursor motion commands (such as @kbd{S-@key{right}},
+typing certain cursor motion commands (such as @kbd{S-@key{RIGHT}},
@kbd{S-C-f}, @kbd{S-C-n}, etc.). This is called @dfn{shift-selection}.
It sets the mark at point before moving point, but only if there is no
active mark set via shift-selection. The mark set by mouse commands
point (@code{choose-completion}).
@findex next-completion
-@item @key{right}
+@item @key{RIGHT}
While in the completion list buffer, this moves point to the following
completion alternative (@code{next-completion}).
@findex previous-completion
-@item @key{left}
+@item @key{LEFT}
While in the completion list buffer, this moves point to the previous
completion alternative (@code{previous-completion}).
@end table
@table @kbd
@item M-p
-@itemx @key{up}
+@itemx @key{UP}
Move to the previous item in the minibuffer history, an earlier
argument (@code{previous-history-element}).
@item M-n
-@itemx @key{down}
+@itemx @key{DOWN}
Move to the next item in the minibuffer history
(@code{next-history-element}).
@item M-r @var{regexp} @key{RET}
@kindex DOWN @r{(minibuffer history)}
@findex next-history-element
@findex previous-history-element
- While in the minibuffer, @kbd{M-p} or @key{up}
+ While in the minibuffer, @kbd{M-p} or @key{UP}
(@code{previous-history-element}) moves through the minibuffer history
list, one item at a time. Each @kbd{M-p} fetches an earlier item from
the history list into the minibuffer, replacing its existing contents.
-Typing @kbd{M-n} or @key{down} (@code{next-history-element}) moves
+Typing @kbd{M-n} or @key{DOWN} (@code{next-history-element}) moves
through the minibuffer history list in the opposite direction,
fetching later entries into the minibuffer.
@findex comint-previous-input
@kindex M-p @r{(Shell mode)}
@item M-p
-@itemx C-@key{up}
+@itemx C-@key{UP}
Fetch the next earlier old shell command.
@kindex M-n @r{(Shell mode)}
@findex comint-next-input
@item M-n
-@itemx C-@key{down}
+@itemx C-@key{DOWN}
Fetch the next later old shell command.
@kindex M-r @r{(Shell mode)}
shell commands, each replacing any text that was already present as
potential shell input. @kbd{M-n} does likewise except that it finds
successively more recent shell commands from the buffer.
-@kbd{C-@key{up}} works like @kbd{M-p}, and @kbd{C-@key{down}} like
+@kbd{C-@key{UP}} works like @kbd{M-p}, and @kbd{C-@key{DOWN}} like
@kbd{M-n}.
The history search command @kbd{M-r} begins an incremental regular
@table @kbd
@item C-c <
-@itemx C-c @key{left}
+@itemx C-c @key{LEFT}
Move left after insertion (@code{picture-movement-left}).
@item C-c >
-@itemx C-c @key{right}
+@itemx C-c @key{RIGHT}
Move right after insertion (@code{picture-movement-right}).
@item C-c ^
-@itemx C-c @key{up}
+@itemx C-c @key{UP}
Move up after insertion (@code{picture-movement-up}).
@item C-c .
-@itemx C-c @key{down}
+@itemx C-c @key{DOWN}
Move down after insertion (@code{picture-movement-down}).
@item C-c `
@itemx C-c @key{Home}