%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/mh-e/ |
Current File : //usr/local/share/emacs/27.2/lisp/mh-e/mh-funcs.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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 "\300\301!\210\300\302!\207" [require mh-e mh-scan] 2) #@824 Break up digest into separate messages\<mh-folder-mode-map>. This command uses the MH command "burst" to break out each message in the digest into its own message. Using this command, you can quickly delete unwanted messages, like this: Once the digest is split up, toggle out of MH-Folder Show mode with \[mh-toggle-showing] so that the scan lines fill the screen and messages aren't displayed. Then use \[mh-delete-msg] to quickly delete messages that you don't want to read (based on the "Subject:" header field). You can also burst the digest to reply directly to the people who posted the messages in the digest. One problem you may encounter is that the "From:" header fields are preceded with a ">" so that your reply can't create the "To:" field correctly. In this case, you must correct the "To:" field yourself. (defalias 'mh-burst-digest #[nil "\305\306!\307 !\210\310\306!\210\311\312!\210\313\314 \315$\210\316 \317\211\320 \210`d|\210\310\f!\210+\321\322\323\"\306\"\210\324 \210\311\325!)\207" [digest mh-current-folder buffer-file-name buffer-read-only mh-folder-updating-mod-flag mh-get-msg-num t mh-process-or-undo-commands mh-set-folder-modified-p message "Bursting digest..." mh-exec-cmd "burst" "-inplace" buffer-modified-p nil beginning-of-line mh-regenerate-headers format "%d-last" mh-goto-cur-msg "Bursting digest...done"] 5 (#$ . 475) nil]) #@508 Copy RANGE to FOLDER\<mh-folder-mode-map>. If you wish to copy a message to another folder, you can use this command (see the "-link" argument to "refile"). Like the command \[mh-refile-msg], this command prompts you for the name of the target folder and you can specify a range. Note that unlike the command \[mh-refile-msg], the copy takes place immediately. The original copy remains in the current folder. Check the documentation of `mh-interactive-range' to see how RANGE is read in interactive use. (defalias 'mh-copy-msg #[(range folder) "\306 \247\203 \307 \310\211#\203\347 \311\306\f#\210\nB)\202\347 :\203b @\247\203b A\247\203b \212 @b\210\312 \210` AX\203^ m\204^ \313 !\203X \314\310!\311\306\f#\210\nB)\315y\210\2028 )\202\347 \203q 9\203q \316 !\202 ;\203~ \317 \"\202 \320 \211\306\211\203\253 @\211\321\310#\210*A\211\204\216 *\212eb\210\312 \210`dX\203\346 m\204\346 \313 !\203\340 \314\310!\322\"\203\337 \311\306\f#\210\nB))\315y\210\202\263 +)\323\324\325!\326\327 &)\207" [result range msg mh-note-copied mh-cmd-note mh-scan-valid-regexp nil mh-goto-msg t mh-notate beginning-of-line looking-at mh-get-msg-num 1 mh-seq-to-msgs mh-translate-range make-hash-table puthash gethash mh-exec-cmd "refile" mh-coalesce-msg-list "-link" "-src" mh-current-folder #1=#:seq-hash-table #2=#:msgs --dolist-tail-- #3=#:v #4=#:v v msg-list folder] 8 (#$ . 1856) (list (mh-interactive-range "Copy") (mh-prompt-for-folder "Copy to" "" t))]) #@383 Remove folder. Remove all of the messages (files) within the current folder, and then remove the folder (directory) itself. Run the abnormal hook `mh-kill-folder-suppress-prompt-hooks'. The hook functions are called with no arguments and should return a non-nil value to suppress the normal prompt when you remove a folder. This is useful for folders that are easily regenerated. (defalias 'mh-kill-folder #[nil "\305\306!\204 \307\310\311\"!\203U \312\313!\210\314\315\316#\210\317\320!\203' \321!\210\322!\210\312\323!\210\f\203= \324\f!\203= \325\f!\210\324!\203G \325!\210\n\203O \326\n!\210\327\330\"*\207\327\331!\207" [mh-current-folder mh-previous-window-config window-config folder mh-show-buffer run-hook-with-args-until-success mh-kill-folder-suppress-prompt-hooks yes-or-no-p format "Remove folder %s (and all included messages)? " mh-set-folder-modified-p t mh-exec-cmd-daemon "rmf" mh-rmf-daemon boundp mh-speed-folder-map mh-speed-invalidate-map mh-remove-from-sub-folders-cache nil get-buffer kill-buffer set-window-configuration message "Folder %s removed" "Folder not removed"] 4 (#$ . 3378) nil]) #@100 The rmf PROCESS puts OUTPUT in temporary buffer. Display the results only if something went wrong. (defalias 'mh-rmf-daemon #[(_process output) "\302!q\210\303 !\210\212eb\210\304\305d\306#)\205 \307!\207" [mh-temp-buffer output get-buffer-create insert-before-markers re-search-forward "^rmf: " t display-buffer] 4 (#$ . 4515)]) #@20 List mail folders. (defalias 'mh-list-folders #[nil "\nr\306 !q\210p\307 \210\310\211\311\211\311\312 \210\313\314!\210+\211r q\210\312 \210\315\316!\210\317\320\311\203A \321\202B \322#\210eb\210\323 \210\324\315\325!)\326!\210,\207" [mh-folders-buffer temp-buffer default-directory #1=#:old-dir buffer-read-only buffer-file-name get-buffer-create kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook message "Listing folders..." mh-exec-cmd-output "folders" "-recurse" "-norecurse" mh-view-mode-enter kill-buffer "Listing folders...done" internal-temp-output-buffer-show buffer-undo-list inhibit-modification-hooks inhibit-read-only #2=#:buf standard-output mh-recursive-folders-flag view-exit-action] 5 (#$ . 4854) nil]) #@574 Pack folder\<mh-folder-mode-map>. This command packs the folder, removing gaps from the numbering sequence. If you don't want to rescan the entire folder afterward, this command will accept a RANGE. Check the documentation of `mh-interactive-range' to see how RANGE is read in interactive use. This command will ask if you want to process refiles or deletes first and then either run \[mh-execute-commands] for you or undo the pending refiles and deletes. The hook `mh-pack-folder-hook' is run after the folder is packed; see its documentation for variables it can use. (defalias 'mh-pack-folder #[(range) "\305>\306\n!\210\307 \210\203 \310\f!\210 \203 \311 \210\202$ \203$ \312 \210)\313\314!\210\315\316!\207" [mh-view-ops threaded-flag range mh-index-data mh-current-folder unthread mh-pack-folder-1 mh-goto-cur-msg mh-index-update-maps mh-toggle-threads mh-index-insert-folder-headers run-hooks mh-pack-folder-hook message "Packing folder...done"] 2 (#$ . 5632) (list (if current-prefix-arg (mh-read-range "Scan" mh-current-folder t nil t mh-interpret-number-as-range-flag) '("all")))]) #@104 Close and pack the current folder. Display RANGE after packing, or the entire folder if RANGE is nil. (defalias 'mh-pack-folder-1 #[(range) "\302!\210\303\304!\210\305\306!\210\212\307\306\310\311\312\313&\210)\314 \210\315 !\207" [mh-current-folder range mh-process-or-undo-commands message "Packing folder..." mh-set-folder-modified-p t mh-exec-cmd-quiet "folder" "-pack" "-norecurse" "-fast" mh-reset-threads-and-narrowing mh-regenerate-headers] 7 (#$ . 6740)]) #@33 Display next message in digest. (defalias 'mh-page-digest #[nil "\304 \305 !\210\n\203 \306p!\210\307\216\310\311!\210\312\313\314\312\315#\203' \316\317\312\315#\204+ \320\321!\210)\322\314\312\315#\210\323y\210\324\311!*\207" [mh-in-show-buffer-saved-window mh-show-buffer mh-bury-show-buffer-flag case-fold-search selected-window switch-to-buffer-other-window bury-buffer #[nil "\301!\207" [mh-in-show-buffer-saved-window select-window] 2] move-to-window-line 0 nil search-forward "\n\n" t re-search-forward "^From:" error "No more messages in digest" search-backward 2 mh-recenter] 4 (#$ . 7215) nil]) #@37 Display previous message in digest. (defalias 'mh-page-digest-backwards #[nil "\304 \305 !\210\n\203 \306p!\210\307\216\310\311!\210\312\313 \210\314\315\312\316#\203* \317\320\312\316#\204. \321\322!\210)\314\315\312\316#\203: \323y\210\324\311!*\207" [mh-in-show-buffer-saved-window mh-show-buffer mh-bury-show-buffer-flag case-fold-search selected-window switch-to-buffer-other-window bury-buffer #[nil "\301!\207" [mh-in-show-buffer-saved-window select-window] 2] move-to-window-line 0 nil beginning-of-line search-backward "\n\n" t re-search-backward "^From:" error "No previous message in digest" 2 mh-recenter] 4 (#$ . 7831) nil]) #@256 Pipe message through shell command COMMAND. You are prompted for the Unix command through which you wish to run your message. If you give a prefix argument INCLUDE-HEADER to this command, the message header is included in the text passed to the command. (defalias 'mh-pipe-msg #[(command include-header) "\306\307\310!!r\311!q\210\312 \210\313\n!\210eb\210\f\204 \314\315!\210 \316`d \317$,\207" [default-directory message-directory msg-file-to-pipe mh-temp-buffer include-header command mh-msg-filename mh-get-msg-num t get-buffer-create erase-buffer insert-file-contents search-forward "\n\n" shell-command-on-region nil] 5 (#$ . 8480) (list (read-string "Shell command on message: ") current-prefix-arg)]) #@182 Sort folder. By default, messages are sorted by date. The option `mh-sortm-args' holds extra arguments to pass on to the command "sortm" when a prefix argument EXTRA-ARGS is used. (defalias 'mh-sort-folder #[(&optional extra-args) "\306!\210\307\310\311!\210\312\313!\210\314\n>\315\316\f\205 #\210\203% \317!\210\312\320!\210\321\322\"\210\2037 \323 \202>