/[emacs]/emacs/src/buffer.c
ViewVC logotype

Diff of /emacs/src/buffer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.435.2.9 by miles, Wed Sep 29 07:22:19 2004 UTC revision 1.435.2.10 by miles, Wed Oct 27 05:42:02 2004 UTC
# Line 5828  If the value of the variable is t, undo Line 5828  If the value of the variable is t, undo
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.
# Line 5922  Values are interpreted as follows: Line 5922  Values are interpreted as follows:
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,

Legend:
Removed from v.1.435.2.9  
changed lines
  Added in v.1.435.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26