756 |
@node Optional Mode Line |
@node Optional Mode Line |
757 |
@section Optional Mode Line Features |
@section Optional Mode Line Features |
758 |
|
|
759 |
|
@cindex buffer size display |
760 |
|
@cindex display of buffer size |
761 |
|
@findex size-indication-mode |
762 |
|
The buffer percentage @var{pos} indicates the percentage of the |
763 |
|
buffer above the top of the window. You can additionally display the |
764 |
|
size of the buffer by typing @kbd{M-x size-indication-mode} to turn on |
765 |
|
Size Indication mode. The size will be displayed immediately |
766 |
|
following the buffer percentage like this: |
767 |
|
|
768 |
|
@example |
769 |
|
@var{POS} of @var{SIZE} |
770 |
|
@end example |
771 |
|
|
772 |
|
@noindent |
773 |
|
Here @var{SIZE} is the human readable representation of the number of |
774 |
|
characters in the buffer, which means that @samp{k} for 10^3, @samp{M} |
775 |
|
for 10^6, @samp{G} for 10^9, etc., are used to abbreviate. |
776 |
|
|
777 |
|
@cindex narrowing, and buffer size display |
778 |
|
If you have narrowed the buffer (@pxref{Narrowing}), the size of the |
779 |
|
accessible part of the buffer is shown. |
780 |
|
|
781 |
@cindex line number display |
@cindex line number display |
782 |
@cindex display of line number |
@cindex display of line number |
783 |
@findex line-number-mode |
@findex line-number-mode |
784 |
The current line number of point appears in the mode line when Line |
The current line number of point appears in the mode line when Line |
785 |
Number mode is enabled. Use the command @kbd{M-x line-number-mode} to |
Number mode is enabled. Use the command @kbd{M-x line-number-mode} to |
786 |
turn this mode on and off; normally it is on. The line number appears |
turn this mode on and off; normally it is on. The line number appears |
787 |
before the buffer percentage @var{pos}, with the letter @samp{L} to |
after the buffer percentage @var{pos}, with the letter @samp{L} to |
788 |
indicate what it is. @xref{Minor Modes}, for more information about |
indicate what it is. @xref{Minor Modes}, for more information about |
789 |
minor modes and about how to use this command. |
minor modes and about how to use this command. |
790 |
|
|