5828 |
doc: /* Non-nil means that Emacs should use caches to handle long lines more quickly. |
doc: /* Non-nil means that Emacs should use caches to handle long lines more quickly. |
5829 |
|
|
5830 |
Normally, the line-motion functions work by scanning the buffer for |
Normally, the line-motion functions work by scanning the buffer for |
5831 |
newlines. Columnar operations (like move-to-column and |
newlines. Columnar operations (like `move-to-column' and |
5832 |
compute-motion) also work by scanning the buffer, summing character |
`compute-motion') also work by scanning the buffer, summing character |
5833 |
widths as they go. This works well for ordinary text, but if the |
widths as they go. This works well for ordinary text, but if the |
5834 |
buffer's lines are very long (say, more than 500 characters), these |
buffer's lines are very long (say, more than 500 characters), these |
5835 |
motion functions will take longer to execute. Emacs may also take |
motion functions will take longer to execute. Emacs may also take |
5836 |
longer to update the display. |
longer to update the display. |
5837 |
|
|
5838 |
If cache-long-line-scans is non-nil, these motion functions cache the |
If `cache-long-line-scans' is non-nil, these motion functions cache the |
5839 |
results of their scans, and consult the cache to avoid rescanning |
results of their scans, and consult the cache to avoid rescanning |
5840 |
regions of the buffer until the text is modified. The caches are most |
regions of the buffer until the text is modified. The caches are most |
5841 |
beneficial when they prevent the most searching---that is, when the |
beneficial when they prevent the most searching---that is, when the |
5842 |
buffer contains long lines and large regions of characters with the |
buffer contains long lines and large regions of characters with the |
5843 |
same, fixed screen width. |
same, fixed screen width. |
5844 |
|
|
5845 |
When cache-long-line-scans is non-nil, processing short lines will |
When `cache-long-line-scans' is non-nil, processing short lines will |
5846 |
become slightly slower (because of the overhead of consulting the |
become slightly slower (because of the overhead of consulting the |
5847 |
cache), and the caches will use memory roughly proportional to the |
cache), and the caches will use memory roughly proportional to the |
5848 |
number of newlines and characters whose screen width varies. |
number of newlines and characters whose screen width varies. |
5922 |
hollow display a hollow box cursor |
hollow display a hollow box cursor |
5923 |
bar display a vertical bar cursor with default width |
bar display a vertical bar cursor with default width |
5924 |
(bar . WIDTH) display a vertical bar cursor with width WIDTH |
(bar . WIDTH) display a vertical bar cursor with width WIDTH |
5925 |
hbar display a horisontal bar cursor with default width |
hbar display a horizontal bar cursor with default width |
5926 |
(hbar . WIDTH) display a horisontal bar cursor with width WIDTH |
(hbar . WIDTH) display a horizontal bar cursor with width WIDTH |
5927 |
ANYTHING ELSE display a hollow box cursor. |
ANYTHING ELSE display a hollow box cursor. |
5928 |
|
|
5929 |
When the buffer is displayed in a nonselected window, |
When the buffer is displayed in a nonselected window, |