Function: gnus-search-query-parse-kv
gnus-search-query-parse-kv is a byte-compiled function defined in
gnus-search.el.gz.
Signature
(gnus-search-query-parse-kv KEY VALUE)
Documentation
Handle KEY and VALUE, parsing and expanding as necessary.
This may result in (key value) being turned into a larger query structure.
In the simplest case, they are simply consed together. String KEY is converted to a symbol.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-search.el.gz
(defun gnus-search-query-parse-kv (key value)
"Handle KEY and VALUE, parsing and expanding as necessary.
This may result in (key value) being turned into a larger query
structure.
In the simplest case, they are simply consed together. String
KEY is converted to a symbol."
(let () ;; return
(cond
((member key gnus-search-date-keys)
(when (string= "after" key)
(setq key "since"))
(setq value (gnus-search-query-parse-date value)))
((equal key "mark")
(setq value (gnus-search-query-parse-mark value)))
((string= "message-id" key)
(setq key "id")))
(or nil ;; return
(cons (intern key) value))))