From a11d39156d81298b650ca23f21d3a3655e1f65d2 Mon Sep 17 00:00:00 2001 From: hmurata Date: Fri, 23 Nov 2001 03:25:23 +0000 Subject: [PATCH] Fixed section `Buffer Cache and Prefetching'. --- doc/wl-ja.texi | 44 +++++++++++++++++++------------------------- doc/wl.texi | 46 +++++++++++++++++++--------------------------- 2 files changed, 38 insertions(+), 52 deletions(-) diff --git a/doc/wl-ja.texi b/doc/wl-ja.texi index b403949..58d1cbc 100644 --- a/doc/wl-ja.texi +++ b/doc/wl-ja.texi @@ -2551,43 +2551,37 @@ prefix argument $B$D$-$G(B @kbd{/} $B$r2!$9$H!"A4$F$N;R%9%l%C%I$r3+$-$^$9!#( @subsection $B%P%C%U%!%-%c%C%7%e$H@hFI$_5!G=(B -@code{elmo-use-buffer-cache} $B$,(B non-nil $B$G$"$l$P!"0lEYFI$s$@%a%C%;!<%8$,(B -$B0lDj?t%P%C%U%!$KJ];}$5$l$^$9!#J];}$9$k%P%C%U%!$N?t$O(B -@code{elmo-buffer-cache-size} $B$G;XDj$7$^$9!#(B +$B0lEYFI$s$@%a%C%;!<%8$O0lDj?t%P%C%U%!$KJ];}$5$l$^$9!#(B +$BJ];}$9$k%P%C%U%!$N?t$O(B +@code{wl-message-buffer-cache-size} $B$G;XDj$7$^$9!#(B $B$^$?!"%a%C%;!<%8$rFI$s$G$$$k4V$Kl9g!"(B -$B$b$7(B localdir $B$H(B IMAP $B%U%)%k%@$,:.:_$7$?%^%k%A%U%)%k%@$G$O(B IMAP $B$N%a%C%;!<(B -$B%8$@$1$,@hFI$_$5$l$^$9!#$3$NJQ?t$O(B @code{wl-cache-prefetch-folder-list} -$B$h$j$bM%@h$5$l$^$9!#(B - -$B$b$7!"(Blocaldir $B$H(B localnews $B%U%)%k%@$b@hFI$_$9$k>l9g$Ol9g!"A4$F$N%U%)%k%@$G@hFI$_5!G=$,M-8z$K$J$j$^(B +$B$9!#FCDj$N%U%)%k%@l9g$K$@$1@hFI$_5!G=$rM-8z$K$7$?$$>l9g$K$O!"%U%)(B +$B%k%@l9g(B) @lisp @group -(setq wl-cache-prefetch-folder-type-list - '(nntp imap4 localdir localnews)) +(setq wl-message-buffer-prefetch-folder-type-list + '(nntp imap4)) @end group @end lisp -@item wl-cache-prefetch-folder-list -@vindex wl-cache-prefetch-folder-list +$B$3$N>l9g!"$b$7(B localdir $B$H(B IMAP $B%U%)%k%@$,:.:_$7$?%^%k%A%U%)%k%@$G$O(B +IMAP $B$N%a%C%;!<%8$@$1$,@hFI$_$5$l$^$9!#$3$NJQ?t$O(B +@code{wl-message-buffer-prefetch-folder-list} $B$h$j$bM%@h$5$l$^$9!#(B + +@item wl-message-buffer-prefetch-folder-list +@vindex wl-message-buffer-prefetch-folder-list $B=i4|@_Dj$O(B @code{nil}$B!#(B $B@hFI$_5!G=$rM-8z$K$9$k%U%)%k%@$r%U%)%k%@L>(B($B@55,I=8=(B)$B$N%j%9%H$G;XDj$7$^$9!#(B @end table diff --git a/doc/wl.texi b/doc/wl.texi index 5966613..7819c2d 100644 --- a/doc/wl.texi +++ b/doc/wl.texi @@ -2550,46 +2550,38 @@ specified size by the order of last accessed time. @subsection Buffer Cache and Prefetching -If the value of @code{elmo-use-buffer-cache} is non-nil, the messages -that are read are kept in the cache buffer. It is called `buffer -cache'. The number of cache buffer is specified by -@code{elmo-buffer-cache-size}. +The messages that are read are kept in the cache buffer. It is called +`buffer cache'. The number of cache buffer is specified by +@code{wl-message-buffer-cache-size}. There are message prefetching mechanism in the Wanderlust that -prefetches next message while you are reading. This function requires -that the value of @code{elmo-use-buffer-cache} is non-nil. +prefetches next message while you are reading. You can control the message prefetching mechanism by these two variables. @table @code -@item wl-cache-prefetch-folder-type-list -@vindex wl-cache-prefetch-folder-type-list -The initial setting is the list shown below: -@lisp -@group -(nntp imap4) -@end group -@end lisp - -@noindent -It specifies the folder types in which message prefetching is enabled. -In the initial setting, multi folder that contains localdir and imap4 -prefetches only imap4 messages. This variable precedes the value of -@code{wl-cache-prefetch-folder-list}. - -If you want to prefetch localdir and localnews also, following setting -is needed. +@item wl-message-buffer-prefetch-folder-type-list +@vindex wl-message-buffer-prefetch-folder-type-list +The initial setting is @code{t}. In this case, prefetch messages in all +folders. +If it is a list of folder types, it specifies the folder types in which +message prefetching is enabled. +Following is an example (prefetch messages in nntp and imap4 folders) @lisp @group -(setq wl-cache-prefetch-folder-type-list - '(nntp imap4 localdir localnews)) +(setq wl-message-buffer-prefetch-folder-type-list + '(nntp imap4)) @end group @end lisp -@item wl-cache-prefetch-folder-list -@vindex wl-cache-prefetch-folder-list +In this case, multi folder that contains localdir and imap4 prefetches +only imap4 messages. This variable precedes the value of +@code{wl-message-buffer-prefetch-folder-list}. + +@item wl-message-buffer-prefetch-folder-list +@vindex wl-message-buffer-prefetch-folder-list The initial setting is @code{nil}. A list of regexp of folders to enable message prefetching. @end table -- 1.7.10.4