;ELC ;;; compiled by rms@mole.gnu.ai.mit.edu on Tue Mar 15 01:43:46 1994 ;;; from file /home/fsf/rms/e19/lisp/mh-pick.el ;;; emacs version 19.22.85. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "`/home/fsf/rms/e19/lisp/mh-pick.el' was compiled for Emacs 19")) (byte-code "ÀÁ!ˆÂÃ!‡" [provide mh-pick require mh-e] 2) (defvar mh-pick-mode-map (make-sparse-keymap) "\ Keymap for searching folder.") (defvar mh-pick-mode-hook nil "\ Invoked in `mh-pick-mode' on a new pattern.") (defvar mh-searching-folder nil "\ Folder this pick is searching.") (defalias 'mh-search-folder #[(folder) "ÀÁ!ˆÂ ÃU„ÄÅ!„Æ ˆ‚ÇÈ!ˆ ‰\n‡" [switch-to-buffer-other-window "pick-pattern" buffer-size 0 y-or-n-p "Reuse pattern? " mh-make-pick-template message "" folder mh-searching-folder] 2 "\ Search FOLDER for messages matching a pattern." (list (mh-prompt-for-folder "Search" mh-current-folder t))]) (byte-code "ÀÁÂ\"ˆÃÄÅÆ#‡" [defalias mh-make-pick-template #[nil "À ˆÁÂÃÄÅƱˆÇ ˆebˆÈ‡" [erase-buffer "From: \n" "To: \n" "Cc: \n" "Date: \n" "Subject: \n" "---------\n" mh-pick-mode nil] 6] put mh-pick-mode mode-class special] 4) (defalias 'mh-pick-mode #[nil "À ˆÁÂ!ˆÃ\f!ˆÅÇÈ!ˆÉÊ!‡" [kill-all-local-variables make-local-variable mh-searching-folder use-local-map mh-pick-mode-map mh-pick-mode major-mode mh-set-mode-name "MH-Pick" run-hooks mh-pick-mode-hook] 2 "\ Mode for creating search templates in mh-e.\\ After each field name, enter the pattern to search for. To search the entire message, supply the pattern in the \"body\" of the template. When you have finished, type \\[mh-do-pick-search] to do the search. \\{mh-pick-mode-map} Turning on mh-pick-mode calls the value of the variable mh-pick-mode-hook if that value is non-nil." nil]) (defalias 'mh-do-pick-search #[nil "À ‰‰‰ŠÉ!ƒ(qˆÊË\f #‚2Î!ˆÏÐ)ÑÒ!ˆebˆÓ!‰ƒ\\ÔÕÖ\fB×ØÙ¯¤#Ø‚:ÑÚ!ˆ ƒmÛ \"ˆ‚rÜ!ˆÝ ˆÞÕß T#.‡" [buffer-name mh-searching-folder nil new-buffer pattern msgs range searching-buffer pattern-buffer get-buffer format "%d-%d" mh-first-msg-num mh-last-msg-num mh-make-folder "all" t message "Searching..." mh-next-pick-field mh-seq-from-command search "pick" "-sequence" "search" "-list" "Searching...done" mh-scan-folder switch-to-buffer delete-other-windows mh-notate-seq 37 mh-cmd-note] 9 "\ Find messages that match the qualifications in the current pattern buffer. Messages are searched for in the folder named in mh-searching-folder. Add messages found to the sequence named `search'." nil]) (byte-code "ÀÁÂ\"ˆÀÃÄ\"ˆÅÇÈ#ˆÅÉÊ#ˆÅËÊ#ˆÅÌÊ#ˆÅÍÊ#ˆÅÎÊ#ˆÅÏÊ#ˆÅÐÊ#ˆÅÑÊ#ˆÅÒÊ#ˆÅÓÊ#ˆÅÔÕ#‡" [defalias mh-seq-from-command #[(folder seq seq-command) "À‰ÁŠÅ‹ˆqˆ ŸÇ \" B ,‡" [nil t case-fold-search msgs msg ((byte-code "ÀÁ #Ä=ƒ Å @‰ƒ BÈyˆ‚\n‡" [apply mh-exec-cmd-quiet nil seq-command 0 mh-read-msg-list msg msgs 1] 4)) folder mh-make-seq seq mh-seq-list] 3] mh-next-pick-field #[(buffer) "qˆÁmƒ Â[ÄÅÃÁ#ƒ3ÆÇȔȕ{—\" ʔʕ{ Èyˆ  *D‚[ÄÌÃÁ#ƒZÈuˆ`d{‰ GÎV…V Ïš?…VÐ D)‚[Ã)‡" [buffer t case-fold-search nil re-search-forward "^\\([a-z][^: \n]*\\):[ ]*\\([a-z0-9].*\\)$" format "--%s" 1 component 2 pat "^-*$" body 0 "\n" "-search"] 5] define-key mh-pick-mode-map "" mh-do-pick-search "" mh-to-field "" "" "" "" "b" "c" "f" "s" "t" "" mh-check-whom] 4)