non-@code{nil} value, @kbd{C-n} on the last line of a buffer creates
an additional line at the end and moves down onto it.
-@node Erasing
+@node Erasing
@section Erasing Text
@table @kbd
@item M-x hl-line-mode
Enable or disable highlighting of the current line. @xref{Cursor
Display}.
+@item M-x size-indication-mode
+Toggle automatic display of the size of the buffer.
+@xref{Optional Mode Line}.
@end table
@findex what-page
@kindex C-x =
@findex what-cursor-position
- The command @kbd{C-x =} (@code{what-cursor-position}) can be used to find out
-the column that the cursor is in, and other miscellaneous information about
-point. It displays a line in the echo area that looks like this:
+ The command @kbd{C-x =} (@code{what-cursor-position}) shows what
+column the cursor is in, and other miscellaneous information about
+point and the character after it. It displays a line in the echo area
+that looks like this:
@smallexample
-Char: c (0143, 99, 0x63) point=21044 of 26883(78%) column 53
+Char: c (0143, 99, 0x63) point=21044 of 26883(78%) column 53
@end smallexample
@noindent
The four values after @samp{Char:} describe the character that follows
point, first by showing it and then by giving its character code in
-octal, decimal and hex. For a non-ASCII multibyte character, these are
+octal, decimal and hex. For a non-@acronym{ASCII} multibyte character, these are
followed by @samp{ext} and the character's representation, in hex, in
the buffer's coding system, if that coding system encodes the character
safely and with a single byte (@pxref{Coding Systems}). If the
might display this:
@smallexample
-Char: C (0103, 67, 0x43) point=252 of 889(28%) <231 - 599> column 0
+Char: C (0103, 67, 0x43) point=252 of 889(28%) <231 - 599> column 0
@end smallexample
@noindent
point. The output might look like this:
@smallexample
-point=26957 of 26956(100%) column 0
+point=26957 of 26956(100%) column 0
@end smallexample
+@cindex character set of character at point
+@cindex font of character at point
+@cindex text properties at point
@w{@kbd{C-u C-x =}} displays additional information about a
character, including the character set name and the codes that
-identify the character within that character set; ASCII characters are
+identify the character within that character set; @acronym{ASCII} characters are
identified as belonging to the @code{ascii} character set. It also
shows the character's syntax, categories, and encodings both
internally in the buffer and externally if you save the file. It also
-shows the character's text properties, if any.
+shows the character's text properties (@pxref{Text Properties,,,
+elisp, the Emacs Lisp Reference Manual}), and any overlays containing it
+(@pxref{Overlays,,, elisp, the same manual}).
Here's an example showing the Latin-1 character A with grave accent,
-in a buffer whose coding system is @code{iso-2022-7bit} and whose
+in a buffer whose coding system is @code{iso-2022-7bit}, whose
terminal coding system is @code{iso-latin-1} (so the terminal actually
-displays the character as @samp{@`A}):
+displays the character as @samp{@`A}), and which has font-lock-mode
+(@pxref{Font Lock}) enabled:
@smallexample
character: @`A (04300, 2240, 0x8c0)
(Right-Hand Part of Latin Alphabet 1@dots{}
code point: 64
syntax: w which means: word
- category: l:Latin
+ category: l:Latin
buffer code: 0x81 0xC0
file code: ESC 2C 41 40 (encoded by coding system iso-2022-7bit)
terminal code: C0
+
+Text properties
+ font-lock-face: font-lock-variable-name-face
+ fontified: t
@end smallexample
@node Arguments
z z z}. The first @kbd{C-x z} repeats the command once, and each
subsequent @kbd{z} repeats it once again.
+@ignore
+ arch-tag: cda8952a-c439-41c1-aecf-4bc0d6482956
+@end ignore