5812 |
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. |
5813 |
|
|
5814 |
Normally, the line-motion functions work by scanning the buffer for |
Normally, the line-motion functions work by scanning the buffer for |
5815 |
newlines. Columnar operations (like move-to-column and |
newlines. Columnar operations (like `move-to-column' and |
5816 |
compute-motion) also work by scanning the buffer, summing character |
`compute-motion') also work by scanning the buffer, summing character |
5817 |
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 |
5818 |
buffer's lines are very long (say, more than 500 characters), these |
buffer's lines are very long (say, more than 500 characters), these |
5819 |
motion functions will take longer to execute. Emacs may also take |
motion functions will take longer to execute. Emacs may also take |
5820 |
longer to update the display. |
longer to update the display. |
5821 |
|
|
5822 |
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 |
5823 |
results of their scans, and consult the cache to avoid rescanning |
results of their scans, and consult the cache to avoid rescanning |
5824 |
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 |
5825 |
beneficial when they prevent the most searching---that is, when the |
beneficial when they prevent the most searching---that is, when the |
5826 |
buffer contains long lines and large regions of characters with the |
buffer contains long lines and large regions of characters with the |
5827 |
same, fixed screen width. |
same, fixed screen width. |
5828 |
|
|
5829 |
When cache-long-line-scans is non-nil, processing short lines will |
When `cache-long-line-scans' is non-nil, processing short lines will |
5830 |
become slightly slower (because of the overhead of consulting the |
become slightly slower (because of the overhead of consulting the |
5831 |
cache), and the caches will use memory roughly proportional to the |
cache), and the caches will use memory roughly proportional to the |
5832 |
number of newlines and characters whose screen width varies. |
number of newlines and characters whose screen width varies. |
5906 |
hollow display a hollow box cursor |
hollow display a hollow box cursor |
5907 |
bar display a vertical bar cursor with default width |
bar display a vertical bar cursor with default width |
5908 |
(bar . WIDTH) display a vertical bar cursor with width WIDTH |
(bar . WIDTH) display a vertical bar cursor with width WIDTH |
5909 |
hbar display a horisontal bar cursor with default width |
hbar display a horizontal bar cursor with default width |
5910 |
(hbar . WIDTH) display a horisontal bar cursor with width WIDTH |
(hbar . WIDTH) display a horizontal bar cursor with width WIDTH |
5911 |
ANYTHING ELSE display a hollow box cursor. |
ANYTHING ELSE display a hollow box cursor. |
5912 |
|
|
5913 |
When the buffer is displayed in a nonselected window, |
When the buffer is displayed in a nonselected window, |