315 |
|
|
316 |
@findex font-lock-remove-keywords |
@findex font-lock-remove-keywords |
317 |
To remove keywords from the font-lock highlighting patterns, use the |
To remove keywords from the font-lock highlighting patterns, use the |
318 |
function @code{font-lock-remove-keywords}. |
function @code{font-lock-remove-keywords}. @xref{Search-based |
319 |
|
Fontification,,,elisp}, for documentation of the format of this list. |
320 |
|
|
321 |
@cindex just-in-time (JIT) font-lock |
@cindex just-in-time (JIT) font-lock |
322 |
@cindex background syntax highlighting |
@cindex background syntax highlighting |
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 |
|
|
1059 |
a minor mode that highlights the line containing point. Use @kbd{M-x |
a minor mode that highlights the line containing point. Use @kbd{M-x |
1060 |
hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x |
hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x |
1061 |
global-hl-line-mode} enables or disables the same mode globally. |
global-hl-line-mode} enables or disables the same mode globally. |
1062 |
|
|
1063 |
|
@ignore |
1064 |
|
arch-tag: 2219f910-2ff0-4521-b059-1bd231a536c4 |
1065 |
|
@end ignore |