%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/gnus-async.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\301%\210\311\312\313\314\315DD\316\317\320%\210\311\305\313\314\321DD\322\317\323%\210\311\324\313\314\325DD\326\317\327%\210\311\330\313\314\331DD\332\317\323%\210\311\333\313\314\334DD\335\317\314%\210\311\336\313\314\337DD\340\341\342\317\314&\207" [require gnus gnus-sum nntp custom-declare-group gnus-asynchronous nil "Support for asynchronous operations." :group custom-declare-variable gnus-use-article-prefetch funcall function #[0 "\300\207" [30] 1] "If non-nil, prefetch articles in groups that allow this.\nIf a number, prefetch only that many articles forward;\nif t, prefetch as many articles as possible." :type (choice (const :tag "off" nil) (const :tag "all" t) (integer :tag "some" 0)) #[0 "\300\207" [nil] 1] "If nil, inhibit all Gnus asynchronicity.\nIf non-nil, let the other asynch variables be heeded." boolean gnus-prefetched-article-deletion-strategy #[0 "\300\207" [(read exit)] 1] "List of symbols that say when to remove articles from the prefetch buffer.\nPossible values in this list are `read', which means that\narticles are removed as they are read, and `exit', which means\nthat all articles belonging to a group are removed on exit\nfrom that group." (set (const read) (const exit)) gnus-use-header-prefetch #[0 "\300\207" [nil] 1] "If non-nil, prefetch the headers to the next group." gnus-async-prefetch-article-p #[0 "\300\207" [gnus-async-unread-p] 1] "Function called to say whether an article should be prefetched or not.\nThe function is called with one parameter -- the article data.\nIt should return non-nil if the article is to be prefetched." gnus-async-post-fetch-function #[0 "\300\207" [ignore] 1] "Function called after an article has been prefetched.\nThe function will be called narrowed to the region of the article\nthat was fetched." :version "27.1"] 8) (defvar gnus-async-prefetch-article-buffer " *Async Prefetch Article*") (defvar gnus-async-article-alist nil) (defvar gnus-async-article-semaphore '(nil)) (defvar gnus-async-fetch-list nil) (defvar gnus-async-current-prefetch-group nil) (defvar gnus-async-current-prefetch-article nil) (defvar gnus-async-timer nil) (defvar gnus-async-prefetch-headers-buffer " *Async Prefetch Headers*") (defvar gnus-async-header-prefetched nil) #@86 Say whether GROUP is fetched from a server that supports asynchronicity. (fn GROUP) (defalias 'gnus-group-asynchronous-p #[257 "\300\301!!\207" [gnus-asynchronous-p gnus-find-method-for-group] 4 (#$ . 2720)]) #@51 Wait until SEMAPHORE is released. (fn SEMAPHORE) (defalias 'gnus-async-get-semaphore #[257 "\211J\300C\244G\301U?\205 \302\303!\210\202 \207" [nil 2 sleep-for 1] 3 (#$ . 2937)]) #@36 Release SEMAPHORE. (fn SEMAPHORE) (defalias 'gnus-async-release-semaphore #[257 "\211J\300\241\207" [nil] 3 (#$ . 3124)]) #@20 (fn &rest FORMS) (defalias 'gnus-async-with-semaphore '(macro . #[128 "\300\301\302BB\303BB\207" [unwind-protect progn (gnus-async-get-semaphore 'gnus-async-article-semaphore) ((gnus-async-release-semaphore 'gnus-async-article-semaphore))] 5 (#$ . 3253)])) (byte-code "\300\301\302\303#\304\301\305\306#\210\307\310\311\"\207" [function-put gnus-async-with-semaphore lisp-indent-function 0 put edebug-form-spec t gnus-add-shutdown gnus-async-close gnus] 5) (defalias 'gnus-async-close #[0 "\211\211\205 \305\306 !\211!\205 )\203 \307!\210\310 \210\210\n\211\211\2050 \305\306 !\211!\2050 )\203; \307!\210\310 \210\210\311\211\211\207" [gnus-async-prefetch-article-buffer buffer gnus-async-prefetch-headers-buffer gnus-async-article-alist gnus-async-header-prefetched buffer-live-p get-buffer kill-buffer gnus-prune-buffers nil] 5]) (defalias 'gnus-async-set-buffer #[0 "\301\302\"\207" [gnus-async-prefetch-article-buffer nnheader-set-temp-buffer t] 3]) #@19 Stop prefetching. (defalias 'gnus-async-halt-prefetch #[0 "\301\211\207" [gnus-async-fetch-list nil] 2 (#$ . 4231)]) #@105 Possibly prefetch several articles starting with the article after ARTICLE. (fn GROUP ARTICLE SUMMARY) (defalias 'gnus-async-prefetch-next #[771 "\211\211\205 \305\306!\211!\205 )\205_ \205_ \307!\205_ r\nq\210\310\">\262A@\211\205\\ \f\203F \3111A \312\304!0\202E \210\202F \210\313\314\315\316\317\320\321\322\n\n#\323\"\324$#\211\262)\207" [buffer gnus-asynchronous gnus-summary-buffer gnus-newsgroup-data gnus-async-timer buffer-live-p get-buffer gnus-group-asynchronous-p gnus-data-find-in (error) cancel-timer run-with-idle-timer 0.1 nil make-byte-code 0 "\304\305\300\302@\301#)\207" vconcat vector [inhibit-quit nil gnus-async-prefetch-article] 4] 15 (#$ . 4356)]) #@102 Possibly prefetch several articles starting with ARTICLE. (fn GROUP ARTICLE SUMMARY &optional NEXT) (defalias 'gnus-async-prefetch-article #[1027 "\211\205 \306\307!\211!\205 )\204 \310\216\311\312!\210\313\211)\207\n\205\314 \205\211\2039 \315\216\311\312!\210 \210 A)\211\316\317!\205\211\205S \306\307!\211!\205S )\205\203_ \205\320\216\311\312!\210\204\300 ?\262\313\f\321\">\262\313\211A\262\242\211\262\203\273 \247\203\226 \322S\211\262!\202\227 \203\273 \323 @\211\262\"\204{ \322!\203{ !\203{ B\202{ \237\266\203\310 @\262)\205\205rq\210\313\324 \210db\210\325 \262\326%\307!\203 \327\330\331\n$\210\332\"*\262)\266\202\207" [buffer gnus-async-fetch-list gnus-asynchronous gnus-use-article-prefetch gnus-newsgroup-data gnus-async-prefetch-article-p buffer-live-p get-buffer #[0 "\300\301!\207" [gnus-async-release-semaphore gnus-async-article-semaphore] 2] gnus-async-get-semaphore gnus-async-article-semaphore nil gnus-alive-p #[0 "\300\301!\207" [gnus-async-release-semaphore gnus-async-article-semaphore] 2] t gnus-group-asynchronous-p #[0 "\300\301!\207" [gnus-async-release-semaphore gnus-async-article-semaphore] 2] gnus-data-find-in natnump gnus-async-prefetched-article-entry gnus-async-set-buffer point-marker gnus-make-async-article-function gnus-message 9 "Prefetching article %d in group %s" gnus-request-article gnus-async-prefetch-article-buffer nntp-server-buffer nnheader-callback-function gnus-async-current-prefetch-group gnus-async-current-prefetch-article] 14 (#$ . 5057)]) #@67 Return a callback function. (fn GROUP ARTICLE MARK SUMMARY NEXT) (defalias 'gnus-make-async-article-function #[1285 "\300\301\302\303\304 %\305\"\306\307%\207" [make-byte-code 257 "\305\300\301\302\303\304&\207" vconcat vector [gnus-async-article-callback] 8 "\n\n(fn ARG)"] 15 (#$ . 6670)]) #@104 Function called when an async article is done being fetched. (fn ARG GROUP ARTICLE MARK SUMMARY NEXT) (defalias 'gnus-async-article-callback #[1542 "\212\306\203S \307 \210\212\214d}\210 \203&