%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/gmm-utils.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\302\303\304\305\306\307\310\311& \210\312\313\314\315\316\317\310\301&\207" [custom-declare-group gmm nil "Utility functions for Gnus, Message and MML." :prefix "gmm-" :version "22.1" :group lisp custom-declare-variable gmm-verbose 7 "Integer that says how verbose gmm should be.\nThe higher the number, the more messages will flash to say what\nit did. At zero, it will be totally mute; at five, it will\ndisplay most important messages; and at ten, it will keep on\njabbering all the time." :type integer] 10) #@101 Potentially concat a list of regexps into a single one. The concatenation is done with logical ORs. (defalias 'gmm-regexp-concat #[(regexp) "\204 \301\207;\203 \207<\205 \302\303\304#\207" [regexp nil mapconcat #[(elt) "\301\302Q\207" [elt "\\(" "\\)"] 3] "\\|"] 4 (#$ . 944)]) #@254 If LEVEL is lower than `gmm-verbose' print ARGS using `message'. Guideline for numbers: 1 - error messages 3 - non-serious error messages 5 - messages for things that take a long time 7 - not very important messages on stuff 9 - messages inside loops. (defalias 'gmm-message #[(level &rest args) " X\203 \303\304\n\"\207\303\305\n\"\207" [level gmm-verbose args apply message format] 3 (#$ . 1238)]) #@94 Beep an error if LEVEL is equal to or less than `gmm-verbose'. ARGS are passed to `message'. (defalias 'gmm-error #[(level &rest args) "\304! X\203+ \305\306\n\"\210\307 \210\310\311!\203* \312\304!Z_\211\313U\204* \314!\210)\310\207" [level gmm-verbose args duration floor apply message ding nil floatp 10 0 sit-for] 4 (#$ . 1647)]) #@32 Non-nil if SYMBOL is a widget. (defalias 'gmm-widget-p #[(symbol) "\301N\207" [symbol widget-type] 2 (#$ . 1994)]) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\305\306\307\310\311\312\313\314&\210\305\315\307\316\311\317\313\320&\210\321\322\323\324\313\325\326\327&\207" [autoload widget-create-child-value "wid-edit" widget-convert widget-default-get define-widget gmm-tool-bar-item lazy "Tool bar list item." :tag "Tool bar item" :type (choice (list :tag "Command and Icon" (function :tag "Command") (string :tag "Icon file") (choice (const :tag "Default map" nil) (const :tag "No menu" t) (sexp :tag "Other map")) (plist :inline t :tag "Properties")) (list :tag "Separator" (const :tag "No command" gmm-ignore) (string :tag "Icon file") (const :tag "No map") (plist :inline t :tag "Properties"))) gmm-tool-bar-zap-list "Tool bar zap list." "Tool bar zap list" (choice (const :tag "Zap all" t) (const :tag "Keep all" nil) (list (set :inline t (const new-file) (const open-file) (const dired) (const kill-buffer) (const save-buffer) (const write-file) (const undo) (const cut) (const copy) (const paste) (const search-forward) (const print-buffer) (const customize) (const help)) (repeat :inline t :tag "Other" (symbol :tag "Icon item")))) custom-declare-variable gmm-tool-bar-style (if (and (boundp 'tool-bar-mode) tool-bar-mode (memq (display-visual-class) (list 'static-gray 'gray-scale 'static-color 'pseudo-color))) 'gnome 'retro) "Preferred tool bar style." (choice (const :tag "GNOME style" gnome) (const :tag "Retro look" retro)) :group gmm] 8) #@747 Make a tool bar from ICON-LIST. Within each entry of ICON-LIST, the first element is a menu command, the second element is an icon file name and the third element is a test function. You can use \[describe-key] <menu-entry> to find out the name of a menu command. The fourth and all following elements are passed as the PROPS argument to the function `tool-bar-local-item'. If ZAP-LIST is a list, remove those item from the default `tool-bar-map'. If it is t, start with a new sparse map. You can use \[describe-key] <icon> to find out the name of an icon item. When \[describe-key] <icon> shows "<tool-bar> <new-file> runs the command find-file", then use `new-file' in ZAP-LIST. DEFAULT-MAP specifies the default key map for ICON-LIST. (defalias 'gmm-tool-bar-from-list #[(icon-list zap-list default-map) "\306=\203 \307 \202 \310 !<\203/ \311\211\203. \f@\312\n\313!\311#\210\fA\211\204 *\314\315 9\203<