%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/mh-e/ |
Current File : //usr/local/share/emacs/27.2/lisp/mh-e/mh-xface.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\304\"\207" [require mh-e autoload message-fetch-field "message"] 3) #@73 Determine at run time what function should be called to display X-Face. (defvar mh-show-xface-function (byte-code "\301Y\203 \302\207\303\207" [emacs-major-version 21 mh-face-display-function ignore] 2) (#$ . 510)) (defvar mh-uncompface-executable (byte-code "\300\301!\205 \301\302!\207" [fboundp executable-find "uncompface"] 2)) #@17 Display X-Face. (defalias 'mh-show-xface #[nil "\205 \205 \n\204 \204 \f\205 \207" [window-system mh-show-use-xface-flag mh-decode-mime-flag mh-mhl-format-file mh-clean-message-header-flag mh-show-xface-function] 1 (#$ . 851)]) #@141 Display a Face, X-Face, or X-Image-URL header field. If more than one of these are present, then the first one found in this order is used. (defalias 'mh-face-display-function #[nil "\214eb\210\306\307d\310#\210e`}\210\310\311\312\310\"\311\313\310\"\311\314\310\"\315\211 \2030 \316 !\317\202U \n\203= \320\n!\321\202U \203F \303\202U \322\323 !\211@A@) \205\216 eb\210\306\324d\310#\205\216 \303=\203q \325!\210\202\215 \326\327!\203\215 \327\330\f \310\331\332\333\315\310#\334\335\333\315\310#&\336\"\210\315.\207" [case-fold-search face x-face url raw type re-search-forward "\n\n" t message-fetch-field "face" "x-face" "x-image-url" nil mh-face-to-png png mh-uncompface pbm cl-values-list mh-picon-get-image "^from:" mh-x-image-url-display fboundp insert-image create-image :foreground face-foreground mh-show-xface :background face-background " " #1=#:--cl-var--] 13 (#$ . 1096)]) #@43 Convert base64 encoded DATA to png image. (defalias 'mh-face-to-png #[(data) "\302\303!rq\210\304\216\305\306!\203 \306\307!\210 c\210\3101# \311ed\"0\202' \210\202( \210\312 +\207" [#1=#:temp-buffer data generate-new-buffer " *temp*" #[nil "\301!\205 \302!\207" [#1# buffer-name kill-buffer] 2] fboundp set-buffer-multibyte nil (error) base64-decode-region buffer-string] 3 (#$ . 2012)]) #@51 Run DATA through `uncompface' to generate bitmap. (defalias 'mh-uncompface #[(data) "\303\304!rq\210\305\216\306\307!\203 \307\310!\210 c\210\n\205, \311ed\n\312\313%\314\232\205, \315 \210\316 +\207" [#1=#:temp-buffer data mh-uncompface-executable generate-new-buffer " *temp*" #[nil "\301!\205 \302!\207" [#1# buffer-name kill-buffer] 2] fboundp set-buffer-multibyte nil call-process-region t (t nil) 0 mh-icontopbm buffer-string] 6 (#$ . 2413)]) #@35 Elisp substitute for `icontopbm'. (defalias 'mh-icontopbm #[nil "eb\210d\301\302\303\304#\203% \212db\210\305\306\307!\310\"c\210\305\306\311!\310\"c\210)\202 e|\210eb\210\312c)\207" [end re-search-forward "0x\\(..\\)\\(..\\)," nil t string-to-number match-string 1 16 2 "P4\n48 48\n"] 4 (#$ . 2874)]) #@113 List of directories where picons reside. The directories are searched for in the order they appear in the list. (defvar mh-picon-directory-list '("~/.picons" "~/.picons/users" "~/.picons/usenix" "~/.picons/news" "~/.picons/domains" "~/.picons/misc" "/usr/share/picons/" "/usr/share/picons/users" "/usr/share/picons/usenix" "/usr/share/picons/news" "/usr/share/picons/domains" "/usr/share/picons/misc") (#$ . 3186)) #@35 List of directories to search in. (defvar mh-picon-existing-directory-list 'unset (#$ . 3607)) (defvar mh-picon-cache (make-hash-table :test 'equal)) (defvar mh-picon-image-types (byte-code "\303\304\211:\2031 @\3051 \306\307!\205 \307 !0\202# \210\202* \203* \nBA\211\202 \n\237+\207" [#:--cl-var-- type #:--cl-var-- (xpm xbm gif) nil (error) fboundp image-type-available-p] 3)) (autoload 'message-tokenize-header "sendmail") #@51 Find the best possible match and return contents. (defalias 'mh-picon-get-image #[nil "\306 \210\214\3071 \310\311\312!!@0\202 \210\313\3141&