;ELC ;;; compiled by kwzh@hal.gnu.ai.mit.edu on Tue May 3 21:53:29 1994 ;;; from file /gd/gnu/emacs/19.0/lisp/rmailsort.el ;;; emacs version 19.22.92.2. ;;; 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 "`/gd/gnu/emacs/19.0/lisp/rmailsort.el' was compiled for Emacs 19")) (byte-code "ÀÁ!ˆÂÃÄ\"‡" [require sort autoload timezone-make-date-sortable "timezone"] 3) (defalias 'rmail-sort-by-date #[(reverse) "À Â\"‡" [rmail-sort-messages reverse #[(msg) "ÀÁ\nÃ\"!‡" [rmail-make-date-sortable rmail-fetch-field msg "Date"] 4]] 3 "\ Sort messages of current Rmail file by date. If prefix argument REVERSE is non-nil, sort them in reverse order." "P"]) (defalias 'rmail-sort-by-subject #[(reverse) "À Â\"‡" [rmail-sort-messages reverse #[(msg) "À Â\"†ÃÄÇÈ\"ƒÉ•ÊO‚*‡" [rmail-fetch-field msg "Subject" "" t case-fold-search key string-match "^\\(re:[ ]*\\)*" 0 nil] 3]] 3 "\ Sort messages of current Rmail file by subject. If prefix argument REVERSE is non-nil, sort them in reverse order." "P"]) (defalias 'rmail-sort-by-author #[(reverse) "À Â\"‡" [rmail-sort-messages reverse #[(msg) "ÀÁ\nÃ\"†Á\nÄ\"†Å!—‡" [mail-strip-quoted-names rmail-fetch-field msg "From" "Sender" ""] 4]] 3 "\ Sort messages of current Rmail file by author. If prefix argument REVERSE is non-nil, sort them in reverse order." "P"]) (defalias 'rmail-sort-by-recipient #[(reverse) "À Â\"‡" [rmail-sort-messages reverse #[(msg) "ÀÁ\nÃ\"†Á\nÄ\"†Å!—‡" [mail-strip-quoted-names rmail-fetch-field msg "To" "Apparently-To" ""] 4]] 3 "\ Sort messages of current Rmail file by recipient. If prefix argument REVERSE is non-nil, sort them in reverse order." "P"]) (defalias 'rmail-sort-by-correspondent #[(reverse) "À Â\"‡" [rmail-sort-messages reverse #[(msg) "À Â\"‡" [rmail-select-correspondent msg ("From" "Sender" "To" "Apparently-To")] 3]] 3 "\ Sort messages of current Rmail file by other correspondent. If prefix argument REVERSE is non-nil, sort them in reverse order." "P"]) (defalias (quote rmail-select-correspondent) #[(msg fields) "À\nƒ\" À˜ƒ\"ÃÄÅ\n@\"†À!!\nA‰„ )‡" ["" ans fields rmail-dont-reply-to mail-strip-quoted-names rmail-fetch-field msg] 6]) (defalias 'rmail-sort-by-lines #[(reverse) "À Â\"‡" [rmail-sort-messages reverse #[(msg) "ÀÁ\n!Ã\n!\"‡" [count-lines rmail-msgbeg msg rmail-msgend] 4]] 3 "\ Sort messages of current Rmail file by number of lines. If prefix argument REVERSE is non-nil, sort them in reverse order." "P"]) (defalias 'rmail-sort-by-keywords #[(reverse labels) "ÀÁ\n\"„ ÃÄ!ˆ\nÅ”ÆOÇPÆÀÉ\n\"ƒ3Ê\nʼn”OËQB\nÅ•ÆO‚ÌÍŸ\"ÎÐ\")‡" [string-match "[^ ]" labels error "No labels specified" 0 nil "," labelvec "[ ]*,[ ]*" ", ?\\(" "\\)," apply vector rmail-sort-messages reverse #[(msg) "ÀÀ\nGWƒÃ\f\n H\"„ T‰‚ )‡" [0 n labelvec rmail-message-labels-p msg] 5]] 4 "\ Sort messages of current Rmail file by labels. If prefix argument REVERSE is non-nil, sort them in reverse order. KEYWORDS is a comma-separated list of labels." "P\nsSort by labels: "]) (defalias 'rmail-sort-messages #[(reverse keyfun) "ŠÁ=ƒ\n\nqˆÃ‰‰ÇÈ!ˆ~ˆÉ\n \nYƒR\f\n! \n=\nH\nTHF\fB\nϦÐUƒJÇÑ\n\"ˆ\nT\n‚)„[\fŸ\f@@§ƒgÓ‚iÔÕ\fÖ\"ƒv\fŸÇ×!ˆØÃÉÃ\nÜp!ˆÝÉ!bˆÞß!ˆàÉ!ˆ\fƒÚ\f@ápâ8ã8#ˆâ8ã8|ˆA@ƒÀ\n\fA\nϦÐUƒÒÇä\n\"ˆ\nT\n‚—åÉ!ˆÃ&ç ˆè ˆé!ˆê …ë ƒ ì -ŠîŽï0!ˆñ ˆ+‚Š0qˆñ ˆ)ò .‡" [major-mode rmail-summary-mode rmail-buffer nil sort-lists predicate buffer-read-only message "Finding sort keys..." 1 msgnum rmail-total-messages keyfun rmail-current-message rmail-message-vector 10 0 "Finding sort keys...%d" reverse < string-lessp sort #[(a b) " @\n@\"‡" [predicate a b] 3] "Reordering messages..." t msginfo current-message inhibit-quit buffer-disable-undo rmail-msgbeg insert-before-markers 90 backward-char insert-buffer-substring 2 3 "Reordering messages...%d" delete-char quit-flag buffer-enable-undo rmail-set-message-counters rmail-show-message rmail-summary-exists rmail-summary-displayed selected-window window ((select-window window)) pop-to-buffer rmail-summary-buffer rmail-update-summary rmail-maybe-display-summary] 5 "\ Sort messages of current Rmail file. If 1st argument REVERSE is non-nil, sort them in reverse order. 2nd argument KEYFUN is called with a message number, and should return a key."]) (defalias 'rmail-fetch-field #[(msg field) "Œ~ˆÀ !à !bˆÄÅ\nÆ#ƒ`‚Çyˆ`ÄÈÉÆ#ˆ`}ˆÊ !*‡" [rmail-msgend msg next rmail-msgbeg search-forward "\n*** EOOH ***\n" t 1 "\n\n" nil mail-fetch-field field] 5 "\ Return the value of the header FIELD of MSG. Arguments are MSG and FIELD."]) (defalias 'rmail-make-date-sortable #[(date) "À ‰#‡" [timezone-make-date-sortable date "GMT"] 4 "\ Make DATE sortable using the function string-lessp."]) (provide (quote rmailsort))