%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/emacs-lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/emacs-lisp/eieio-custom.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\300\303!\210\300\304!\210\305\306\307\310!\"\210\305\311\312\310!\"\210\305\313\311\"\210\314\313\315\316#\210\317\310\320\311#\321\310\322\323\324$\207" [require eieio widget wid-edit custom defalias eieio-widget-test-class-p eieio-make-class-predicate eieio-widget-test-class eieio-widget-test-class--eieio-childp eieio-make-child-predicate eieio-widget-test-class-child-p make-obsolete "use (cl-typep ... \\='eieio-widget-test-class) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal nil ((a-string :initarg :a-string :initform "The moose is loose" :custom string :label "Amorphous String" :group (default foo) :documentation "A string for testing custom.\nThis is the next line of documentation.") (listostuff :initarg :listostuff :initform ("1" "2" "3") :type list :custom (repeat (string :tag "Stuff")) :label "List of Strings" :group foo :documentation "A list of stuff.") (uninitialized :initarg :uninitialized :type string :custom string :documentation "This slot is not initialized.\nUsed to make sure that custom doesn't barf when it encounters one\nof these.") (a-number :initarg :a-number :initform 2 :custom integer :documentation "A number of thingies.")) (:documentation "A class for testing the widget on.")] 6) #@80 Create a new object of class type `eieio-widget-test-class'. (fn &rest SLOTS) (defalias 'eieio-widget-test-class #[128 "\300\301\302#\207" [apply make-instance eieio-widget-test-class] 5 (#$ . 1706)]) (byte-code "\300\301\302\303#\300\207" [function-put eieio-widget-test-class compiler-macro eieio-widget-test-class--anon-cmacro] 4) #@26 (fn WHOLE &rest SLOTS) (defalias 'eieio-widget-test-class--anon-cmacro #[385 "\211@;\204 \207\300\301\302@@#@\303@DABB\"\207" [macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 7 (#$ . 2048)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\312\313\314\315\310\316%\207" [custom-declare-variable eieio-widget-test funcall function #[0 "\300 \207" [eieio-widget-test-class] 1] "Test variable for editing an object." :type object :group eieio custom-declare-face eieio-custom-slot-tag-face ((((class color) (background dark)) (:foreground "light blue")) (((class color) (background light)) (:foreground "blue")) (t (:italic t))) "Face used for unpushable variable tags." custom-faces] 8) #@75 Buffer local variable in object customize buffers for the current widget. (defvar eieio-wo nil (#$ . 2796)) #@72 Buffer local variable in object customize buffers for the current obj. (defvar eieio-co nil (#$ . 2910)) #@74 Buffer local variable in object customize buffers for the current group. (defvar eieio-cog nil (#$ . 3021)) #@131 When true, all customizable slots of the current object are updated. Updates occur regardless of the current customization group. (defvar eieio-custom-ignore-eieio-co nil (#$ . 3136)) (define-widget 'object-slot 'group "Abstractly modify a single slot in an object." :tag "Slot" :format "%t %v%h\n" :convert-widget 'widget-types-convert-widget :value-create 'eieio-slot-value-create :value-get 'eieio-slot-value-get :value-delete 'widget-children-value-delete :validate 'widget-children-validate :match 'eieio-object-match) #@42 Create the value of WIDGET. (fn WIDGET) (defalias 'eieio-slot-value-create #[257 "\300\301\302\303\"\304\305\306\302\306\"&B\262\307\310#\207" [nil widget-create-child-and-convert widget-get :childtype :tag "" :value widget-put :children] 11 (#$ . 3666)]) #@39 Get the value of WIDGET. (fn WIDGET) (defalias 'eieio-slot-value-get #[257 "\300\301\302\"@!\207" [widget-value widget-get :children] 5 (#$ . 3938)]) #@43 Toggle visibility of WIDGET. (fn WIDGET) (defalias 'eieio-custom-toggle-hide #[257 "\300\301\"@\300\302\"\303=\203 \304\302\305#\210\304\306\300\307\"#\210\2025 \304\302\303#\210\304\307\300\306\"#\210\304\306\310#\210\311\312!\"\207" [widget-get :children :eieio-custom-state hidden widget-put visible :value-face :orig-face invisible widget-value-set widget-value] 8 (#$ . 4096)]) #@114 Toggle visibility of parent of WIDGET. Optional argument IGNORE is an extraneous parameter. (fn WIDGET &rest _) (defalias 'eieio-custom-toggle-parent #[385 "\300\301\302\"!\207" [eieio-custom-toggle-hide widget-get :parent] 6 (#$ . 4499)]) (define-widget 'object-edit 'group "Abstractly modify a CLOS object." :tag "Object" :format "%v" :convert-widget 'widget-types-convert-widget :value-create 'eieio-object-value-create :value-get 'eieio-object-value-get :value-delete 'widget-children-value-delete :validate 'widget-children-validate :match 'eieio-object-match :clone-object-children nil) #@57 Match info for WIDGET against VALUE. (fn WIDGET VALUE) (defalias 'eieio-object-match #[514 "\300\207" [t] 3 (#$ . 5100)]) #@48 Filter WIDGETs SLOTTYPE. (fn WIDGET SLOTTYPE) (defalias 'eieio-filter-slot-type #[514 "\300\301\"\203 \207\211\302=\203 \303\207\211<\203! \211@\302=\203! \303AB\207\211\304\232\203) \305\207\211<\203N \211@\306=\203N \211A@<\203N \211A@@\302=\203N \306\303A@ABD\207\207" [widget-get :clone-object-children object object-edit (repeat object) (repeat object-edit) repeat] 5 (#$ . 5229)]) #@42 Create the value of WIDGET. (fn WIDGET) (defalias 'eieio-object-value-create #[257 "\302\303\"\204. \304\303\302\305\"\203 \302\305\"\306!\202, \302\307\"\203) \302\307\" \202, \310\311!#\210\312\302\303\"\302\313\"\211\211\314H\262\203W \211\2119\203Q \211\315N\206R \202X \211\262\202X \211\266\202\211\316H\302\317\"\203w \320\321\322\323\324\325\326!&B\262\203\351 \211\211\314H\262\203\233 \211\2119\203\225 \211\315N\206\226 \202\234 \211\262\202\234 \211\266\202\327\211\330H>A\242\266\202\331\332!\210\211\203\344 \331\333!\210\211@=\203\311 \331\334\335\336!!\334#\210\202\335 \337\340\341@B\342\343\335\336@!!&\210\211A\262\202\254 \331\344!\266\211G\314\211W\203\211H\345!\346! >\204\347\350\351D\"\210\316H\352\353\"\203\f\203!\352\354\"\235\203\f\355\n\346! >\2044\347\350\351D\"\210\356H\"\203\f\357\f\352\353\"\"\312<\203\207\360>\211\262\203\207\361\fA@\"\312@\360=\204n@B\262A\262\202Z\203\201\362@DB\262A\262\202n\211\237\262\266\320\363\364\324\365\322\366\302\367\"\206\232\314\370\"\352\371 \"\206\347\336\372\211\211\314H\262\203\307\211\2119\203\301\211\315N\206\302\202\310\211\262\202\310\211\266\202\"\206\322 !\335\373\374\"\203\343\375\314\225\"\202\344!\262P\303\376\"\377\352\201@ \"\206\375\201A \201B \201C & B\262 \266\266\211T\262\202\354 \266\304\201D \237#\207" [eieio-backward-compatibility cl-struct-cl-slot-descriptor-tags widget-get :value widget-put :objecttype "Custom-new" :objectcreatefcn error "No create method specified" nil :eieio-group 0 cl--class 4 :eieio-show-name widget-create-child-and-convert string :tag "Object " :sample-face bold eieio-object-name-string :custom-groups 11 widget-insert "Groups:" " " "*" capitalize symbol-name widget-create push-button :thing :notify #[385 "\300\301\302\"@\301\302\"A\"\207" [eieio-customize-object widget-get :thing] 7 "\n\n(fn WIDGET &rest _)"] "\n\n" eieio-slot-descriptor-name type-of signal wrong-type-argument cl-slot-descriptor alist-get :custom :group slot-boundp 1 eieio-filter-slot-type :slotofchoices eieio-oref const object-slot :childtype eieio-custom-slot-tag-face make-string :indent 32 :label eieio--class-slot-initarg string-match "^:" substring slot-value :doc :documentation "Slot not Documented." :eieio-custom-visibility visible :children] 30 (#$ . 5628)]) #@39 Get the value of WIDGET. (fn WIDGET) (defalias 'eieio-object-value-get #[257 "\304\305\"\304\306\"\304\307\"\205 \310@\311\"@\304\307\"\203\"