%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/gnus-topic.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\300\304!\210\305\306\307\310\311\302%\207" [require gnus gnus-group gnus-start gnus-util custom-declare-group gnus-topic nil "Group topics." :group] 6) #@36 Minor mode for Gnus group buffers. (defvar gnus-topic-mode nil (#$ . 612)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\313\314\304\315\306\307& \210\300\316\317\320\304\321\306\307&\210\300\322\323\324\304\325\306\307&\207" [custom-declare-variable gnus-topic-mode-hook nil "Hook run in topic mode buffers." :type hook :group gnus-topic gnus-topic-line-format "%i[ %(%{%n%}%) -- %A ]%v\n" "Format of topic lines.\nIt works along the same lines as a normal formatting string,\nwith some simple extensions.\n\n%i Indentation based on topic level.\n%n Topic name.\n%v Nothing if the topic is visible, \"...\" otherwise.\n%g Number of groups in the topic.\n%a Number of unread articles in the groups in the topic.\n%A Number of unread articles in the groups in the topic and its subtopics.\n\nGeneral format specifiers can also be used.\nSee Info node `(gnus)Formatting Variables'." :link (custom-manual "(gnus)Formatting Variables") string gnus-topic-indent-level 2 "How much each subtopic should be indented." integer gnus-topic-display-empty-topics t "If non-nil, display the topic lines even of topics that have no unread articles." boolean] 10) (defvar gnus-topic-active-topology nil) (defvar gnus-topic-active-alist nil) (defvar gnus-topic-unreads nil) #@56 Whether the topology has been checked in this session. (defvar gnus-topology-checked-p nil (#$ . 1904)) (defvar gnus-topic-killed-topics nil) (defvar gnus-topic-inhibit-change-level nil) (defconst gnus-topic-line-format-alist '((110 name 115) (118 visible 115) (105 indentation 115) (103 number-of-groups 100) (97 (gnus-topic-articles-in-topic entries) 100) (65 total-number-of-articles 100) (108 level 100))) (defvar gnus-topic-line-format-spec nil) #@44 The name of the topic on the current line. (defalias 'gnus-group-topic-name #[nil "\300\301 \302\"\207" [get-text-property point-at-bol gnus-topic] 3 (#$ . 2361)]) #@45 The level of the topic on the current line. (defalias 'gnus-group-topic-level #[nil "\300\301 \302\"\207" [get-text-property point-at-bol gnus-topic-level] 3 (#$ . 2531)]) #@61 The number of unread articles in topic on the current line. (defalias 'gnus-group-topic-unread #[nil "\300\301 \302\"\207" [get-text-property point-at-bol gnus-topic-unread] 3 (#$ . 2709)]) #@48 Return the number of unread articles in TOPIC. (defalias 'gnus-topic-unread #[(topic) "\302 \"A\206 \303\207" [topic gnus-topic-unreads assoc 0] 3 (#$ . 2905)]) #@48 Return non-nil if the current line is a topic. (defalias 'gnus-group-topic-p #[nil "\300 \207" [gnus-group-topic-name] 1 (#$ . 3074)]) #@49 Return non-nil if the current topic is visible. (defalias 'gnus-topic-visible-p #[nil "\300\301 \302\"\207" [get-text-property point-at-bol gnus-topic-visible] 3 (#$ . 3215)]) (defalias 'gnus-topic-articles-in-topic #[(entries) "\303\304\n\203 \n\211A\242@\211\247\203 \\\202 *\207" [number total entries 0 nil] 2]) #@40 Return the topic GROUP is a member of. (defalias 'gnus-group-topic #[(group) "\304\211\203 \n@A\235\203 \n@@\304\nA\211\204 *\207" [gnus-topic-alist out alist group nil] 3 (#$ . 3548)]) (defalias 'gnus-topic-goto-topic #[(topic) "\205\n \301\302\303\304$\207" [topic gnus-text-property-search gnus-topic nil goto] 5]) #@14 Go to TOPIC. (defalias 'gnus-topic-jump-to-topic #[(topic) "\303\304 !\305\211\203$ \n@\306 !\204 \307 !\210\310 !\210\nA\211\204\f +\306 !\207" [inhibit-read-only topic --dolist-tail-- t gnus-current-topics nil gnus-topic-goto-topic gnus-topic-goto-missing-topic gnus-topic-display-missing-topic] 3 (#$ . 3885) (list (gnus-completing-read "Go to topic" (gnus-topic-list) t))]) #@39 Return the name of the current topic. (defalias 'gnus-current-topic #[nil "\301`\302\"\206 \212\303`\302\"\211\205 b)\205 \301`Se]\302\")\207" [point get-text-property gnus-topic previous-single-property-change] 4 (#$ . 4275)]) #@98 Return a list of all current topics, lowest in hierarchy first. If TOPIC, start with that topic. (defalias 'gnus-current-topics #[(&optional topic) "\206 \302 \303\211\203 B\304!\211\204 \237*\207" [topic topics gnus-current-topic nil gnus-topic-parent-topic] 3 (#$ . 4514)]) #@61 Say whether the current topic comes from the active topics. (defalias 'gnus-group-active-topic-p #[nil "\300\301 \302\"\207" [get-text-property point-at-bol gnus-active] 3 (#$ . 4808)]) #@104 Return entries for all visible groups in TOPIC. If RECURSIVE is t, return groups in its subtopics too. (defalias 'gnus-topic-find-groups #[(topic &optional level all lowest recursive) "\306 \"A\307\211\211\211\211\211\211\211\206! \310\206* \203\211A\242\211\203\225 \311\"\211A@\3128\311\"@\206m \313\232?\205m \n\205m \nAT\n@Z\211A@\211:\203~ \211@\202 \211\266\202\206\223 \235\203\221 \202\223 \203, X\203, Y\203, !\204\373 \314=\204\275 \307=\203\302 \"\202\306 \315V\204\373 #\203\330 \316\3178\236A\204\373 $\203\346 \320$\"\204\373 %\235\204\373 \321 >\204\373 \321 \236A\203, \206\fB\202, \f\237&\203H&\314=\203\322!A&&A\307'\211(\203G(@'\f\323'@@!'%\244(A\211(\204(*\f. \207" [topic gnus-topic-alist active entry visible-groups params assoc nil 1 gethash 5 "dummy.group" t 0 tick 3 string-match visible gnus-topic-find-topology gnus-topic-find-groups group unread clevel info groups lowest level gnus-level-unsubscribed gnus-newsrc-hashtb gnus-active-hashtb gnus-zombie-list gnus-level-zombie gnus-level-killed all gnus-group-list-inactive-groups gnus-list-groups-with-ticked-articles gnus-permanently-visible-groups gnus-group-marked recursive topic-topology --dolist-tail--] 10 (#$ . 5001)]) #@32 Go to the N'th previous topic. (defalias 'gnus-topic-goto-previous-topic #[(n) "\301[!\207" [n gnus-topic-goto-next-topic] 2 (#$ . 6338) "p"]) #@28 Go to the N'th next topic. (defalias 'gnus-topic-goto-next-topic #[(n) "\303W\304!\305 \303V\203. \n\203 \306 !\202 \307 !\211\203. \310 !\210S\211\202\f \303U\2049 \311\312\313\"\210+\207" [n topic backward 0 abs gnus-current-topic gnus-topic-previous-topic gnus-topic-next-topic gnus-topic-goto-topic gnus-message 7 "No more topics"] 4 (#$ . 6488) "p"]) #@55 Return the previous topic on the same level as TOPIC. (defalias 'gnus-topic-previous-topic #[(topic) "\302\303!!AA @@@\232?\205+ \203' A@@@\232\204' A\211\204 @@@)\207" [topic top gnus-topic-find-topology gnus-topic-parent-topic] 4 (#$ . 6863)]) #@29 Return the parent of TOPIC. (defalias 'gnus-topic-parent-topic #[(topic &optional topology) "\204 \211A\242@\306\211\2031 @@@ \232\211\2041 \307 @\"\211\2041 A\211\204 \206: \n\205: \f+\207" [topology gnus-topic-topology found result parent topic nil gnus-topic-parent-topic] 4 (#$ . 7125)]) #@35 Return the next sibling of TOPIC. (defalias 'gnus-topic-next-topic #[(topic &optional previous) "\304\305!!AA\306\211\203# \n@@@\232\204# \n@@@\nA\211\204 \203+ \2020 \nA@@@*\207" [topic prev parentt previous gnus-topic-find-topology gnus-topic-parent-topic nil] 4 (#$ . 7441)]) #@60 Go to the next topic on the same level as the current one. (defalias 'gnus-topic-forward-topic #[(num) "\303 \304W\203 \305\202 \306\307 ! \304U\204. \n!\211\203. \310!\203 S\211\202 \304U\2047 db\210 +\207" [topic num way gnus-current-topic 0 gnus-topic-previous-topic gnus-topic-next-topic abs gnus-topic-goto-topic] 3 (#$ . 7735)]) #@31 Return the topology of TOPIC. (defalias 'gnus-topic-find-topology #[(topic &optional topology level remove) "\204 \306\307@@ \232\203% \n\203 \310\n\"\210\nB\202F A\211\203E \311 @\nT\n\2058 \f$\211\204E A\211\204, *\207" [topology gnus-topic-topology level result top topic 0 nil delq gnus-topic-find-topology remove] 6 (#$ . 8090)]) (defvar gnus-tmp-topics nil) #@46 Return a list of all topics in the topology. (defalias 'gnus-topic-list #[(&optional topology) "\204 \303@@\nB\304\305A\"\210\n\207" [topology gnus-topic-topology gnus-tmp-topics nil mapc gnus-topic-list] 3 (#$ . 8482)]) #@34 Return the parameters for TOPIC. (defalias 'gnus-topic-parameters #[(topic) "\302!\211\205 \303 A@8)\207" [topic top gnus-topic-find-topology 3] 3 (#$ . 8717)]) #@50 Set the topic parameters of TOPIC to PARAMETERS. (defalias 'gnus-topic-set-parameters #[(topic parameters) "\303!\211\204 \304\305\"\210 A@AA\204 A@\306C\244\210\307 A@\233\204+ A@\306C\244\210\307 A@\233\n\240\210\310\311\312\n#!)\207" [topic top parameters gnus-topic-find-topology error "No such topic: %s" nil 3 gnus-dribble-enter format "(gnus-topic-set-parameters %S '%S)"] 6 (#$ . 8887)]) #@108 Compute the group parameters for GROUP in topic mode. Possibly inherit parameters from topics above GROUP. (defalias 'gnus-group-topic-parameters #[(group) "\302\303!!\212\304\305!\203 \306 \206 \307! \"*\207" [group params-list copy-sequence gnus-group-get-parameter gnus-topic-hierarchical-parameters gnus-group-goto-group gnus-current-topic gnus-group-topic] 3 (#$ . 9298)]) #@182 Compute the topic parameters for TOPIC. Possibly inherit parameters from topics above TOPIC. If optional argument GROUP-PARAMS-LIST is non-nil, use it as the basis for inheritance. (defalias 'gnus-topic-hierarchical-parameters #[(topic &optional group-params-list) "\306\307\310\311\312 !\"B\"\307\211\211\307\f \211A\242\211\203p \n\211A\242\211\203 \f:\2042 \f\313B\f@\314=\203b \fA\307\f\211A\242\211\203^ \315@\f\"\204? \fB\f\202? *\202 \f@\236\204 \fB\202 \f\203| \314\fBB),\207" [group-params-list topic params out param params-list delq nil mapcar gnus-topic-parameters gnus-current-topics t posting-style assoc elt] 7 (#$ . 9689)]) (defalias 'gnus-topic-enter-dribble #[nil "\301\302\303\"!\207" [gnus-topic-topology gnus-dribble-enter format "(setq gnus-topic-topology '%S)"] 4]) #@313 List all newsgroups with unread articles of level LEVEL or lower. Use the `gnus-group-topics' to sort the groups. If PREDICATE is a function, list groups that the function returns non-nil; if it is t, list groups that have no unread articles. If LOWEST is non-nil, list all newsgroups of level LOWEST or higher. (defalias 'gnus-group-prepare-topics #[(level &optional predicate lowest regexp list-topic topic-level) "q\210\306 \206 \307\n\205 \310\n!\311\312\313\"\210 \203! \204$ \314 \210\204, \315 \210\n\204? Y\203O X\203O \316\317 \320\"\211 \321!$\210\n\204b \"Y\203\212 \"X\203\212 \316\317#\320\"\211#\"\322!$\210\203\212 $\204~ \323 \210\316\324\325\"\"\322!$\210 W\204\225 \n\205\315 \203\272 \326!%\327%A%@&\206\256 '\312 !&)\202\315 \327(\330&\206\305 '\312 !&\331 \210'B)\332\333!\210+\207" [gnus-group-buffer lowest gnus-group-listed-groups not-in-list inhibit-read-only gnus-topic-alist t 1 copy-sequence gnus-update-format-specifications nil topic gnus-topic-check-topology erase-buffer gnus-group-prepare-flat-list-dead sort string< 90 75 gnus-make-hashtable-from-killed seq-remove #[(group) "\303 \"\206 \303\n\"\207" [group gnus-newsrc-hashtb gnus-killed-hashtb gethash] 3] gnus-topic-find-topology gnus-topic-prepare-topic 0 gnus-group-set-mode-line gnus-run-hooks gnus-group-prepare-hook gnus-topology-checked-p list-topic level gnus-level-zombie gnus-zombie-list regexp gnus-level-killed gnus-killed-list gnus-killed-hashtb top topic-level predicate gnus-topic-topology gnus-group-list-mode] 8 (#$ . 10522)]) #@141 Insert TOPIC into the group buffer. If SILENT, don't insert anything. Return the number of unread articles in the topic and its subtopics. (defalias 'gnus-topic-prepare-topic #[(topicl level &optional list-level predicate silent lowest regexp) "\211A\242\306 @\n\203 \202 \f \206! \n\206! \307\310 @!\236A\n\203) \311\202+ $ A@\307=\2059 ? \312!\"_\313\"#\314 \210`$\315!%d&\311'\316\211()\316\211*+\316,\203\210 '\317\211A\242\"T\f ?-&\\'\202h `*$b\210\211A\242\211)\203\313);\203\374 \320)\n\203\320 \f.W?\205\370 )/\235\203\276 .\202\277 \2110\fX\205\314 0Y)\205\370 -;\203\337 \321-)\"\202\370 \322-!\203\356 -)!\202\370 -\204\367 \323\202\370 \316\"\202I)A@(\320(@\n\203-(\211A@\211:\203\211@\202\211\266\202\2110\fX\205)0Y)\205H\322 !\203: (!\205H-;?\206H\321-(@\"\"\203\217 \203\252);\203}\324)\211/\235\203f.\202g\316\325)1\"\211+AT+@Z\316%\210\202\252)A@\211(\203\252\324(@(\211A@\211:\203\232\211@\202\233\211\266\202\326(8)@\327(8%\210)<\203\277)@\247\203\277')@\\')<\203\217 \323,\202\217 $b\210\204 2\204\354'\311U\203\354,\204\354&dU\204 \330 @ \331 8\332=?\"%'&\210\333 @'\"\210\334$*\"\210*b\210'.\207" [topicl type gnus-group-listed-groups gnus-level-killed list-level predicate gnus-topic-find-groups visible gnus-topic-hierarchical-parameters 0 make-string 32 beginning-of-line reverse nil gnus-topic-prepare-topic gnus-group-prepare-logic string-match functionp t gnus-group-insert-group-line gethash 3 4 gnus-topic-insert-topic-line 2 hidden gnus-topic-update-unreads gnus-group--setup-tool-bar-update lowest entries silent visiblep gnus-topic-indent-level level gnus-group-indentation beg all-entries point-max unread info entry end active tick regexp gnus-level-zombie gnus-zombie-list entry-level gnus-active-hashtb gnus-topic-display-empty-topics] 10 (#$ . 12125)]) #@27 Remove the current topic. (defalias 'gnus-topic-remove-topic #[(&optional insert total-remove _hide in-level) "\306 \307 \310 \210`\311\211\205^ \312y\313U\203$ \307 \206 \nT\nV\204 `|\210\314!A@\211 \2037 \315\2028 \316\fAA@\fAAA@E\241\210)\203Y \317\320\"\"\211\202^ \321\",\207" [buffer-read-only beg level topic data insert gnus-group-topic-name gnus-group-topic-level beginning-of-line nil 1 0 gnus-topic-find-topology visible invisible delq assoc gnus-topic-insert-topic total-remove gnus-topic-alist in-level] 5 (#$ . 14071)]) #@15 Insert TOPIC. (defalias 'gnus-topic-insert-topic #[(topic &optional level) "\303@A\304\211 \n&\207" [gnus-group-list-mode topic level gnus-group-prepare-topics nil] 7 (#$ . 14632)]) #@34 Remove/insert the current topic. (defalias 'gnus-topic-fold #[(&optional insert topic) "\206 \306 \211\2057 \212\307 \204 \310 \206 \311 ?!\2026 \n\312\313B\310 \206. \311 ?\314\211\315$\210\316 +))\207" [topic insert gnus-topic-active-topology gnus-topic-active-alist gnus-group-list-mode gnus-topic-alist gnus-group-topic-name gnus-group-active-topic-p gnus-topic-remove-topic gnus-topic-visible-p 5 t nil 9 gnus-topic-enter-dribble gnus-topic-topology] 6 (#$ . 14823)]) (defalias 'gnus-topic-insert-topic-line #[(name visiblep shownp level entries &optional unread) "\203 \306\202 \307\310\n_\311\" G=\312\313 \"\210\314 \210\205I \315``T\316!\210\317\320\321 \322\323\257\n#.\207" [visiblep visible gnus-topic-indent-level level indentation unread "" "..." make-string 32 nil gnus-topic-update-unreads beginning-of-line add-text-properties eval gnus-topic gnus-topic-level gnus-topic-unread gnus-active gnus-topic-visible total-number-of-articles entries number-of-groups gnus-topic-alist gnus-topic-active-alist active-topic gnus-tmp-header name shownp gnus-topic-line-format-spec] 13]) (defalias 'gnus-topic-update-unreads #[(topic unreads) "\303\304 \" \"\nB B\211\207" [topic gnus-topic-unreads unreads delq assoc] 4]) #@48 Update all topics that have GROUP as a member. (defalias 'gnus-topic-update-topics-containing-group #[(group) "\305=\2050 \2050 \212\n\205/ \f@A\235\203' \306@@!\203' \307@@!\210\211A\210\202 *\207" [major-mode gnus-topic-mode gnus-topic-alist alist group gnus-group-mode gnus-topic-goto-topic gnus-topic-update-topic-line] 2 (#$ . 16103)]) #@48 Update all parent topics to the current group. (defalias 'gnus-topic-update-topic #[nil "\306=\2059 \2059 \307 \310 \311\211\2058 \f\312 \"A@\262\2058 \313\314 !\2058 \315\316 !\210b\210\317\211\223\210\320 +\207" [major-mode gnus-topic-mode inhibit-read-only m group gnus-newsrc-hashtb gnus-group-mode gnus-group-group-name point-marker t gethash gnus-topic-goto-topic gnus-current-topic gnus-topic-update-topic-line gnus-group-topic-name nil gnus-group-position-point] 5 (#$ . 16460)]) #@53 Place point where GROUP is supposed to be inserted. (defalias 'gnus-topic-goto-missing-group #[(group) "\306!\307 \n\"A\235A\310\f\203% \311\f@\310\"\204% \f\211A\210\202 \f?\205^ \312!\235A\f\203L \203L \311\f\211A\242\310\"\2031 \313y\210\314\2021 \205^ \205^ \315 !?\205^ \316 !,\207" [group topic gnus-topic-alist groups g unfound gnus-group-topic assoc t gnus-group-goto-group reverse 1 nil gnus-topic-goto-missing-topic gnus-topic-display-missing-topic] 3 (#$ . 16963)]) #@52 Insert topic lines recursively for missing topics. (defalias 'gnus-topic-display-missing-topic #[(topic) "\306\307!!\211\203 \310 A@@!\204 \311 A@@!\210)\310!\210\312 \203* \313y\210\202 \306!\211AA\nA@\314\315\f@@A#\316\203Z \317\211A\242@@!\\\202G \211A\242\211\203w @\247\203Z @\\\202Z \320\321\211\306!@\316 &.\207" [topic parent top children type unread gnus-topic-find-topology gnus-topic-parent-topic gnus-topic-goto-missing-topic gnus-topic-display-missing-topic gnus-group-group-name 1 0 gnus-topic-find-groups nil gnus-topic-unread gnus-topic-insert-topic-line t gnus-group-list-mode entries entry] 8 (#$ . 17463)]) (defalias 'gnus-topic-goto-missing-topic #[(topic) "\303!\203 \304y\207\305\306!!\307 AA! \204) \310\311\211\305!@\312\313&\210\202e \n@@@\232\2049 \nA\211\202* \n\210\nA\n\203S \303\n@@@!\204S \n\211A\210\202>