• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/gnus/

Lines Matching defs:prefetch

44 (defcustom gnus-use-article-prefetch 30
45 "*If non-nil, prefetch articles in groups that allow this.
46 If a number, prefetch only that many articles forward;
47 if t, prefetch as many articles as possible."
60 "List of symbols that say when to remove articles from the prefetch buffer.
68 (defcustom gnus-use-header-prefetch nil
69 "*If non-nil, prefetch the headers to the next group."
73 (defcustom gnus-async-prefetch-article-p 'gnus-async-unread-p
82 (defvar gnus-async-prefetch-article-buffer " *Async Prefetch Article*")
87 (defvar gnus-async-current-prefetch-group nil)
88 (defvar gnus-async-current-prefetch-article nil)
91 (defvar gnus-async-prefetch-headers-buffer " *Async Prefetch Headers*")
122 ;;; Article prefetch
127 (gnus-kill-buffer gnus-async-prefetch-article-buffer)
128 (gnus-kill-buffer gnus-async-prefetch-headers-buffer)
134 (nnheader-set-temp-buffer gnus-async-prefetch-article-buffer t)
138 (defun gnus-async-halt-prefetch ()
142 (defun gnus-async-prefetch-next (group article summary)
143 "Possibly prefetch several articles starting with the article after ARTICLE."
155 (gnus-async-prefetch-article group next summary)
161 0.1 nil 'gnus-async-prefetch-article
164 (defun gnus-async-prefetch-article (group article summary &optional next)
165 "Possibly prefetch several articles starting with ARTICLE."
186 (let ((n gnus-use-article-prefetch)
196 (not (funcall gnus-async-prefetch-article-p d)))
217 (get-buffer gnus-async-prefetch-article-buffer)))
221 (setq gnus-async-current-prefetch-group group)
222 (setq gnus-async-current-prefetch-article article)
233 (setq gnus-async-current-prefetch-article nil)
247 (gnus-async-prefetch-article group next summary t))))
256 (when (and (equal group gnus-async-current-prefetch-group)
257 (eq article gnus-async-current-prefetch-article))
264 ;; Remove the read article from the prefetch buffer.
283 (while (eq article gnus-async-current-prefetch-article)
295 (setq gnus-async-current-prefetch-article nil))
310 (defun gnus-async-prefetch-remove-group (group)
311 "Remove all articles belonging to GROUP from the prefetch buffer."
342 ;;; Header prefetch
345 (defun gnus-async-prefetch-headers (group)
349 (when (and gnus-use-header-prefetch
356 (nnheader-set-temp-buffer gnus-async-prefetch-headers-buffer t)
367 (when (and gnus-use-header-prefetch
373 (nnheader-set-temp-buffer gnus-async-prefetch-headers-buffer t)