Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/mail/rmailout.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\302\303!\210\304\305\306\307\310\311\312\313&\210\304\314\306\315\310\316\312\313&\210\304\317\306\320\310\321\312\313&\210\304\322\306\323\310\324\325\326\312\313& \207" [require rmail provide rmailout custom-declare-variable rmail-output-decode-coding nil "If non-nil, do coding system decoding when outputting message as Babyl." :type boolean :group rmail-output rmail-output-file-alist "Alist matching regexps to suggested output Rmail files.\nThis is a list of elements of the form (REGEXP . NAME-EXP).\nThe suggestion is taken if REGEXP matches anywhere in the message buffer.\nNAME-EXP may be a string constant giving the file name to use,\nor more generally it may be any kind of expression that returns\na file name as a string." (repeat (cons regexp (choice :value "" (string :tag "File Name") sexp))) rmail-fields-not-to-output "Regexp describing fields to exclude when outputting a message to a file.\nThe function `rmail-delete-unwanted-fields' uses this, ignoring case." (choice (const :tag "None" nil) regexp) rmail-output-reset-deleted-flag "Non-nil means reset the \"deleted\" flag when outputting a message to a file." (choice (const :tag "Output with the \"deleted\" flag reset" t) (const :tag "Output with the \"deleted\" flag intact" nil)) :version "27.1"] 10)
#@147 Read the file name to use for `rmail-output'.
Set `rmail-default-file' to this name as well as returning it.
This uses `rmail-output-file-alist'.
(defalias 'rmail-output-read-file-name #[nil "\203~ \204\f \306\307!\210r q\210\310\n!\311\n!\312 \203
q\210\212\214~\210\f}\210\313\211\211\203w \204w eb\210\314@@\313\315#\203n \3161V \317@A!0\202l \320\321\322\323@@@A$\324#\210)\313A\211\2045 .\206\200 !\325\326\327\330!!\331Q\332!!\333!!#\332!!\"\"\334\"!\203\255 \325\330!!\"\"\202\274 \325\"\206\267 \330!!\332!!\"\211 *\207" [rmail-output-file-alist rmail-buffer rmail-current-message end beg rmail-view-buffer error "There is no Rmail buffer" rmail-msgbeg rmail-msgend rmail-buffers-swapped-p nil re-search-forward t (error) eval display-warning rmail-output format-message "Error evaluating `rmail-output-file-alist' element:\nregexp: %s\naction: %s\nerror: %S\n" :error expand-file-name read-file-name "Output message to mail file (default " file-name-nondirectory "): " file-name-directory abbreviate-file-name file-directory-p err answer tail rmail-default-file default-file read-file] 8 (#$ . 1720)])
#@170 Delete all headers matching `rmail-fields-not-to-output'.
Retains headers matching the regexp PRESERVE. Ignores case.
The buffer should be narrowed to just the header.
(defalias 'rmail-delete-unwanted-fields #[(preserve) "\205% \212eb\210\303\304\305\303#\205$ \306 \210\307\n!\204\n `\310\311!|\210\202\n *\207" [rmail-fields-not-to-output case-fold-search preserve t re-search-forward nil beginning-of-line looking-at line-beginning-position 2] 4 (#$ . 2890)])
#@459 Convert the current buffer's text to Babyl and output to FILE-NAME.
Alters the current buffer's text, so it should be a temporary buffer.
If a buffer is visiting FILE-NAME, adds the text to that buffer
rather than saving the file directly. If the buffer is an Rmail buffer,
updates it accordingly. If no buffer is visiting FILE-NAME, appends
the text directly to FILE-NAME, and displays a "Wrote file" message
unless NOMSG is a symbol (neither nil nor t).
(defalias 'rmail-output-as-babyl #[(file-name nomsg) "\306\214eb\210\307\310\311\312#\210e`}\210 \203 \313\311!\210)\314 \210\315\n!p\211\2040 \316ed\n\317
%\202d \fp=\203: \320\321!\210\fq\210\317\322\323!\205F \203W \324\"\202c e\325 T}\210db\210\326!*+\207" [coding-system-for-write rmail-fields-not-to-output file-name tembuf buf nomsg emacs-mule-unix search-forward "\n\n" nil move rmail-delete-unwanted-fields rmail-convert-to-babyl-format find-buffer-visiting write-region t error "Can't output message to same file it's already in" boundp rmail-current-message rmail-output-to-babyl-buffer buffer-size insert-buffer-substring msg inhibit-read-only] 7 (#$ . 3364)])
#@157 Copy message in TEMBUF into the current Babyl Rmail buffer.
Do what is necessary to make Rmail know about the new message, then
display message number MSG.
(defalias 'rmail-output-to-babyl-buffer #[(tembuf msg) "\204\f \203\f \306\307!\210\310 \210~\210dd}\210\311\n!\210eb\210~\210\312\313!\210`d}\210\314\307!\210\315 \203Y \316 \203J \317 \212\320\216\321!\210\f\322 \210,\202U rq\210\f\322 \210*\323 \210)\324!\207" [buffer-auto-save-file-name auto-save-default tembuf rmail-total-messages total window auto-save-mode t rmail-maybe-set-message-counters insert-buffer-substring search-backward "\n" rmail-count-new-messages rmail-summary-exists rmail-summary-displayed selected-window #[nil "\301!\207" [window select-window] 2] rmail-pop-to-buffer rmail-update-summary rmail-maybe-display-summary rmail-show-message-1 rmail-summary-buffer msg] 2 (#$ . 4518)])
#@65 Convert the mbox message in the current buffer to Babyl format.
(defalias 'rmail-convert-to-babyl-format #[nil "\306e\307\310eb\210\214\311\312!\204 \313\314!\210\315c\210\316 \210\212\317\320\307\310#\205'