Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/gnus/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:28 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/gnus/smiley.el ;;; in Emacs version 24.3.1 ;;; 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%\210\311\312\313\314\315\316\317\320\321\322\323\324\307\304& \207" [require nnheader gnus-art custom-declare-group smiley nil "Turn :-)'s into real images." :group gnus-visual custom-declare-variable smiley-style (if (or (and (fboundp 'face-attribute) (>= (face-attribute 'default :height) 160)) (and (fboundp 'face-height) (>= (face-height 'default) 14))) 'medium 'low-color) "Smiley style." :type (choice (const :tag "small, 3 colors" low-color) (const :tag "medium, ~10 colors" medium) (const :tag "dull, grayscale" grayscale)) :set #[(symbol value) "\303 \"\210\304 \305 \207" [symbol value smiley-data-directory set-default smiley-directory smiley-update-cache] 3] :initialize custom-initialize-default :version "23.1"] 14) #@144 Return a the location of the smiley faces files. STYLE specifies which style to use, see `smiley-style'. If STYLE is nil, use `smiley-style'. (defalias 'smiley-directory #[(&optional style) "\204 \302\303 \304=\203 \305\202# \306=\203 \307\202# \310=\205# \311P!\207" [style smiley-style nnheader-find-etc-directory "images/smilies" low-color "" medium "/medium" grayscale "/grayscale"] 4 (#$ . 1350)]) (byte-code "\300\301\302\303\304\305\306\307\310\311\312\313&\210\300\314\315\316\317\320\310\321\304\322\306\307\312\313& \210\300\323\324\325\317\320\310\326\312\313& \207" [custom-declare-variable smiley-data-directory (smiley-directory) "*Location of the smiley faces files." :set #[(symbol value) "\302 \"\210\303 \207" [symbol value set-default smiley-update-cache] 3] :initialize custom-initialize-default :type directory :group smiley smiley-regexp-alist '(("\\(;-)\\)\\W" 1 "blink") ("[^;]\\(;)\\)\\W" 1 "blink") ("\\(:-]\\)\\W" 1 "forced") ("\\(8-)\\)\\W" 1 "braindamaged") ("\\(:-|\\)\\W" 1 "indifferent") ("\\(:-[/\\]\\)\\W" 1 "wry") ("\\(:-(\\)\\W" 1 "sad") ("\\(X-)\\)\\W" 1 "dead") ("\\(:-{\\)\\W" 1 "frown") ("\\(>:-)\\)\\W" 1 "evil") ("\\(;-(\\)\\W" 1 "cry") ("\\(:-D\\)\\W" 1 "grin") ("\\(\\^?:-?)\\)\\W" 1 "smile")) "*A list of regexps to map smilies to images.\nThe elements are (REGEXP MATCH IMAGE), where MATCH is the submatch in\nregexp to replace with IMAGE. IMAGE is the name of an image file in\n`smiley-data-directory'." :version "24.1" (repeat (list regexp (integer :tag "Regexp match number") (string :tag "Image name"))) #[(symbol value) "\302 \"\210\303 \207" [symbol value set-default smiley-update-cache] 3] gnus-smiley-file-types (let ((types (list "pbm"))) (when (gnus-image-type-available-p 'xpm) (push "xpm" types)) (when (gnus-image-type-available-p 'gif) (push "gif" types)) types) "*List of suffixes on smiley file names to try." (repeat string)] 14) (defvar smiley-cached-regexp-alist nil) (defalias 'smiley-update-cache #[nil "\306 9\203\f J\202 \306\211\205v @\f\306\211\204I \211A@\211\203I \307\310\311\n8\312 Q\"\211!\204 \306\211\203$ \203m \313\314 !\306\315\316%\211\203l \n@\n\211A@)EB)+A\211\204 \306*\207" [smiley-cached-regexp-alist smiley-regexp-alist elt --dolist-tail-- gnus-smiley-file-types type nil file-exists-p expand-file-name 2 "." gnus-create-image intern :ascent center file types smiley-data-directory image x] 7]) #@110 Replace in the region `smiley-regexp-alist' matches with corresponding images. A list of images is returned. (defalias 'smiley-region #[(start end) "\306 \205x \204\f \307 \210\212 \206 e\310\211\211\211\310\211\203t @\211A@\3118b\210\312@\313#\203k \314 ! \225b\210 \224 \225|\210\f\2038 \fB\315\316!\210\317\316\f\"\210\320\f\n\316#\210\2028 A\211\204&