Current File : //proc/self/root/kunden/usr/share/emacs/27.2/lisp/gnus/gnus-picon.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!\210\303\304\305\306\307\310\311\312&\210\303\313\314\315\307\316\311\312&\210\303\317\320\321\307\322\311\312&\210\303\323\324\325\307\326\311\312&\210\303\327\330\331\307\332\333\334\311\312& \210\303\335\336\337\307\340\311\312&\210\303\341\342\343\333\344\307\345\311\312& \207" [require gnus gnus-art custom-declare-variable gnus-picon-news-directories '("news") "List of directories to search for newsgroups faces." :type (repeat string) :group gnus-picon gnus-picon-user-directories '("users" "usenix" "local" "misc") "List of directories to search for user faces." (repeat string) gnus-picon-domain-directories '("domains") "List of directories to search for domain faces.\nSome people may want to add \"unknown\" to this list." (repeat string) gnus-picon-file-types (let ((types (list "xbm"))) (when (gnus-image-type-available-p 'gif) (push "gif" types)) (when (gnus-image-type-available-p 'xpm) (push "xpm" types)) types) "List of suffixes on picon file names to try." (repeat string) gnus-picon-properties '(:color-symbols (("None" . "white"))) "List of image properties applied to picons." plist :version "24.3" gnus-picon-style 'inline "How should picons be displayed.\nIf `inline', the textual representation is replaced. If `right', picons are\nadded right to the textual representation." (choice (const inline) (const right)) gnus-picon-inhibit-top-level-domains t "If non-nil, don't piconify top-level domains.\nThese are often not very interesting." "24.1" boolean] 10)
#@91 Picon glyphs cache.
List of pairs (KEY . GLYPH) where KEY is either a filename or an URL.
(defvar gnus-picon-glyph-alist nil (#$ . 1936))
(defvar gnus-picon-cache nil)
(defalias 'gnus-picon-split-address #[(address) "\301\302\"\211A@;\203 @\301A@\303\"B\207@;\205! \301@\303\"\207" [address split-string "@" "\\."] 5])
(put 'gnus-picon-split-address 'byte-optimizer 'byte-compile-inline-expand)
(defalias 'gnus-picon-find-face #[(address directories &optional exact) "\306\307\"\211A@;\203 @\306A@\310\"B\202% @;\205% \306@\310\")\211\211A\242\311\211\311\211\311\3122\304 \311\211\205\302 @\311\211\203\267 @\n\313\f\"\203\226 \314\315\316\317\320!\315#\315 \227\315\260!\211\203\203 \321\312
\"\210\203\216 \311\211\202d \211A\210\202c \f\322\230\204\256 \314\323 \315R!\211\203\256 \321\312
\"\210A\211\204W *A\211\204I \311*0.\207" [address user faddress database directory result split-string "@" "\\." nil found expand-file-name gnus-picon-find-image "/" mapconcat downcase reverse throw "news" "/MISC/" instance base gnus-picon-databases --dolist-tail-- directories exact] 8])
(defalias 'gnus-picon-find-image #[(directory) "\306\211\211\204# \f\211A\242\211\203# \307
\310\nQ\211!\211\203\f \205( ,\207" [gnus-picon-file-types file type found types directory nil file-exists-p "face."] 5])
#@121 Insert GLYPH into the buffer.
GLYPH can be either a glyph or a string. When NOSTRING, no textual
replacement is added.
(defalias 'gnus-picon-insert-glyph #[(glyph category &optional nostring) ";\203 c\207\303 !\210\304 @\"\210\305@\n?\205 A #\207" [glyph category nostring gnus-add-wash-type gnus-add-image gnus-put-image] 4 (#$ . 3324)])
(defalias 'gnus-picon-create-glyph #[(file) "\303 \"A\206 \304\305\306\211\n%B B\211@A\207" [file gnus-picon-glyph-alist gnus-picon-properties assoc apply gnus-create-image nil] 7])
(defalias 'gnus-picon-transform-address #[(header category) "rq\210\214\306\211\211\307 \210\310\3111 \312\313\f!\206 \314!0\202$ \210\202'