MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.117.158.174
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/gnus/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/gnus/gnus-cus.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:42 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/gnus/gnus-cus.el
;;; in Emacs version 24.3.1
;;; 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\300\305!\210\300\306!\207" [require wid-edit gnus gnus-agent gnus-score gnus-topic gnus-art] 2)
#@420 Major mode for editing Gnus customization buffers.

The following commands are available:

\[widget-forward]		Move to next button or editable field.
\[widget-backward]		Move to previous button or editable field.
\[widget-button-click]		Activate button under the mouse pointer.
\[widget-button-press]		Activate button under point.

Entry to this mode calls the value of `gnus-custom-mode-hook'
if that value is non-nil.
(defalias 'gnus-custom-mode #[nil "\306 \210\307\310\311\n!\210\312\313!\203)\312\314!\203)\315\303!\210\313\315\304!\210\314\315\305!\210\314\316\317!\203P\317J\203P\315\320!\210\321\315\322!\210\321\315\323!\210\321\315\324!\210\321\325\326!\207" [major-mode mode-name widget-keymap widget-button-face widget-button-pressed-face widget-mouse-face kill-all-local-variables gnus-custom-mode "Gnus Customize" use-local-map facep custom-button-face custom-button-pressed-face make-local-variable boundp custom-raised-buttons widget-push-button-prefix "" widget-push-button-suffix widget-link-prefix widget-link-suffix gnus-run-mode-hooks gnus-custom-mode-hook] 2 (#$ . 718)])
#@230 Alist of valid group or topic parameters.

Each entry has the form (NAME TYPE DOC), where NAME is the parameter
itself (a symbol), TYPE is the parameters type (a sexp widget), and
DOC is a documentation string for the parameter.
(defconst gnus-group-parameters '((extra-aliases (choice :tag "Extra Aliases" (list :tag "List" (editable-list :inline t (gnus-email-address :tag "Address"))) (gnus-email-address :tag "Address")) "Store messages posted from or to this address in this group.\n\nYou must be using gnus-group-split for this to work.  The VALUE of the\nnnmail-split-fancy SPLIT generated for this group will match these\naddresses.") (split-regexp (regexp :tag "gnus-group-split Regular Expression") "Like gnus-group-split Address, but expects a regular expression.") (split-exclude (list :tag "gnus-group-split Restricts" (editable-list :inline t (regexp :tag "Restrict"))) "Regular expression that cancels gnus-group-split matches.\n\nEach entry is added to the nnmail-split-fancy SPLIT as a separate\nRESTRICT clause.") (split-spec (choice :tag "gnus-group-split Overrider" (sexp :tag "Fancy Split") (const :tag "Catch All" catch-all) (const :tag "Ignore" nil)) "Override all other gnus-group-split fields.\n\nIn `Fancy Split', you can enter any nnmail-split-fancy SPLIT.  Note\nthat the name of this group won't be automatically assumed, you have\nto add it to the SPLITs yourself.  This means you can use such splits\nto split messages to other groups too.\n\nIf you select `Catch All', this group will get postings for any\nmessages not matched in any other group.  It overrides the variable\ngnus-group-split-default-catch-all-group.\n\nSelecting `Ignore' forces no SPLIT to be generated for this group,\ndisabling all other gnus-group-split fields.") (broken-reply-to (const :tag "Broken Reply To" t) "Ignore `Reply-To' headers in this group.\n\nThat can be useful if you're reading a mailing list group where the\nlistserv has inserted `Reply-To' headers that point back to the\nlistserv itself.  This is broken behavior.  So there!") (to-group (string :tag "To Group") "All posts will be sent to the specified group.") (gcc-self (choice :tag "GCC" :value t (const :tag "To current group" t) (const none) (string :format "%v" :hide-front-space t)) "Specify default value for GCC header.\n\nIf this symbol is present in the group parameter list and set to t,\nnew composed messages will be `Gcc''d to the current group.  If it is\npresent and set to `none', no `Gcc:' header will be generated, if it\nis present and a string, this string will be inserted literally as a\n`gcc' header (this symbol takes precedence over any default `Gcc'\nrules as described later).") (expiry-wait (choice :tag "Expire Wait" :value never (const never) (const immediate) (number :hide-front-space t :format "%v")) "When to expire.\n\nOverrides any `nnmail-expiry-wait' and `nnmail-expiry-wait-function'\nwhen expiring expirable messages.  The value can either be a number of\ndays (not necessarily an integer) or the symbols `never' or\n`immediate'.") (expiry-target (choice :tag "Expiry Target" :value delete (const delete) (function :format "%v" nnmail-) string) "Where expired messages end up.\n\nOverrides `nnmail-expiry-target'.") (score-file (file :tag "Score File") "Make the specified file into the current score file.\nThis means that all score commands you issue will end up in this file.") (adapt-file (file :tag "Adapt File") "Make the specified file into the current adaptive file.\nAll adaptive score entries will be put into this file.") (admin-address (gnus-email-address :tag "Admin Address") "Administration address for a mailing list.\n\nWhen unsubscribing to a mailing list you should never send the\nunsubscription notice to the mailing list itself.  Instead, you'd\nsend messages to the administrative address.  This parameter allows\nyou to put the admin address somewhere convenient.") (display (choice :tag "Display" :value default (const all) (integer) (const default) (sexp :tag "Other")) "Which articles to display on entering the group.\n\n`all'\n     Display all articles, both read and unread.\n\n`integer'\n     Display the last NUMBER articles in the group.  This is the same as\n     entering the group with C-u NUMBER.\n\n`default'\n     Display the default visible articles, which normally includes\n     unread and ticked articles.\n\n`Other'\n     Display the articles that satisfy the S-expression. The S-expression\n     should be in an array form.") (comment (string :tag "Comment") "An arbitrary comment on the group.") (visible (const :tag "Permanently visible" t) "Always display this group, even when there are no unread articles in it.") (highlight-words (choice :tag "Highlight words" :value nil (repeat (list (regexp :tag "Highlight regexp") (number :tag "Group for entire word" 0) (number :tag "Group for displayed part" 0) (symbol :tag "Face" gnus-emphasis-highlight-words)))) "highlight regexps.\nSee `gnus-emphasis-alist'.") (posting-style (choice :tag "Posting style" :value nil (repeat (list (choice :tag "Type" :value nil (const signature) (const signature-file) (const organization) (const address) (const x-face-file) (const name) (const body) (symbol) (string :tag "Header")) (string :format "%v")))) "post style.\nSee `gnus-posting-styles'.")) (#$ . 1835))
#@250 Alist of topic parameters that are not also group parameters.

Each entry has the form (NAME TYPE DOC), where NAME is the parameter
itself (a symbol), TYPE is the parameters type (a sexp widget), and
DOC is a documentation string for the parameter.
(defconst gnus-extra-topic-parameters '((subscribe (regexp :tag "Subscribe") "If `gnus-subscribe-newsgroup-method' or\n`gnus-subscribe-options-newsgroup-method' is set to\n`gnus-subscribe-topics', new groups that matches this regexp will\nautomatically be subscribed to this topic") (subscribe-level (integer :tag "Subscribe Level" :value 1) "If this topic parameter is set, when new groups are subscribed\nautomatically under this topic (via the `subscribe' topic parameter)\nassign this level to the group, rather than the default level\nset in `gnus-level-default-subscribed'")) (#$ . 7156))
#@250 Alist of group parameters that are not also topic parameters.

Each entry has the form (NAME TYPE DOC), where NAME is the parameter
itself (a symbol), TYPE is the parameters type (a sexp widget), and
DOC is a documentation string for the parameter.
(defconst gnus-extra-group-parameters '((uidvalidity (string :tag "IMAP uidvalidity") "Server-assigned value attached to IMAP groups, used to maintain consistency.")) (#$ . 8007))
#@342 Alist of group parameters that are not also topic parameters.

Each entry has the form (NAME TYPE DOC ACCESSOR), where NAME is the
parameter itself (a symbol), TYPE is the parameters type (a sexp
widget), DOC is a documentation string for the parameter, and ACCESSOR
is a function (symbol) that extracts the current value from the
category.
(defconst gnus-agent-parameters '((agent-predicate (sexp :tag "Selection Predicate" :value false) "Predicate used to automatically select articles for downloading." gnus-agent-cat-predicate) (agent-score (choice :tag "Score File" :value nil (const file :tag "Use group's score files") (repeat (list (string :format "%v" :tag "File name")))) "Which score files to use when using score to select articles to fetch.\n\n    `nil'\n         All articles will be scored to zero (0).\n\n    `file'\n         The group's score files will be used to score the articles.\n\n    `List'\n         A list of score file names." gnus-agent-cat-score-file) (agent-short-article (integer :tag "Max Length of Short Article" :value #1="") "The SHORT predicate will evaluate to true when the article is\nshorter than this length." gnus-agent-cat-length-when-short) (agent-long-article (integer :tag "Min Length of Long Article" :value #1#) "The LONG predicate will evaluate to true when the article is\nlonger than this length." gnus-agent-cat-length-when-long) (agent-low-score (integer :tag "Low Score Limit" :value #1#) "The LOW predicate will evaluate to true when the article scores\nlower than this limit." gnus-agent-cat-low-score) (agent-high-score (integer :tag "High Score Limit" :value #1#) "The HIGH predicate will evaluate to true when the article scores\nhigher than this limit." gnus-agent-cat-high-score) (agent-days-until-old (integer :tag "Days Until Old" :value #1#) "The OLD predicate will evaluate to true when the fetched article\nhas been stored locally for at least this many days." gnus-agent-cat-days-until-old) (agent-enable-expiration (radio :tag "Expire in this Group or Topic" :value nil (const :format "Enable " ENABLE) (const :format "Disable " DISABLE)) "\nEnable, or disable, agent expiration in this group or topic." gnus-agent-cat-enable-expiration) (agent-enable-undownloaded-faces (boolean :tag "Enable Agent Faces") "Have the summary buffer use the agent's undownloaded faces.\nThese faces, when enabled, act as a warning that an article has not\nbeen fetched into either the agent nor the cache.  This is of most use\nto users who use the agent as a cache (i.e. they only operate on\narticles that have been downloaded).  Leave disabled to display normal\narticle faces even when the article hasn't been downloaded." gnus-agent-cat-enable-undownloaded-faces)) (#$ . 8443))
#@46 Edit the group or topic on the current line.
(defalias 'gnus-group-customize #[(group &optional topic) "\306\307\310\311\312!	\n\203\202\f#\"\307\313
\205@\"ABC\n\204/D\204/\314\315!\210\n\203<D\203<\314\316!\210D\204S\317\320\nE\"J8\211C\204S\314\321!\210\322\323!\211F\211G\205mG;\203i\324\202j\325G!)\203\200\326\324F!H\"H\327F!\210)\330\322\323!!\210\331 \210\332\333!\210\n\332\334!\210D\335 \210\336\337!\210\n\203\261\340\341\342\343\344\345\346&\210\202\273\340\341\342\343\344\347\350&\210\336\351!\210\336\352\n\206\307D!!\210\336\353!\210\340\354\344\355\342\356\357\360&\210\336\361!\210\332\362!\210\n\203\354\363C8\202\360\364D!I\365I!\211I\306J\211KA\203(K\211L@@)KA\236\211J\203\366JK\"\210\202KA\211K\202\377*\367I\236A\306M\211N\203`N@\211M\211LA@);\203WM\370M\211LA@)\371\"C\241\210NA\211N\2047*\372\340\302\373I\366\306\374\375\376\377\376\344\201Q\201R\201S\201T\201UBBBBBBBBBBBB
\205\261\374\375\376\377\376\344\201V\201R\201S\201T\201WABBBBBBBBBBB\201X\201YF\"%2)\n\203\357\336\201Z!\210\340\341\344\201[\342\201\\\201]&\210\336\201^!\210\340\201_\344\201`\373\201aC8%O\201bP!\210\201c \210\201d \210eb+\207" [gnus-group-parameters-more gnus-group-parameters group gnus-extra-group-parameters gnus-extra-topic-parameters gnus-agent nil mapcar #[(entry) "\301\302\303\304\3058\306\302\307@FA@\257\207" [entry cons :format "%v%h\n" :doc 2 const #1=""] 9] append reverse #[(entry) "A@\303\211<\203\304\n!\305\n>A\211@9\203\303\306\307\217\210\310\311\312\313\3148\315\311\316@F\n\257*\207" [entry vcons type nil copy-sequence :value (byte-code "\211@J\240\207" [vcons] 2) ((error)) cons :format "%v%h\n" :doc 2 const #1#] 10] error "No group on current line" "Both a group an topic on current line" 2 intern-soft "Killed group; can't be edited" gnus-get-buffer-create "*Gnus Customize*" get-buffer buffer-name delete kill-buffer switch-to-buffer gnus-custom-mode make-local-variable gnus-custom-group gnus-custom-topic buffer-disable-undo widget-insert "Customize the " widget-create info-link :help-echo "Push me to learn more." :tag "group parameters" "(gnus)Group Parameters" "topic parameters" "(gnus)Topic Parameters" " for <" gnus-group-decoded-name "> and press " push-button "done" "Push me when done customizing." :action gnus-group-customize-done ".\n\n" gnus-custom-params 5 gnus-topic-parameters gnus-copy-sequence delq posting-style mm-decode-coding-string utf-8 apply :value set :inline t :greedy gnus-agent-parameters agent types info topic gnus-newsrc-hashtb buf buffer gnus-buffers values elem tmp x style --dolist-tail-- gnus-custom-method widget-keymap "Parameters" :format "%t:\n%h%v" :doc "These special parameters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group or\nto the groups in this topic, then edit the value to suit your taste." "Agent Parameters" "These agent parameters are\nrecognized by Gnus.  They control article selection and expiration for\nuse in the unplugged cache.  Check the [ ] for the parameters you want\nto apply to this group or to the groups in this topic, then edit the\nvalue to suit your taste.\n\nFor those interested, group parameters override topic parameters while\ntopic parameters override agent category parameters.  Underlying\ncategory parameters are the customizable variables." (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form nil will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike.  If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup.  `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" (list :format "%v" :value (nil nil) (symbol :tag "Variable") (sexp :tag "Value"))) (repeat :inline t :tag "Unknown entries" sexp) "\n\nYou can also edit the " "select method" "Push me to learn more about select methods." "(gnus)Select Methods" " for the group.\n" sexp "Method" 4 use-local-map widget-setup buffer-enable-undo] 21 (#$ . 11183) (list (gnus-group-group-name) (gnus-group-topic-name))])
#@36 Apply changes and bury the buffer.
(defalias 'gnus-group-customize-done #[(&rest ignore) "\306!\307	\236A\310\211\2030@\211\211A@);\203)\n\311\n\211A@)\312\"C\241\210A\211\204*
\203=\313
	\"\210\202N\314\301	#\210\314\315\306!#\210\316 )\207" [gnus-custom-params params style --dolist-tail-- x gnus-custom-topic widget-value posting-style nil mm-encode-coding-string utf-8 gnus-topic-set-parameters gnus-group-edit-group-done method bury-buffer gnus-custom-group gnus-custom-method] 6 (#$ . 15711) nil])
#@230 Alist of valid symbolic score parameters.

Each entry has the form (NAME TYPE DOC), where NAME is the parameter
itself (a symbol), TYPE is the parameters type (a sexp widget), and DOC is a
documentation string for the parameter.
(defconst gnus-score-parameters '((mark (number :tag "Mark") "The value of this entry should be a number.\nAny articles with a score lower than this number will be marked as read.") (expunge (number :tag "Expunge") "The value of this entry should be a number.\nAny articles with a score lower than this number will be removed from\nthe summary buffer.") (mark-and-expunge (number :tag "Mark-and-expunge") "The value of this entry should be a number.\nAny articles with a score lower than this number will be marked as\nread and removed from the summary buffer.") (thread-mark-and-expunge (number :tag "Thread-mark-and-expunge") "The value of this entry should be a number.\nAll articles that belong to a thread that has a total score below this\nnumber will be marked as read and removed from the summary buffer.\n`gnus-thread-score-function' says how to compute the total score\nfor a thread.") (files (repeat :inline t :tag "Files" file) "The value of this entry should be any number of file names.\nThese files are assumed to be score files as well, and will be loaded\nthe same way this one was.") (exclude-files (repeat :inline t :tag "Exclude-files" file) "The clue of this entry should be any number of files.\nThese files will not be loaded, even though they would normally be so,\nfor some reason or other.") (eval (sexp :tag "Eval" :value nil) "The value of this entry will be `eval'el.\nThis element will be ignored when handling global score files.") (read-only (boolean :tag "Read-only" :value t) "Read-only score files will not be updated or saved.\nGlobal score files should feature this atom.") (orphan (number :tag "Orphan") "The value of this entry should be a number.\nArticles that do not have parents will get this number added to their\nscores.  Imagine you follow some high-volume newsgroup, like\n`comp.lang.c'.  Most likely you will only follow a few of the threads,\nalso want to see any new threads.\n\nYou can do this with the following two score file entries:\n\n     (orphan -500)\n     (mark-and-expunge -100)\n\nWhen you enter the group the first time, you will only see the new\nthreads.  You then raise the score of the threads that you find\ninteresting (with `I T' or `I S'), and ignore (`C y') the rest.\nNext time you enter the group, you will see new articles in the\ninteresting threads, plus any new threads.\n\nI.e.---the orphan score atom is for high-volume groups where there\nexist a few interesting threads which can't be found automatically\nby ordinary scoring rules.") (adapt (choice :tag "Adapt" (const t) (const ignore) (sexp :format "%v" :hide-front-space t)) "This entry controls the adaptive scoring.\nIf it is t, the default adaptive scoring rules will be used.  If it\nis `ignore', no adaptive scoring will be performed on this group.  If\nit is a list, this list will be used as the adaptive scoring rules.\nIf it isn't present, or is something other than t or `ignore', the\ndefault adaptive scoring rules will be used.  If you want to use\nadaptive scoring on most groups, you'd set `gnus-use-adaptive-scoring'\nto t, and insert an `(adapt ignore)' in the groups where you do not\nwant adaptive scoring.  If you only want adaptive scoring in a few\ngroups, you'd set `gnus-use-adaptive-scoring' to nil, and insert\n`(adapt t)' in the score files of the groups where you want it.") (adapt-file (file :tag "Adapt-file") "All adaptive score entries will go to the file named by this entry.\nIt will also be applied when entering the group.  This atom might\nbe handy if you want to adapt on several groups at once, using the\nsame adaptive file for a number of groups.") (local (repeat :tag "Local" (group :value (nil nil) (symbol :tag "Variable") (sexp :tag "Value"))) "The value of this entry should be a list of `(VAR VALUE)' pairs.\nEach VAR will be made buffer-local to the current summary buffer,\nand set to the value specified.  This is a convenient, if somewhat\nstrange, way of setting variables in some groups if you don't like\nhooks much.") (touched (sexp :format "Touched\n") "Internal variable.")) (#$ . 16244))
(define-widget 'gnus-score-string 'group "Edit score entries for string-valued headers." :convert-widget 'gnus-score-string-convert)
(defalias 'gnus-score-string-convert #[(widget) "\306\307\"\310\311\312\313	\227\257\314\315\316\317!\320\f
!\257\306\321\"\206,\322	\323Q\324P\"\325\326\n\327\330\331\332\333\307	\321\"\311\334\335\311\336\313\337\340BBBBBB\257\fD#\210.\207" [widget tag item match score expire widget-get :tag const :format #1="" :value (string :tag "Match") (choice :tag "Score" (const :tag "default" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Expire" (const :tag "off" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Type" :value s (const :tag "Regexp" r) (const :tag "Regexp (fixed case)" R) (const :tag "Substring" s) (const :tag "Substring (fixed case)" S) (const :tag "Exact" e) (const :tag "Exact (fixed case)" E) (const :tag "Word" w) (const :tag "Word (fixed case)" W) (const :tag "default" nil)) group :doc "Change score based on the " " header.\n" "\nYou can have an arbitrary number of score entries for this header,\neach score entry has four elements:\n\n1. The \"match element\".  This should be the string to look for in the\n   header.\n\n2. The \"score element\".  This number should be an integer in the\n   neginf to posinf interval.  This number is added to the score\n   of the article if the match is successful.  If this element is\n   not present, the `gnus-score-interactive-default-score' number\n   will be used instead.  This is 1000 by default.\n\n3. The \"date element\".  This date says when the last time this score\n   entry matched, which provides a mechanism for expiring the\n   score entries.  It this element is not present, the score\n   entry is permanent.  The date is represented by the number of\n   days since December 31, 1 ce.\n\n4. The \"type element\".  This element specifies what function should\n   be used to see whether this score entry matches the article.\n\n   There are the regexp, as well as substring types, and exact match,\n   and word match types.  If this element is not present, Gnus will\n   assume that substring matching should be used.  There is case\n   sensitive variants of all match types." widget-put :args repeat :inline t :indent 0 "%t:\n%h%v%i\n\n" choice "%v" (#1# nil nil s) (sexp) type doc] 22])
(define-widget 'gnus-score-integer 'group "Edit score entries for integer-valued headers." :convert-widget 'gnus-score-integer-convert)
(defalias 'gnus-score-integer-convert #[(widget) "\306\307\"\310\311\312\313	\227\257\314\315\316\317\320\f
\257\306\321\"\206,\322	\323Q\260\324\325\n\326\327\330\331\332\307	\321\311\333\257\fD#\210.\207" [widget tag item match score expire widget-get :tag const :format "" :value (integer :tag "Match") (choice :tag "Score" (const :tag "default" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Expire" (const :tag "off" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Type" :value < (const <) (const >) (const =) (const >=) (const <=)) group :doc "Change score based on the " " header." widget-put :args repeat :inline t :indent 0 "%t:\n%h%v%i\n\n" type doc] 16])
(define-widget 'gnus-score-date 'group "Edit score entries for date-valued headers." :convert-widget 'gnus-score-date-convert)
(defalias 'gnus-score-date-convert #[(widget) "\306\307\"\310\311\312\313	\227\257\314\315\316\317\320\f
\257\306\321\"\206,\322	\323Q\324P\325\326\n\327\330\331\332\333\307	\321\311\334\257\fD#\210.\207" [widget tag item match score expire widget-get :tag const :format "" :value (string :tag "Match") (choice :tag "Score" (const :tag "default" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Expire" (const :tag "off" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Type" :value regexp (const regexp) (const before) (const at) (const after)) group :doc "Change score based on the " " header." "\nFor the Date header we have three kinda silly match types: `before',\n`at' and `after'.  I can't really imagine this ever being useful, but,\nlike, it would feel kinda silly not to provide this function.  Just in\ncase.  You never know.  Better safe than sorry.  Once burnt, twice\nshy.  Don't judge a book by its cover.  Never not have sex on a first\ndate.  (I have been told that at least one person, and I quote,\n\"found this function indispensable\", however.)\n\nA more useful match type is `regexp'.  With it, you can match the date\nstring using a regular expression.  The date is normalized to ISO8601\ncompact format first---`YYYYMMDDTHHMMSS'.  If you want to match all\narticles that have been posted on April 1st in every year, you could\nuse `....0401.........' as a match string, for instance.  (Note that\nthe date is kept in its original time zone, so this will match\narticles that were posted when it was April 1st where the article was\nposted from.  Time zones are such wholesome fun for the whole family,\neh?" widget-put :args repeat :inline t :indent 0 "%t:\n%h%v%i\n\n" type doc] 16])
(define-widget 'gnus-score-extra 'group "Edit score entries for extra headers." :convert-widget 'gnus-score-extra-convert)
(defalias 'gnus-score-extra-convert #[(widget) "\306\307\"\310\311\312\313	\227\257\314\315\316\317()\2031\320*\321\307\322\323\324\325)\"\326\")BBB\2022\327+\330\f
(+\257\306\331\"\206K\332	\333Q\260,\334\335\n\336\337\340\341\342\307	\331,\311\343\321\311\344\313\312\320\211\345)\203t\346)@!\202u\312\257\347BBBBBB\257\fD#\210.	\207" [widget tag item match score expire widget-get :tag const :format "" :value (string :tag "Match") (choice :tag "Score" (const :tag "default" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Expire" (const :tag "off" nil) (integer :format "%v" :hide-front-space t)) (choice :tag "Type" :value s (const :tag "Regexp" r) (const :tag "Regexp (fixed case)" R) (const :tag "Substring" s) (const :tag "Substring (fixed case)" S) (const :tag "Exact" e) (const :tag "Exact (fixed case)" E) (const :tag "Word" w) (const :tag "Word (fixed case)" W) (const :tag "default" nil)) nil choice "Header" append mapcar #[(h) "\302!\303\304	\211F\207" [h name symbol-name const :tag] 4] ((string :tag "Other" :format "%v")) (string :tag "Header") group :doc "Change score based on the " " header.\n" widget-put :args repeat :inline t :indent 0 "%t:\n%h%v%i\n\n" "%v" s symbol-name (sexp) type gnus-extra-headers name header doc] 25])
#@169 Customize score file FILE.
When called interactively, FILE defaults to the current score file.
This can be changed using the `\[gnus-score-change-score-file]' command.
(defalias 'gnus-score-customize #[(file) "\204\306\307\310	!\"\210\311!\312\313\n\"\314\315\316!!\210\317\315\316!!\210\320 \210\321\305!\210\f\322\323!\210\324\325\326\327\330\331\332&\210\322\333!\210\322!\210\322\334!\210\324\335\330\336\326\337\340\341&\210\322\342!\210\322\343!\210\321\344!\210\324\345\346\f\347\350\351\352\351\353\354\355\356\357\360\361\362\363\364\365\366\367\370BBBBBBBBBBBBBBBBBBB\371%$\372<!\210\373 *\207" [file gnus-newsgroup-name gnus-score-parameters types scores gnus-custom-score-alist error "No score file for %s" gnus-group-decoded-name gnus-score-load mapcar #[(entry) "\301\302\303\304\3058\306\302\307@FA@\257\207" [entry group :format "%v%h\n" :doc 2 const ""] 9] kill-buffer gnus-get-buffer-create "*Gnus Customize*" switch-to-buffer gnus-custom-mode make-local-variable widget-insert "Customize the " widget-create info-link :help-echo "Push me to learn more." :tag "score entries" "(gnus)Score File Format" " for\n	" "\nand press " push-button "done" "Push me when done customizing." :action gnus-score-customize-done ".\n\nCheck the [ ] for the entries you want to apply to this score file, then\nedit the value to suit your taste.  Don't forget to mark the checkbox,\nif you do all your changes will be lost.  " "\n\n" gnus-custom-scores group :value checklist :inline t :greedy (gnus-score-string :tag "From") (gnus-score-string :tag "Subject") (gnus-score-string :tag "References") (gnus-score-string :tag "Xref") (gnus-score-extra :tag "Extra") (gnus-score-string :tag "Message-ID") (gnus-score-integer :tag "Lines") (gnus-score-integer :tag "Chars") (gnus-score-date :tag "Date") (gnus-score-string :tag "Head" :doc "Match all headers in the article.\n\nUsing one of `Head', `Body', `All' will slow down scoring considerable.\n") (gnus-score-string :tag "Body" :doc "Match the body sans header of the article.\n\nUsing one of `Head', `Body', `All' will slow down scoring considerable.\n") (gnus-score-string :tag "All" :doc "Match the entire article, including both headers and body.\n\nUsing one of `Head', `Body', `All' will slow down scoring\nconsiderable.\n") (gnus-score-string :tag "Followup" :doc "Score all followups to the specified authors.\n\nThis entry is somewhat special, in that it will match the `From:'\nheader, and affect the score of not only the matching articles, but\nalso all followups to the matching articles.  This allows you\ne.g. increase the score of followups to your own articles, or decrease\nthe score of followups to the articles of some known trouble-maker.\n") (gnus-score-string :tag "Thread" :doc "Add a score entry on all articles that are part of a thread.\n\nThis match key works along the same lines as the `Followup' match key.\nIf you say that you want to score on a (sub-)thread that is started by\nan article with a `Message-ID' X, then you add a `thread' match.  This\nwill add a new `thread' match for each article that has X in its\n`References' header.  (These new `thread' matches will use the\n`Message-ID's of these matching articles.)  This will ensure that you\ncan raise/lower the score of an entire thread, even though some\narticles in the thread may not have complete `References' headers.\nNote that using this may lead to nondeterministic scores of the\narticles in the thread.\n") (repeat :inline t :tag "Unknown entries" sexp) use-local-map widget-setup widget-keymap] 24 (#$ . 27089) (list gnus-current-score-file)])
#@47 Reset the score alist with the present value.
(defalias 'gnus-score-customize-done #[(&rest ignore) "\304	!\211\n@\240\210\nA\241\210\305\306\307#\210*\310 \207" [gnus-custom-score-alist gnus-custom-scores value alist widget-value gnus-score-set touched (t) bury-buffer] 5 (#$ . 30712)])
(defvar category-fields nil)
(defalias 'gnus-trim-whitespace #[(s) "\301\302\"\203
\303\225\304O\301\305\"\203\303\211\224O\207" [s string-match "\\`[ \n	]+" 0 nil "[ \n	]+\\'"] 3])
(defalias 'gnus-agent-cat-prepare-category-field '(macro . #[(parameter) "	\236\304\n8\305\306\307\310\311\312\313D\314BBEDD\315\316BD\317\320\321B\322\323\324\325\326BDD\327BBBED\330BBB\331\332\333\334\315\335\336\337\340\313DD\341BB\257\342\343\336\344\313DF*\345BBBBBBBB\207" [parameter gnus-agent-parameters entry field 3 let* type copy-sequence nth 1 assq quote (gnus-agent-parameters) val (info) deflt if (defaults) concat " [" gnus-trim-whitespace gnus-pp-to-string (defaults) ("]") (symb) (if (eq (car type) 'radio) (let* ((rtype (nreverse type)) (rt rtype)) (while (listp (or (cadr rt) 'not-list)) (setq rt (cdr rt))) (setcdr rt (cons '(const :format "Inherit " nil) (cdr rt))) (setq type (nreverse rtype)))) (if deflt (let ((tag (cdr (memq :tag type)))) (when (string-match "\n" deflt) (while (progn (setq deflt (replace-match "\n " t t deflt)) (string-match "\n" deflt (match-end 0)))) (setq deflt (concat "\n" deflt))) (setcar tag (concat (car tag) deflt)))) (widget-insert "\n") setq (if val (widget-create type :value val) (widget-create type)) symb set make-local-variable (val) (widget-put symb :default val) widget-put :accessor ((push symb category-fields))] 13]))
#@20 Edit the CATEGORY.
(defalias 'gnus-agent-customize-category #[(category) "	\236\306\307\310\nB\311\312B\313\fB\314
B\315@B\257AB\316\317!\211C\203RC\211D\211E\205>E;\203:\316\202;\320E!)\203Q\321\316D!F\"F\322D!\210))\323\324\317!!\210\325G\326 \210\327 \210B@H\330\331!\210\330\332H!!\210\330\333!\210\334\335\336\337\340$\210\330\341!\210\342\343!\210H#)\342\344!\210\306$\345\346I\236A@!J\346B\236AK\346A\236A\205\266\347\350\351\346A\236A!!\352QL\306MJ@\353=\203\362J\237\211N\211O\211PA@)\206\326\354<\203\343OA\211O\202\314O\355OAB\241\210N\237J*L\203)\356J>AQ\357\360L\"\203\361\362\325\211L$L\357\360L\363\225#\204\360LPLQ\211@LP\240\210)\330\360!\210K\203<\334J\364K#\202@\334J!K\342\365!\210K\2115M\366M\367K#\210\366M\370\365#\210M$B$,\345\371I\236A@!J\371B\236AK\371A\236A\205\211\347\350\351\371A\236A!!\352QL\306MJ@\353=\203\305J\237\211N\211O\211PA@)\206\251\354<\203\266OA\211O\202\237O\355OAB\241\210N\237J*L\203\374\356J>AQ\357\360L\"\203\362\361\362\325\211L$L\357\360L\363\225#\204\331\360LPLQ\211@LP\240\210)\330\360!\210K\203\334J\364K#\202\334J!K\342\372!\210K\211:M\366M\367K#\210\366M\370\372#\210M$B$,\345\373I\236A@!J\373B\236AK\373A\236A\205\\\347\350\351\373A\236A!!\352QL\306MJ@\353=\203\230J\237\211N\211O\211PA@)\206|\354<\203\211OA\211O\202rO\355OAB\241\210N\237J*L\203\317\356J>AQ\357\360L\"\203\305\361\362\325\211L$L\357\360L\363\225#\204\254\360LPLQ\211@LP\240\210)\330\360!\210K\203\342\334J\364K#\202\346\334J!K\342\374!\210K\211<M\366M\367K#\210\366M\370\374#\210M$B$,\345\375I\236A@!J\375B\236AK\375A\236A\205/\347\350\351\375A\236A!!\352QL\306MJ@\353=\203kJ\237\211N\211O\211PA@)\206O\354<\203\\OA\211O\202EO\355OAB\241\210N\237J*L\203\242\356J>AQ\357\360L\"\203\230\361\362\325\211L$L\357\360L\363\225#\204\360LPLQ\211@LP\240\210)\330\360!\210K\203\265\334J\364K#\202\271\334J!K\342\376!\210K\211>M\366M\367K#\210\366M\370\376#\210M$B$,\345\314I\236A@!J\314B\236AK\314A\236A\205\347\350\351\314A\236A!!\352QL\306MJ@\353=\203>J\237\211N\211O\211PA@)\206\"\354<\203/OA\211O\202O\355OAB\241\210N\237J*L\203u\356J>AQ\357\360L\"\203k\361\362\325\211L$L\357\360L\363\225#\204R\360LPLQ\211@LP\240\210)\330\360!\210K\203\210\334J\364K#\202\214\334J!K\342\377!\210K\211?M\366M\367K#\210\366M\370\377#\210M$B$,\345\315I\236A@!J\315B\236AK\315A\236A\205\325\347\350\351\315A\236A!!\352QL\306MJ@\353=\203J\237\211N\211O\211PA@)\206\365\354<\203OA\211O\202\353O\355OAB\241\210N\237J*L\203H\356J>AQ\357\360L\"\203>\361\362\325\211L$L\357\360L\363\225#\204%\360LPLQ\211@LP\240\210)\330\360!\210K\203[\334J\364K#\202_\334J!K\342\201R!\210K\211RM\366M\367K#\210\366M\370\201R#\210M$B$,\330\360!\210\342\201T!\210\334\201Y\201Z\201[\364\201\\\201]\201^\201_\201`\201a\201b\201c\325\364\201d\306\201e\201fSA\"\"\201e\201gSA\"BBBBBBBBB\257!\211TM\366M\367\201hB\236A#\210\366M\370\201T#\210M$B$)\330\201i!\210\345\310I\236A@!J\310B\236AK\310A\236A\205)\347\350\351\310A\236A!!\352QL\306MJ@\353=\203eJ\237\211N\211O\211PA@)\206I\354<\203VOA\211O\202?O\355OAB\241\210N\237J*L\203\234\356J>AQ\357\360L\"\203\222\361\362\325\211L$L\357\360L\363\225#\204y\360LPLQ\211@LP\240\210)\330\360!\210K\203\257\334J\364K#\202\263\334J!K\342\201U!\210K\211UM\366M\367K#\210\366M\370\201U#\210M$B$,\345\201jI\236A@!J\201jB\236AK\201jA\236A\205\347\350\351\201jA\236A!!\352QL\306MJ@\353=\203DJ\237\211N\211O\211PA@)\206(\354<\2035OA\211O\202O\355OAB\241\210N\237J*L\203{\356J>AQ\357\360L\"\203q\361\362\325\211L$L\357\360L\363\225#\204X\360LPLQ\211@LP\240\210)\330\360!\210K\203\216\334J\364K#\202\222\334J!K\342\201V!\210K\211VM\366M\367K#\210\366M\370\201V#\210M$B$,\330\201k!\210\345\201lI\236A@!J\201lB\236AK\201lA\236A\205\355\347\350\351\201lA\236A!!\352QL\306MJ@\353=\203)J\237\211N\211O\211PA@)\206
\354<\203OA\211O\202O\355OAB\241\210N\237J*L\203`\356J>AQ\357\360L\"\203V\361\362\325\211L$L\357\360L\363\225#\204=\360LPLQ\211@LP\240\210)\330\360!\210K\203s\334J\364K#\202w\334J!K\342\201W!\210K\211WM\366M\367K#\210\366M\370\201W#\210M$B$,\201mX!\210\201n \210\201o +\207" [category gnus-category-alist gnus-agent-enable-expiration gnus-agent-short-article gnus-agent-long-article gnus-agent-low-score nil (agent-predicate . false) agent-enable-expiration (agent-days-until-old . 7) agent-length-when-short agent-length-when-long agent-low-score agent-high-score get-buffer "*Gnus Agent Category Customize*" buffer-name delete kill-buffer switch-to-buffer gnus-get-buffer-create t gnus-custom-mode buffer-disable-undo widget-insert "Customize the Agent Category '" symbol-name "' and press " widget-create push-button :notify #[(&rest ignore) "	\236\f\203+\f\211A@\306\307\310\217\311\312\313
\314\"\315\nDD\315DE!\210*\202*\316 \210p\211\211\205G;\203C\317\202D\320!)\203Z\321\317!\"\322!\210)\317!\205k\323\317!!\210\324 \207" [gnus-agent-cat-name gnus-category-alist info category-fields widgets widget nil (widget-value widget) ((error)) eval setf widget-get :accessor quote gnus-category-write get-buffer buffer-name delete kill-buffer switch-to-buffer gnus-category-list value buf buffer gnus-buffers gnus-category-buffer] 6] "Done" "\n    Note: Empty fields default to the customizable global variables.\n\n" make-local-variable gnus-agent-cat-name category-fields copy-sequence agent-predicate " [" gnus-trim-whitespace gnus-pp-to-string "]" radio not-list (const :format "Inherit " nil) :tag string-match "\n" replace-match "\n " 0 :value gnus-agent-cat-predicate widget-put :default :accessor agent-score gnus-agent-cat-score-file agent-short-article gnus-agent-cat-length-when-short agent-long-article gnus-agent-cat-length-when-long gnus-agent-cat-low-score gnus-agent-high-score defaults info old buf buffer gnus-buffers inhibit-read-only name gnus-agent-parameters type val deflt symb rtype rt x tag gnus-agent-cat-high-score gnus-newsrc-alist gnus-agent-cat-groups gnus-agent-cat-enable-expiration gnus-agent-cat-days-until-old gnus-agent-cat-enable-undownloaded-faces widget-keymap choice :format "%[Select Member Groups%]\n%v" ignore (const :menu-tag "do not change" :tag "" :value ignore) checklist :entry-format "%b %v" :menu-tag "display group selectors" :greedy delq mapcar #[(newsrc) "@\302	\236A\235@\207" [newsrc info agent-groups] 3] #[(newsrc) "\301@D\207" [newsrc const] 2] agent-groups "\nExpiration Settings " agent-days-until-old "\nVisual Settings " agent-enable-undownloaded-faces use-local-map widget-setup buffer-enable-undo] 21 (#$ . 32396) (list (gnus-category-name))])
(provide 'gnus-cus)

MMCT - 2023