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 ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:22 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/gnus/nnmairix.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 "\302\303!\210\302\304!\210\302\305!\210\302\306!\210\302\307!\210\302\310!\210\311\236\203+ \311\236A\312\313\314\"\240\210\2026 \311\312\313\314\"\314\211FB\311 \236\204B \311\315D B\314\207" [nnoo-definition-alist nnoo-state-alist require nnoo gnus-group gnus-sum message nnml widget nnmairix mapcar list nil "*internal-non-initialized-backend*"] 4) #@29 Nnmairix group mode keymap. (defalias 'nnmairix-group-mode-hook #[nil "\301\302\303 #\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\301\334\335#\207" [gnus-group-mode-map define-key "Gb" make-sparse-keymap "Gbg" nnmairix-create-search-group "Gbc" nnmairix-create-server-and-default-group "Gbq" nnmairix-group-change-query-this-group "Gbt" nnmairix-group-toggle-threads-this-group "Gbu" nnmairix-update-database "Gbs" nnmairix-search "Gbi" nnmairix-search-interactive "Gbm" nnmairix-widget-search "Gbp" nnmairix-group-toggle-propmarks-this-group "Gbr" nnmairix-group-toggle-readmarks-this-group "Gbd" nnmairix-group-delete-recreate-this-group "Gba" nnmairix-group-toggle-allowfast-this-group "Gbo" nnmairix-propagate-marks] 4 (#$ . 925)]) #@31 Nnmairix summary mode keymap. (defalias 'nnmairix-summary-mode-hook #[nil "\301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\207" [gnus-summary-mode-map define-key "GGt" nnmairix-search-thread-this-article "GGf" nnmairix-search-from-this-article "GGm" nnmairix-widget-search-from-this-article "GGg" nnmairix-create-search-group-from-message "GGo" nnmairix-goto-original-article "GGu" nnmairix-remove-tick-mark-original-article] 4 (#$ . 1845)]) (byte-code "\300\301\302\"\210\300\303\304\"\210\305\306\307\310\311\312%\210\313\314\315\316\317\320\321\322\311\306& \210\313\323\324\325\317\320\321\322\311\306& \210\313\326\327\330\317\320\321\322\311\306& \210\313\331\332\333\317\320\321\334\311\306& \210\313\335\336\337\317\320\321\340\311\306& \210\313\341\307\342\317\320\321\343\311\306& \210\313\344\345\346\317\320\321\343\311\306& \210\313\347\350\351\317\320\321\352\311\306& \210\313\353\354\355\317\320\321\356\311\306& \210\313\357\345\360\317\320\321\361\311\306& \210\313\362\307\363\317\320\321\343\311\306& \210\313\364\307\365\317\320\321\343\311\306& \210\313\366\307\367\317\320\321\343\311\306& \207" [add-hook gnus-group-mode-hook nnmairix-group-mode-hook gnus-summary-mode-hook nnmairix-summary-mode-hook custom-declare-group nnmairix nil "Back end for the Mairix mail search engine." :group gnus custom-declare-variable nnmairix-group-prefix "zz_mairix" "Prefix for mairix search groups on back end server.\nnnmairix will create these groups automatically on the back end\nserver for each nnmairix search group. The name on the back end\nserver will be this prefix plus a random number. You can delete\nunused nnmairix groups on the back end using\n`nnmairix-purge-old-groups'." :version "23.1" :type string nnmairix-mairix-output-buffer "*mairix output*" "Buffer used for mairix output." nnmairix-customize-query-buffer "*mairix query*" "Name of the buffer for customizing Mairix queries." nnmairix-mairix-update-options '("-F" "-Q") "Options when calling mairix for updating the database.\nThe default is '-F' and '-Q' for making updates faster. You\nshould call mairix without these options from time to\ntime (e.g. via cron job)." (repeat string) nnmairix-mairix-search-options '("-Q") "Options when calling mairix for searching.\nThe default is '-Q' for making searching faster." (repeat string) nnmairix-mairix-synchronous-update "Set this to t if you want Emacs to wait for mairix updating the database." boolean nnmairix-rename-files-for-nnml t "Rename nnml mail files so that they are consecutively numbered.\nWhen using nnml as back end, mairix might produce holes in the\narticle numbers which will produce wrong article counts by\nGnus. This option controls whether nnmairix should rename the\nfiles consecutively." nnmairix-widget-fields-list '(("from" "f" "From") ("to" "t" "To") ("cc" "c" "Cc") ("subject" "s" "Subject") ("to" "tc" "To or Cc") ("from" "a" "Address") (nil "b" "Body") (nil "n" "Attachment") ("Message-ID" "m" "Message ID") (nil "s" "Size") (nil "d" "Date")) "Fields that should be editable during interactive query customization.\n\nHeader, corresponding mairix command and description for editable\nfields in interactive query customization. The header specifies\nwhich header contents should be inserted into the editable field\nwhen creating a Mairix query based on the current message (can be\nnil for disabling this)." (repeat (list (choice :tag "Field" (const :tag "none" nil) (const :tag "From" "from") (const :tag "To" "to") (const :tag "Cc" "cc") (const :tag "Subject" "subject") (const :tag "Message ID" "Message-ID")) (string :tag "Command") (string :tag "Description"))) nnmairix-widget-select-window-function (lambda nil (select-window (get-largest-window))) "Function for selecting the window for customizing the mairix query.\nThe default chooses the largest window in the current frame." function nnmairix-propagate-marks-upon-close "Flag if marks should be propagated upon closing a group.\nThe default of this variable is t. If set to 'ask, the\nuser will be asked if the flags should be propagated when the\ngroup is closed. If set to nil, the user will have to manually\ncall 'nnmairix-propagate-marks'." (choice (const :tag "always" t) (const :tag "ask" 'ask) (const :tag "never" nil)) nnmairix-propagate-marks-to-nnmairix-groups "Flag if marks from original articles should be seen in nnmairix groups.\nThe default is nil since it will only work if the articles are in\nmaildir format and NOT managed by the nnmaildir back end but\ne.g. an IMAP server (which stores the marks in the maildir file\nname). You may safely set this to t for testing - the worst that\ncan happen are wrong marks in nnmairix groups." nnmairix-only-use-registry "Use only the registry for determining original group(s).\nIf set to t, nnmairix will only use the registry for determining\nthe original group(s) of an article (which is also necessary for\npropagating marks). If set to nil, it will also try to determine\nthe group from an additional mairix search which might be slow\nwhen propagating lots of marks." nnmairix-allowfast-default "Whether fast entering should be the default for nnmairix groups.\nYou may set this to t to make entering the group faster, but note that\nthis might lead to problems, especially when used with marks propagation."] 10) #@107 Other editable mairix commands when using customization widgets. Currently there are 'threads and 'flags. (defvar nnmairix-widget-other '(threads flags) (#$ . 7229)) #@190 Things that should be editable during interactive query generation. Every list element consists of the following entries: Keystroke, message field (if any), mairix command and description. (defvar nnmairix-interactive-query-parameters '((102 "from" "f" "From") (116 "to" "t" "To") (99 "to" "tc" "To or Cc") (97 "from" "a" "Address") (115 "subject" "s" "Subject") (98 nil "b" "Body") (100 nil "d" "Date") (110 nil "n" "Attachment")) (#$ . 7402)) #@420 Controls on which back ends groups should be deleted and re-created. This variable is a list of back ends where the search group should be completely deleted and re-created when the query or thread parameter changes. The default is to this for all currently supported back ends. It usually also corrects the problem of "holes" in the article numbers which often lead to a wrong count of total articles shown by Gnus. (defvar nnmairix-delete-and-create-on-change '(nnimap nnmaildir nnml) (#$ . 7854)) #@116 Back end where mairix stores its searches. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nnmairix-backend nil (#$ . 8363)) (nnoo-define 'nnmairix-backend nil) #@126 Name of the server where mairix stores its searches. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nnmairix-backend-server nil (#$ . 8563)) (nnoo-define 'nnmairix-backend-server nil) #@122 Command to call mairix for this nnmairix server. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nnmairix-mairix-command "mairix" (#$ . 8787)) (nnoo-define 'nnmairix-mairix-command nil) #@203 Set this to t if the back end server uses hidden directories for its maildir mail folders (e.g. the Dovecot IMAP server or mutt). This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nnmairix-hidden-folders nil (#$ . 9012)) (nnoo-define 'nnmairix-hidden-folders nil) #@177 Default search group. This is the group which is used for all temporary searches, e.g. nnmairix-search. This is a Gnus server variable. See Info node `(gnus)Select Methods'. (defvar nnmairix-default-group nil (#$ . 9313)) (nnoo-define 'nnmairix-default-group nil) #@39 Regexp for mairix groups on back end. (defconst nnmairix-group-regexp (format "%s-\\(.*\\)-[0-9]+" nnmairix-group-prefix) (#$ . 9585)) #@75 Back ends supported by nnmairix. Other back ends might or might not work. (defconst nnmairix-valid-backends '(nnimap nnml nnmaildir) (#$ . 9726)) #@21 Last chosen server. (defvar nnmairix-last-server nil (#$ . 9878)) #@17 Current server. (defvar nnmairix-current-server nil (#$ . 9950)) #@65 Cache for marks which should be set upon closing current group. (defvar nnmairix-marks-cache nil (#$ . 10021)) #@34 Version string of mairix binary. (defvar nnmairix-version-output nil (#$ . 10138)) (byte-code "\300\301!\210\302\303\304\305#\207" [nnoo-define-basics-1 nnmairix gnus-declare-backend "nnmairix" mail address] 4) (defalias 'nnmairix-open-server #[(server &optional definitions) "\303\304\n#\207" [server nnmairix-current-server definitions nnoo-change-server nnmairix] 4]) (nnoo-register-function 'nnmairix-open-server) (defalias 'nnmairix-request-group #[(group &optional server fast info) "\203 \306!\210\203 \307 \310D\"\202 \311\n\303\"\311\n\312\"\311\n\305\313#\311\n\314\"\f\315\316\3174!5#\211\203D <\203D \206'\3206\"A\206'\321\232\203X 7\206 \3208\"A\206 \3209\"A\206 :;;\203\221 \315\316;@@@;@@A@#\232\204\221 ;\211A;@\210\202n ;\211<@@*\206 =>>\203\305 \315\316>\211<@@)>@A@#\232\204\305 >\211A>@\210\202\240 >@)\206 ?A\322\211@ABB\203\n\323B\211AB@8\211A;\204\327 A\322\313CDA\324\325\215+\232\203\327 A@\322\211B\204\334 @+\211E\203$\3206\"\204$EB6B6E))F\322\211GH\322\211IJ\204D\326\310\327 #\210\322\202< \204ZrKq\210\330 \210\331 Pc\210)\313\202<L\203l\332\333\"\204l\334P\202mH4\335=\203\213\320\336F\"\211<A@)\211I\204\213I4\337=\203\237\320\340F\"\211<A@)II\203\257\341\342I!!HPHM\203\274\f\203\274\343\202\307\344\345N!H \f$G\346G!\203 \347\3505\"\2104\335=\203\356O\203\347\351H!\210\352H\322\313#\210\347\3535#\210M\203\f\203\313\202<\354\n\"\202<G\355U\2034rPq\210eb\210\356\357!)\2034\360\361\362\"\210Kq\210\330 \210\331 Pc\210\313\202<\326\310\363P#\210\322.\n\207" [server group qualgroup folder allowfast query nnmairix-open-server gnus-group-prefixed-name nnmairix gnus-group-get-parameter allow-fast t threads format "%s:%s" symbol-name assoc "native" nil 4 server-name (byte-code "\206 \n\204 \306\307\"\210\306\310\f D\"\210\211A@)\311\235\203* \312\313@\"\2026 \312\314@\211A@)#\211B\211\235\204V \204V \315@\"\204V B*\207" [method gnus-select-method nocache gnus-server-method-cache gnus-server-alist gnus-predefined-server-alist mapc #[(name-method) "A \232\205\f \302\303@\"\207" [name-method method throw server-name] 3] #[(server-alist) "\301\302\"\207" [server-alist mapc #[(name-method) "\303A \"\205 \n\235\204 \nB\304\305@\"\207" [name-method method gnus-server-method-cache gnus-methods-equal-p throw server-name] 3]] 3] (nil "") format "%s" "%s:%s" assoc x name name-method no-enter-cache] 5) nnheader-report "Check folder parameter for group %s" erase-buffer "211 0 1 0 " string-match "^\\." "." nnml nnml-directory nnmaildir directory file-name-as-directory expand-file-name 0 nnmairix-call-mairix-binary split-string zerop nnmairix-call-backend "open-server" nnmairix-rename-files-consecutively nnml-generate-nov-databases-directory "request-scan" nnmairix-request-group-with-article-number-correction 1 looking-at "^Matched 0 messages" nnheader-message 5 "Mairix: No matches found." "Error running mairix. See buffer %s for details" nnmairix-backend nnmairix-backend-server gnus-server-method-cache gnus-select-method gnus-server-alist gnus-predefined-server-alist gnus-opened-servers opened x gnus-secondary-select-methods servers gnus-newsrc-alist match method alist no-enter-cache nocache result backendmethod rval mfolder folderpath args nntp-server-buffer nnmairix-hidden-folders fast nnmairix-mairix-command nnmairix-rename-files-for-nnml nnmairix-mairix-output-buffer] 6]) (nnoo-register-function 'nnmairix-request-group) (defalias 'nnmairix-request-create-group #[(group &optional server args) "\203 \306 \307D\"\202 \310\311\312\211\203 \313!\210\314\315\"\210\314\316\"\210 \203H \fT\317\320 \321\f!$\322\323#\211\2040 \322\324#\210\314\325\"\210\203` \314\326\"\210\327\330#\210-\310\207" [server group info groupname count exist gnus-group-prefixed-name nnmairix t 0 nil nnmairix-open-server gnus-group-add-parameter (query) (threads) format "%s-%s-%s" number-to-string nnmairix-call-backend "request-group" "request-create-group" (folder) (allow-fast . t) gnus-group-set-parameter folder qualgroup nnmairix-group-prefix nnmairix-backend-server nnmairix-allowfast-default] 7]) (nnoo-register-function 'nnmairix-request-create-group) (defalias 'nnmairix-retrieve-headers #[(articles group &optional server fetch-old) "\203 \306!\210\307 \"\310 \"\311\312\203<