| Server IP : 217.160.0.212 / Your IP : 216.73.216.71 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/obsolete/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(require 'gnus)
#@60 Internal: the history for querying search options in nnir.
(defvar nnir-search-history nil (#$ . 100))
#@29 Internal: temporary buffer.
(defconst nnir-tmp-buffer " *nnir*" (#$ . 209))
#@71 Mapping from user readable keys to IMAP search items for use in nnir.
(defvar nnir-imap-search-arguments '(("whole message" . "TEXT") ("subject" . "SUBJECT") ("to" . "TO") ("from" . "FROM") ("body" . "BODY") ("imap" . "") ("gmail" . "X-GM-RAW")) (#$ . 291))
#@130 The IMAP search item for anything other than `nnir-imap-search-arguments'.
By default this is the name of an email header field.
(defvar nnir-imap-search-other "HEADER %S" (#$ . 556))
#@50 The history for querying search options in nnir.
(defvar nnir-imap-search-argument-history nil (#$ . 746))
#@50 Return the group from the ARTITEM.
(fn ARTITEM)
(defalias 'nnir-artitem-group '(macro . #[257 "\300\301BB\207" [elt (0)] 4 (#$ . 859)]))
#@51 Return the number from the ARTITEM.
(fn ARTITEM)
(defalias 'nnir-artitem-number '(macro . #[257 "\300\301BB\207" [elt (1)] 4 (#$ . 1004)]))
#@80 Return the Retrieval Status Value (RSV, score) from the ARTITEM.
(fn ARTITEM)
(defalias 'nnir-artitem-rsv '(macro . #[257 "\300\301BB\207" [elt (2)] 4 (#$ . 1152)]))
(byte-code "\301\302\303\304\305\306%\210\307\310\311\312#\210\313\310\314\315\316DD\317\320\321\322\323&\210\313\324\314\315\325DD\326\320\321\322\327&\210\313\330\314\315\331DD\332\320\321\322\333\334\335\"B&\210\313\336\314\315\337DD\340\322\341%\210\313\342\314\315\343DD\344\322\345%\210\313\346\314\315\347DD\350\322\351%\210\313\352\314\315\353DD\354\322\355%\210\313\356\314\315\357DD\360\322\361%\210\313\362\314\315\363DD\364\322\365%\210\313\366\314\315\367DD\370\322\371%\210\313\372\314\315\373DD\374\322\375%\210\313\376\314\315\377DD\201@ \322\201A %\210\313\201B \314\315\201C DD\201D \322\201E %\210\313\201F \314\315\201G DD\201H \322\201I %\210\313\201J \314\315\201K DD\201L \322\201M %\210\313\201N \314\315\201O DD\201P \322\201Q %\210\313\201R \314\315\201S DD\201T \322\201U %\210\313\201V \314\315\201W DD\201X \322\201Y %\210\313\201Z \314\315\201[ DD\201\\ \322\201] %\210\313\201^ \314\315\201_ DD\201` \320\321\322\201a &\210\313\201b \314\315\201c DD\201d \320\321\322\201e &\210\313\201f \314\315\201g DD\201h \320\201i \322\201j &\210\313\201k \314\315\201l DD\201m \320\201i \322\201n &\207" [nnir-imap-search-arguments custom-declare-group nnir nil "Search groups in Gnus with assorted search engines." :group gnus make-obsolete-variable nnir-summary-line-format "The formatting\nspecs previously unique to this variable may now be set in\n'gnus-summary-line-format." "28.1" custom-declare-variable funcall function #[0 "\300\207" [nil] 1 #1=""] "The format specification of the lines in an nnir summary buffer.\n\nAll the items from `gnus-summary-line-format' are available, along\nwith three items unique to nnir summary buffers:\n\n%Z Search retrieval score value (integer)\n%G Article original full group name (string)\n%g Article original short group name (string)\n\nIf nil this will use `gnus-summary-line-format'." :version "24.1" :type (choice (const :tag "gnus-summary-line-format" nil) string) nnir-ignored-newsgroups #[0 "\300\207" [#1#] 1 #1#] "Newsgroups to skip when searching.\nAny newsgroup in the active file matching this regexp will be\nskipped when searching." (regexp) nnir-imap-default-search-key #[0 "\300\207" ["whole message"] 1 #1#] "The default IMAP search key for an nnir search.\nMust be one of the keys in `nnir-imap-search-arguments'. To use\nraw imap queries by default set this to \"imap\"." choice mapcar #[257 "\300@D\207" [const] 3 "\n\n(fn ELEM)"] nnir-swish++-configuration-file #[0 "\300\301!\207" [expand-file-name "~/Mail/swish++.conf"] 2 #1#] "Configuration file for swish++." (file) nnir-swish++-program #[0 "\300\207" ["search"] 1 #1#] "Name of swish++ search executable." (string) nnir-swish++-additional-switches #[0 "\300\207" [nil] 1 #1#] "A list of strings, to be given as additional arguments to swish++.\n\nNote that this should be a list. I.e., do NOT use the following:\n (setq nnir-swish++-additional-switches \"-i -w\") ; wrong\nInstead, use this:\n (setq nnir-swish++-additional-switches \\='(\"-i\" \"-w\"))" (repeat (string)) nnir-swish++-remove-prefix #[0 "\300\301!\302P\207" [getenv "HOME" "/Mail/"] 2 #1#] "The prefix to remove from swish++ file names to get group names.\nResulting names have '/' in place of '.'. This is a regular\nexpression.\n\nThis variable is very similar to `nnir-namazu-remove-prefix', except\nthat it is for swish++, not Namazu." (regexp) nnir-swish-e-index-files #[0 "\300\301!C\207" [expand-file-name "~/Mail/index.swish-e"] 2 #1#] "List of index files for swish-e.\nThis could be a server parameter." (repeat (file)) nnir-swish-e-program #[0 "\300\207" ["swish-e"] 1 #1#] "Name of swish-e search executable.\nThis cannot be a server parameter." (string) nnir-swish-e-additional-switches #[0 "\300\207" [nil] 1 #1#] "A list of strings, to be given as additional arguments to swish-e.\n\nNote that this should be a list. I.e., do NOT use the following:\n (setq nnir-swish-e-additional-switches \"-i -w\") ; wrong\nInstead, use this:\n (setq nnir-swish-e-additional-switches \\='(\"-i\" \"-w\"))\n\nThis could be a server parameter." (repeat (string)) nnir-swish-e-remove-prefix #[0 "\300\301!\302P\207" [getenv "HOME" "/Mail/"] 2 #1#] "The prefix to remove from swish-e file names to get group names.\nResulting names have '/' in place of '.'. This is a regular\nexpression.\n\nThis variable is very similar to `nnir-namazu-remove-prefix', except\nthat it is for swish-e, not Namazu.\n\nThis could be a server parameter." (regexp) nnir-hyrex-program #[0 "\300\207" ["nnir-search"] 1 #1#] "Name of the nnir-search executable." (string) nnir-hyrex-additional-switches #[0 "\300\207" [nil] 1 #1#] "A list of strings, to be given as additional arguments for nnir-search.\nNote that this should be a list. I.e., do NOT use the following:\n (setq nnir-hyrex-additional-switches \"-ddl ddl.xml -c nnir\") ; wrong !\nInstead, use this:\n (setq nnir-hyrex-additional-switches \\='(\"-ddl\" \"ddl.xml\" \"-c\" \"nnir\"))" (repeat (string)) nnir-hyrex-index-directory #[0 "\300\301!\207" [getenv "HOME"] 2 #1#] "Index directory for HyREX." (directory) nnir-hyrex-remove-prefix #[0 "\300\301!\302P\207" [getenv "HOME" "/Mail/"] 2 #1#] "The prefix to remove from HyREX file names to get group names.\nResulting names have '/' in place of '.'.\n\nFor example, suppose that HyREX returns file names such as\n\"/home/john/Mail/mail/misc/42\". For this example, use the following\nsetting: (setq nnir-hyrex-remove-prefix \"/home/john/Mail/\")\nNote the trailing slash. Removing this prefix gives \"mail/misc/42\".\n`nnir' knows to remove the \"/42\" and to replace \"/\" with \".\" to\narrive at the correct group name, \"mail.misc\"." (directory) nnir-namazu-program #[0 "\300\207" ["namazu"] 1 #1#] "Name of Namazu search executable." (string) nnir-namazu-index-directory #[0 "\300\301!\207" [expand-file-name "~/Mail/namazu/"] 2 #1#] "Index directory for Namazu." (directory) nnir-namazu-additional-switches #[0 "\300\207" [nil] 1 #1#] "A list of strings, to be given as additional arguments to namazu.\nThe switches `-q', `-a', and `-s' are always used, very few other\nswitches make any sense in this context.\n\nNote that this should be a list. I.e., do NOT use the following:\n (setq nnir-namazu-additional-switches \"-i -w\") ; wrong\nInstead, use this:\n (setq nnir-namazu-additional-switches \\='(\"-i\" \"-w\"))" (repeat (string)) nnir-namazu-remove-prefix #[0 "\300\301!\302P\207" [getenv "HOME" "/Mail/"] 2 #1#] "The prefix to remove from Namazu file names to get group names.\nResulting names have '/' in place of '.'.\n\nFor example, suppose that Namazu returns file names such as\n\"/home/john/Mail/mail/misc/42\". For this example, use the following\nsetting: (setq nnir-namazu-remove-prefix \"/home/john/Mail/\")\nNote the trailing slash. Removing this prefix gives \"mail/misc/42\".\n`nnir' knows to remove the \"/42\" and to replace \"/\" with \".\" to\narrive at the correct group name, \"mail.misc\"." (directory) nnir-notmuch-program #[0 "\300\207" ["notmuch"] 1 #1#] "Name of notmuch search executable." (string) nnir-notmuch-additional-switches #[0 "\300\207" [nil] 1 #1#] "A list of strings, to be given as additional arguments to notmuch.\n\nNote that this should be a list. I.e., do NOT use the following:\n (setq nnir-notmuch-additional-switches \"-i -w\") ; wrong\nInstead, use this:\n (setq nnir-notmuch-additional-switches \\='(\"-i\" \"-w\"))" (repeat (string)) nnir-notmuch-remove-prefix #[0 "\300\301\302!\206\n \303\304!!\207" [regexp-quote getenv "MAILDIR" expand-file-name "~/Mail"] 3 #1#] "The prefix to remove from notmuch file names to get group names.\nResulting names have '/' in place of '.'. This is a regular\nexpression.\n\nThis variable is very similar to `nnir-namazu-remove-prefix', except\nthat it is for notmuch, not Namazu." "27.1" (regexp) nnir-notmuch-filter-group-names-function #[0 "\300\207" [nil] 1 #1#] "Whether and how to use Gnus group names as \"path:\" search terms.\nWhen nil, the groups being searched in are not used as notmuch\n:path search terms. It's still possible to use \"path:\" terms\nmanually within the search query, however.\n\nWhen a function, map this function over all the group names. To\nuse the group names unchanged, set to (lambda (g) g). Multiple\ntransforms (for instance, converting \".\" to \"/\") can be added\nlike so:\n\n(add-function :filter-return\n nnir-notmuch-filter-group-names-function\n (lambda (g) (replace-regexp-in-string \"\\\\.\" \"/\" g)))" (choice function (const :tag "No" nil))] 11)
#@837 Alist of supported search engines.
Each element in the alist is a three-element list (ENGINE FUNCTION ARGS).
ENGINE is a symbol designating the searching engine. FUNCTION is also
a symbol, giving the function that does the search. The third element
ARGS is a list of cons pairs (PARAM . PROMPT). When issuing a query,
the FUNCTION will issue a query for each of the PARAMs, using PROMPT.
The value of `nnir-search-engine' must be one of the ENGINE symbols.
For example, for searching a server using namazu include
(nnir-search-engine namazu)
in the server definition. Note that you have to set additional
variables for most backends. For example, the `namazu' backend
needs the variables `nnir-namazu-program',
`nnir-namazu-index-directory' and `nnir-namazu-remove-prefix'.
Add an entry here when adding a new search engine.
(defvar nnir-engines (byte-code "\302\303\304\305\306\307\"\310\211\311 \257CE\312B\207" [nnir-imap-search-arguments nnir-imap-default-search-key imap nnir-run-imap criteria "Imap Search in" mapcar car nil nnir-imap-search-argument-history ((swish++ nnir-run-swish++ ((swish++-group . "Swish++ Group spec (regexp): "))) (swish-e nnir-run-swish-e ((swish-e-group . "Swish-e Group spec (regexp): "))) (namazu nnir-run-namazu nil) (notmuch nnir-run-notmuch nil) (hyrex nnir-run-hyrex ((hyrex-group . "Hyrex Group spec (regexp): "))) (find-grep nnir-run-find-grep ((grep-options . "Grep options: "))))] 9) (#$ . 9897))
(byte-code "\301\302\303\304\305DD\306\307\310\311\312\313\314\315\316\317\"BED&\207" [nnir-engines custom-declare-variable nnir-method-default-engines funcall function #[0 "\300\207" [((nnimap . imap))] 1 ""] "Alist of default search engines keyed by server method." :version "27.1" :type repeat cons (choice (const nnimap) (const nntp) (const nnspool) (const nneething) (const nndir) (const nnmbox) (const nnml) (const nnmh) (const nndraft) (const nnfolder) (const nnmaildir)) choice mapcar #[257 "\300@D\207" [const] 3 "\n\n(fn ELEM)"]] 14)
#@226 Construct a result vector and add it to ARTLIST.
DIRNAM, ARTNO, SCORE, PREFIX and SERVER are passed to
`nnir-compose-result' to make the vector. Only add the result if
non-nil.
(fn DIRNAM ARTNO SCORE PREFIX SERVER ARTLIST)
(defalias 'nnir-add-result '(macro . #[1542 "\300\301\302\257DC\303\304\305\301EEE\207" [let result nnir-compose-result when (not (null result)) push] 14 (#$ . 11904)]))
(autoload 'nnmaildir-base-name-to-article-number "nnmaildir")
#@158 Construct a result vector.
The DIRNAM, ARTICLE, SCORE, PREFIX, and SERVER are used to
construct the vector entries.
(fn DIRNAM ARTICLE SCORE PREFIX SERVER)
(defalias 'nnir-compose-result #[1285 "\301\302P\"\203 \303\304\305\211$\262\306Q!\205\252 \307\301\310\301\311\"\203>