262 |
non-@code{nil} value, @kbd{C-n} on the last line of a buffer creates |
non-@code{nil} value, @kbd{C-n} on the last line of a buffer creates |
263 |
an additional line at the end and moves down onto it. |
an additional line at the end and moves down onto it. |
264 |
|
|
265 |
@node Erasing |
@node Erasing |
266 |
@section Erasing Text |
@section Erasing Text |
267 |
|
|
268 |
@table @kbd |
@table @kbd |
605 |
|
|
606 |
@kindex C-x = |
@kindex C-x = |
607 |
@findex what-cursor-position |
@findex what-cursor-position |
608 |
The command @kbd{C-x =} (@code{what-cursor-position}) can be used to find out |
The command @kbd{C-x =} (@code{what-cursor-position}) shows what |
609 |
the column that the cursor is in, and other miscellaneous information about |
column the cursor is in, and other miscellaneous information about |
610 |
point. It displays a line in the echo area that looks like this: |
point and the character after it. It displays a line in the echo area |
611 |
|
that looks like this: |
612 |
|
|
613 |
@smallexample |
@smallexample |
614 |
Char: c (0143, 99, 0x63) point=21044 of 26883(78%) column 53 |
Char: c (0143, 99, 0x63) point=21044 of 26883(78%) column 53 |
615 |
@end smallexample |
@end smallexample |
616 |
|
|
617 |
@noindent |
@noindent |
641 |
might display this: |
might display this: |
642 |
|
|
643 |
@smallexample |
@smallexample |
644 |
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 |
645 |
@end smallexample |
@end smallexample |
646 |
|
|
647 |
@noindent |
@noindent |
666 |
identified as belonging to the @code{ascii} character set. It also |
identified as belonging to the @code{ascii} character set. It also |
667 |
shows the character's syntax, categories, and encodings both |
shows the character's syntax, categories, and encodings both |
668 |
internally in the buffer and externally if you save the file. It also |
internally in the buffer and externally if you save the file. It also |
669 |
shows the character's text properties, if any, and the font used to |
shows the character's text properties (@pxref{Text Properties,,, |
670 |
display it. |
elisp, the Emacs Lisp Reference Manual}), and any overlays containing it |
671 |
|
(@pxref{Overlays,,, elisp, the same manual}). |
672 |
|
|
673 |
Here's an example showing the Latin-1 character A with grave accent, |
Here's an example showing the Latin-1 character A with grave accent, |
674 |
in a buffer whose coding system is @code{iso-2022-7bit}, whose |
in a buffer whose coding system is @code{iso-2022-7bit}, whose |
688 |
terminal code: C0 |
terminal code: C0 |
689 |
|
|
690 |
Text properties |
Text properties |
691 |
face: font-lock-variable-name-face |
font-lock-face: font-lock-variable-name-face |
692 |
fontified: t |
fontified: t |
693 |
@end smallexample |
@end smallexample |
694 |
|
|