| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311#\210\312\307\310\313#\210\306\314\315\311#\210\312\314\315\313#\210\306\316\317\311#\210\312\316\317\313#\210\306\320\321\311#\210\312\320\321\313#\210\322\323\324\311#\210\325\211\203l \211@\323N\203e \324N\204e \326\324\323N#\210A\266\202\202K \210\327\323\324\313#\210\322\330\331\311#\210\325\211\203\233 \211@\330N\203\224 \331N\204\224 \326\331\330N#\210A\266\202\202z \210\327\330\331\313#\210\322\332\333\311#\210\325\211\203\312 \211@\332N\203\303 \333N\204\303 \326\333\332N#\210A\266\202\202\251 \210\327\332\333\313#\210\322\334\335\311#\210\325\211\203\371 \211@\334N\203\362 \335N\204\362 \326\335\334N#\210A\266\202\202\330 \210\327\334\335\313#\207" [require cl-lib eieio edmacro format-spec seq defalias define-transient-command transient-define-prefix nil make-obsolete "Transient 0.3.0" define-suffix-command transient-define-suffix define-infix-command transient-define-infix define-infix-argument transient-define-argument defvaralias current-transient-prefix transient-current-prefix (saved-value saved-variable-comment) put make-obsolete-variable current-transient-command transient-current-command current-transient-suffixes transient-current-suffixes post-transient-hook transient-exit-hook] 7)
#@19
(fn &rest BODY)
(defalias 'transient--with-emergency-exit '(macro . #[128 "\300\301\302\303\304!E\305BBB\207" [condition-case err let ((debugger #'transient--exit-and-debug)) macroexp-progn (((debug error) (transient--emergency-exit) (signal (car err) (cdr err))))] 7 (#$ . 1418)]))
(byte-code "\300\301\302\303#\300\207" [function-put transient--with-emergency-exit lisp-indent-function defun] 4)
#@19
(fn &rest ARGS)
(defalias 'transient--exit-and-debug #[128 "\300 \210\301\302\"\207" [transient--emergency-exit apply debug] 4 (#$ . 1825)])
(byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315\304\301\316\317& \210\306\320\310\311\321DD\322\314\323\304\301\316\324& \210\306\325\310\311\326DD\327\314\330\304\301\316\331& \210\306\332\310\311\333DD\334\314\335\304\301\316\336& \210\306\337\310\311\340DD\341\314\342\304\301\316\324& \210\306\343\310\311\344DD\345\314\346\304\301\316\324& \210\306\347\310\311\350DD\351\314\352\304\301\316\324& \210\306\353\310\311\354DD\355\314\356\304\301\316\324& \210\306\357\310\311\360DD\361\314\362\304\301\316\363& \210\306\364\310\311\365DD\366\314\367\304\301\316\324& \210\306\370\310\311\371DD\372\314\373\304\301\316\324& \210\306\374\310\311\375DD\376\314\377\304\301\316\324& \210\306\201@ \310\311\201A DD\201B \314\201C \304\301\316\324& \207" [custom-declare-group transient nil "Transient commands." :group extensions custom-declare-variable transient-show-popup funcall function #[0 "\300\207" [t] 1 #1=""] "Whether to show the current transient in a popup buffer.\n\n- If t, then show the popup as soon as a transient prefix command\n is invoked.\n\n- If nil, then do not show the popup unless the user explicitly\n requests it, by pressing an incomplete prefix key sequence.\n\n- If a number, then delay displaying the popup and instead show\n a brief one-line summary. If zero or negative, then suppress\n even showing that summary and display the pressed key only.\n\n Show the popup when the user explicitly requests it by pressing\n an incomplete prefix key sequence. Unless zero, then also show\n the popup after that many seconds of inactivity (using the\n absolute value)." :package-version (transient . "0.1.0") :type (choice (const :tag "instantly" t) (const :tag "on demand" nil) (const :tag "on demand (no summary)" 0) (number :tag "after delay" 1)) transient-enable-popup-navigation #[0 "\300\207" [nil] 1 #1#] "Whether navigation commands are enabled in the transient popup.\n\nWhile a transient is active the transient popup buffer is not the\ncurrent buffer, making it necessary to use dedicated commands to\nact on that buffer itself. If this non-nil, then the following\nfeatures are available:\n\n- \"<up>\" moves the cursor to the previous suffix.\n \"<down>\" moves the cursor to the next suffix.\n \"RET\" invokes the suffix the cursor is on.\n- \"<mouse-1>\" invokes the clicked on suffix.\n- \"C-s\" and \"C-r\" start isearch in the popup buffer." (transient . "0.2.0") boolean transient-display-buffer-action #[0 "\300\207" [(display-buffer-in-side-window (side . bottom) (dedicated . t) (inhibit-same-window . t) (window-parameters (no-other-window . t)))] 1 #1#] "The action used to display the transient popup buffer.\n\nThe transient popup buffer is displayed in a window using\n\n (display-buffer BUFFER transient-display-buffer-action)\n\nThe value of this option has the form (FUNCTION . ALIST),\nwhere FUNCTION is a function or a list of functions. Each such\nfunction should accept two arguments: a buffer to display and an\nalist of the same form as ALIST. See info node `(elisp)Choosing\nWindow' for details.\n\nThe default is:\n\n (display-buffer-in-side-window\n (side . bottom)\n (dedicated . t)\n (inhibit-same-window . t)\n (window-parameters (no-other-window . t)))\n\nThis displays the window at the bottom of the selected frame.\nAnother useful FUNCTION is `display-buffer-below-selected', which\nis what `magit-popup' used by default. For more alternatives see\ninfo node `(elisp)Display Action Functions' and info node\n`(elisp)Buffer Display Action Alists'.\n\nNote that the buffer that was current before the transient buffer\nis shown should remain the current buffer. Many suffix commands\nact on the thing at point, if appropriate, and if the transient\nbuffer became the current buffer, then that would change what is\nat point. To that effect `inhibit-same-window' ensures that the\nselected window is not used to show the transient buffer.\n\nIt may be possible to display the window in another frame, but\nwhether that works in practice depends on the window-manager.\nIf the window manager selects the new window (Emacs frame),\nthen that unfortunately changes which buffer is current.\n\nIf you change the value of this option, then you might also\nwant to change the value of `transient-mode-line-format'." (transient . "0.3.0") (cons (choice function (repeat :tag "Functions" function)) alist) transient-mode-line-format #[0 "\300\207" [line] 1 #1#] "The mode-line format for the transient popup buffer.\n\nIf nil, then the buffer has no mode-line. If the buffer is not\ndisplayed right above the echo area, then this probably is not\na good value.\n\nIf `line' (the default), then the buffer also has no mode-line,\nbut a thin line is drawn instead, using the background color of\nthe face `transient-separator'. Termcap frames cannot display\nthin lines and therefore fallback to treating `line' like nil.\n\nOtherwise this can be any mode-line format.\nSee `mode-line-format' for details." (transient . "0.2.0") (choice (const :tag "hide mode-line" nil) (const :tag "substitute thin line" line) (const :tag "name of prefix command" ("%e" mode-line-front-space mode-line-buffer-identification)) (sexp :tag "custom mode-line format")) transient-show-common-commands #[0 "\300\207" [nil] 1 #1#] "Whether to show common transient suffixes in the popup buffer.\n\nThese commands are always shown after typing the prefix key\n\"C-x\" when a transient command is active. To toggle the value\nof this variable use \"C-x t\" when a transient is active." (transient . "0.1.0") transient-read-with-initial-input #[0 "\300\207" [nil] 1 #1#] "Whether to use the last history element as initial minibuffer input." (transient . "0.2.0") transient-highlight-mismatched-keys #[0 "\300\207" [nil] 1 #1#] "Whether to highlight keys that do not match their argument.\n\nThis only affects infix arguments that represent command-line\narguments. When this option is non-nil, then the key binding\nfor infix argument are highlighted when only a long argument\n(e.g. \"--verbose\") is specified but no shor-thand (e.g \"-v\").\nIn the rare case that a short-hand is specified but does not\nmatch the key binding, then it is highlighed differently.\n\nThe highlighting is done using using `transient-mismatched-key'\nand `transient-nonstandard-key'." (transient . "0.1.0") transient-highlight-higher-levels #[0 "\300\207" [nil] 1 #1#] "Whether to highlight suffixes on higher levels.\n\nThis is primarily intended for package authors.\n\nWhen non-nil then highlight the description of suffixes whose\nlevel is above 4, the default of `transient-default-level'.\nAssuming you have set that variable to 7, this highlights all\nsuffixes that won't be available to users without them making\nthe same customization." (transient . "0.3.6") transient-substitute-key-function #[0 "\300\207" [nil] 1 #1#] "Function used to modify key bindings.\n\nThis function is called with one argument, the prefix object,\nand must return a key binding description, either the existing\nkey description it finds in the `key' slot, or a substitution.\n\nThis is intended to let users replace certain prefix keys. It\ncould also be used to make other substitutions, but that is\ndiscouraged.\n\nFor example, \"=\" is hard to reach using my custom keyboard\nlayout, so I substitute \"(\" for that, which is easy to reach\nusing a layout optimized for Lisp.\n\n (setq transient-substitute-key-function\n (lambda (obj)\n (let ((key (oref obj key)))\n (if (string-match \"\\\\`\\\\(=\\\\)[a-zA-Z]\" key)\n (replace-match \"(\" t t key 1)\n key)))))" (transient . "0.1.0") (choice (const :tag "Transform no keys (nil)" nil) function) transient-semantic-coloring #[0 "\300\207" [nil] 1 #1#] "Whether to color prefixes and suffixes in Hydra-like fashion.\nThis feature is experimental.\n\nIf non-nil, then the key binding of each suffix is colorized to\nindicate whether it exits the transient state or not. The color\nof the prefix is indicated using the line that is drawn when the\nvalue of `transient-mode-line-format' is `line'.\n\nFor more information about how Hydra uses colors see\nhttps://github.com/abo-abo/hydra#color and\nhttps://oremacs.com/2015/02/19/hydra-colors-reloaded." (transient . "0.3.0") transient-detect-key-conflicts #[0 "\300\207" [nil] 1 #1#] "Whether to detect key binding conflicts.\n\nConflicts are detected when a transient prefix command is invoked\nand results in an error, which prevents the transient from being\nused." (transient . "0.1.0") transient-force-fixed-pitch #[0 "\300\207" [nil] 1 #1#] "Whether to force use of monospaced font in the popup buffer.\n\nEven if you use a proportional font for the `default' face,\nyou might still want to use a monospaced font in transient's\npopup buffer. Setting this option to t causes `default' to\nbe remapped to `fixed-pitch' in that buffer." (transient . "0.2.0") transient-force-single-column #[0 "\300\207" [nil] 1 #1#] "Whether to force use of a single column to display suffixes.\n\nThis might be useful for users with low vision who use large\ntext and might otherwise have to scroll in two dimensions." (transient . "0.3.6")] 10)
(defconst transient--default-child-level 1)
(defconst transient--default-prefix-level 4)
(byte-code "\301\302\303\304\305DD\306\307\310\311\312\313\314& \210\301\315\303\304\316DD\317\307\320\311\312\313\321& \210\301\322\303\304\323DD\324\307\325\311\312\313\321& \210\301\326\303\304\327DD\330\307\331\311\312\313\321& \210\301\332\303\304\333DD\334\307\335\311\312\313\336& \210\301\337\303\304\340DD\341\307\342\311\312\313\343& \210\344\345\346\347\311\312%\210\350\351\352\353\311\345%\210\350\354\355\356\311\345%\210\350\357\360\361\311\345%\210\350\362\363\364\311\345%\210\350\365\366\367\311\345%\210\350\370\371\372\311\345%\210\350\373\374\375\311\345%\210\350\376\377\201@ \311\345%\210\350\201A \201B \201C \311\345%\210\350\201D \201E \201F \311\345%\210\350\201G \201H \201I \311\345%\210\350\201J \201K \201L \311\345%\210\350\201M \201N \201O \311\345%\210\350\201P \201Q \201R \311\345%\210\350\201S \201T \201U \311\345%\210\350\201V \201W \201X \201Y Y\205'\201Z \201[ \"B\201\\ \201X \201Y Y\205=\201] \201^ \"BD\201_ \311\345%\210\344\201` \201a \201b \311\345%\210\350\201c \201d \201e \311\201` %\210\350\201f \201g \201h \311\201` %\210\350\201i \201j \201k \311\201` %\210\350\201l \201m \201n \311\201` %\210\350\201o \201p \201q \311\201` %\207" [emacs-major-version custom-declare-variable transient-default-level funcall function #[0 "\207" [transient--default-prefix-level] 1 #1=""] "Control what suffix levels are made available by default.\n\nEach suffix command is placed on a level and each prefix command\nhas a level, which controls which suffix commands are available.\nIntegers between 1 and 7 (inclusive) are valid levels.\n\nThe levels of individual transients and/or their individual\nsuffixes can be changed individually, by invoking the prefix and\nthen pressing \"C-x l\".\n\nThe default level for both transients and their suffixes is 4.\nThis option only controls the default for transients. The default\nsuffix level is always 4. The author of a transient should place\ncertain suffixes on a higher level if they expect that it won't be\nof use to most users, and they should place very important suffixes\non a lower level so that they remain available even if the user\nlowers the transient level.\n\n(Magit currently places nearly all suffixes on level 4 and lower\nlevels are not used at all yet. So for the time being you should\nnot set a lower level here and using a higher level might not\ngive you as many additional suffixes as you hoped.)" :package-version (transient . "0.1.0") :group transient :type (choice (const :tag "1 - fewest suffixes" 1) (const 2) (const 3) (const :tag "4 - default" 4) (const 5) (const 6) (const :tag "7 - most suffixes" 7)) transient-levels-file #[0 "\300\301\302!!\207" [locate-user-emacs-file convert-standard-filename "transient/levels.el"] 3 #1#] "File used to save levels of transients and their suffixes." (transient . "0.1.0") file transient-values-file #[0 "\300\301\302!!\207" [locate-user-emacs-file convert-standard-filename "transient/values.el"] 3 #1#] "File used to save values of transients." (transient . "0.1.0") transient-history-file #[0 "\300\301\302!!\207" [locate-user-emacs-file convert-standard-filename "transient/history.el"] 3 #1#] "File used to save history of transients and their infixes." (transient . "0.1.0") transient-history-limit #[0 "\300\207" [10] 1 #1#] "Number of history elements to keep when saving to file." (transient . "0.1.0") integer transient-save-history #[0 "\300\207" [t] 1 #1#] "Whether to save history of transient commands when exiting Emacs." (transient . "0.1.0") boolean custom-declare-group transient-faces nil "Faces used by Transient." custom-declare-face transient-heading ((t :inherit font-lock-keyword-face)) "Face used for headings." transient-key ((t :inherit font-lock-builtin-face)) "Face used for keys." transient-argument ((t :inherit font-lock-warning-face)) "Face used for enabled arguments." transient-value ((t :inherit font-lock-string-face)) "Face used for values." transient-inactive-argument ((t :inherit shadow)) "Face used for inactive arguments." transient-inactive-value ((t :inherit shadow)) "Face used for inactive values." transient-unreachable ((t :inherit shadow)) "Face used for suffixes unreachable from the current prefix sequence." transient-active-infix ((t :inherit secondary-selection)) "Face used for the infix for which the value is being read." transient-unreachable-key ((t :inherit shadow)) "Face used for keys unreachable from the current prefix sequence." transient-nonstandard-key ((t :underline t)) "Face optionally used to highlight keys conflicting with short-argument.\nAlso see option `transient-highlight-mismatched-keys'." transient-mismatched-key ((t :underline t)) "Face optionally used to highlight keys without a short-argument.\nAlso see option `transient-highlight-mismatched-keys'." transient-inapt-suffix ((t :inherit shadow :italic t)) "Face used for suffixes that are inapt at this time." transient-enabled-suffix ((t :background "green" :foreground "black" :weight bold)) "Face used for enabled levels while editing suffix levels.\nSee info node `(transient)Enabling and Disabling Suffixes'." transient-disabled-suffix ((t :background "red" :foreground "black" :weight bold)) "Face used for disabled levels while editing suffix levels.\nSee info node `(transient)Enabling and Disabling Suffixes'." transient-higher-level ((t :underline t)) "Face optionally used to highlight suffixes on higher levels.\nAlso see option `transient-highlight-higher-levels'." transient-separator ((class color) (background light)) append 27 (:extend t) (:background "grey80") ((class color) (background dark)) (:extend t) (:background "grey30") "Face used to draw line below transient popup window.\nThis is only used if `transient-mode-line-format' is `line'.\nOnly the background color is significant." transient-color-faces ((transient-semantic-coloring custom-variable)) "Faces used by Transient for Hydra-like command coloring.\nThese faces are only used if `transient-semantic-coloring'\n(which see) is non-nil." transient-red ((t :inherit transient-key :foreground "red")) "Face used for red prefixes and suffixes." transient-blue ((t :inherit transient-key :foreground "blue")) "Face used for blue prefixes and suffixes." transient-amaranth ((t :inherit transient-key :foreground "#E52B50")) "Face used for amaranth prefixes." transient-pink ((t :inherit transient-key :foreground "#FF6EB4")) "Face used for pink prefixes." transient-teal ((t :inherit transient-key :foreground "#367588")) "Face used for teal prefixes."] 10)
#@13
(fn FILE)
(defalias 'transient--read-file-contents #[257 "\3001# \301!\205! \302\303\304\"r\211q\210\305\306\"\216\307!\210\310p!*\2620\207\311\312\"\210\313\207" [(debug error) file-exists-p generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents read message "Transient error: %S" nil] 5 (#$ . 17869)])
#@18
(fn LIST FILE)
(defalias 'transient--pp-to-file #[514 "\302\303!\304\"\210\305\306!\307\310\311$\262\312\313\304\"\314\315\"\216r\211q\210\316\211\317p\"+rq\210\320\316\211\316\321%\210*\207" [print-length print-level make-directory file-name-directory t cl-sort copy-sequence string< :key car generate-new-buffer " *temp file*" make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] nil pp write-region 0] 10 (#$ . 18264)])
#@137 Values of transient commands.
The value of this variable persists between Emacs sessions
and you usually should not change it manually.
(defvar transient-values (transient--read-file-contents transient-values-file) (#$ . 18732))
(defalias 'transient-save-values #[0 "\302 \"\207" [transient-values transient-values-file transient--pp-to-file] 3])
#@137 Levels of transient commands.
The value of this variable persists between Emacs sessions
and you usually should not change it manually.
(defvar transient-levels (transient--read-file-contents transient-levels-file) (#$ . 19087))
(defalias 'transient-save-levels #[0 "\302 \"\207" [transient-levels transient-levels-file transient--pp-to-file] 3])
#@199 History of transient commands and infix arguments.
The value of this variable persists between Emacs sessions
(unless `transient-save-history' is nil) and you usually
should not change it manually.
(defvar transient-history (transient--read-file-contents transient-history-file) (#$ . 19442))
(defalias 'transient-save-history #[0 "\302\303\304\"\305\306\307$\310 \"\207" [transient-history transient-history-file cl-sort mapcar #[257 "\211\242\243\301\302!\"B\207" [transient-history-limit seq-take delete-dups] 7 "\n\n(fn ARG0)"] string< :key car transient--pp-to-file] 5])
#@93 Save the value of `transient-history'.
If `transient-save-history' is nil, then do nothing.
(defalias 'transient-maybe-save-history #[0 "\205 \300 \207" [transient-save-history] 1 (#$ . 20031)])
(byte-code "\204 \301\302\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" [noninteractive add-hook kill-emacs-hook transient-maybe-save-history defalias transient-prefix-p eieio-make-class-predicate transient-prefix transient-prefix--eieio-childp eieio-make-child-predicate transient-prefix-child-p make-obsolete "use (cl-typep ... \\='transient-prefix) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal nil ((prototype :initarg :prototype) (command :initarg :command) (level :initarg :level) (variable :initarg :variable :initform nil) (init-value :initarg :init-value) (value) (default-value :initarg :value) (scope :initarg :scope :initform nil) (history :initarg :history :initform nil) (history-pos :initarg :history-pos :initform 0) (history-key :initarg :history-key :initform nil) (show-help :initarg :show-help :initform nil) (info-manual :initarg :info-manual :initform nil) (man-page :initarg :man-page :initform nil) (transient-suffix :initarg :transient-suffix :initform nil) (transient-non-suffix :initarg :transient-non-suffix :initform nil) (incompatible :initarg :incompatible :initform nil) (suffix-description :initarg :suffix-description) (variable-pitch :initarg :variable-pitch :initform nil)) (:documentation "Transient prefix command.\n\nEach transient prefix command consists of a command, which is\nstored in a symbol's function slot and an object, which is\nstored in the `transient--prefix' property of the same symbol.\n\nWhen a transient prefix command is invoked, then a clone of that\nobject is stored in the global variable `transient--prefix' and\nthe prototype is stored in the clone's `prototype' slot.")] 6)
#@73 Create a new object of class type `transient-prefix'.
(fn &rest SLOTS)
(defalias 'transient-prefix #[128 "\300\301\302#\207" [apply make-instance transient-prefix] 5 (#$ . 22001)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-prefix compiler-macro transient-prefix--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-prefix--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 (#$ . 22309)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-child-p eieio-make-class-predicate transient-child transient-child--eieio-childp eieio-make-child-predicate transient-child-child-p make-obsolete "use (cl-typep ... \\='transient-child) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal nil ((level :initarg :level :initform (symbol-value 'transient--default-child-level) :documentation "Enable if level of prefix is equal or greater.") (if :initarg :if :initform nil :documentation "Enable if predicate returns non-nil.") (if-not :initarg :if-not :initform nil :documentation "Enable if predicate returns nil.") (if-non-nil :initarg :if-non-nil :initform nil :documentation "Enable if variable's value is non-nil.") (if-nil :initarg :if-nil :initform nil :documentation "Enable if variable's value is nil.") (if-mode :initarg :if-mode :initform nil :documentation "Enable if major-mode matches value.") (if-not-mode :initarg :if-not-mode :initform nil :documentation "Enable if major-mode does not match value.") (if-derived :initarg :if-derived :initform nil :documentation "Enable if major-mode derives from value.") (if-not-derived :initarg :if-not-derived :initform nil :documentation "Enable if major-mode does not derive from value.")) (:documentation "Abstract superclass for group and suffix classes.\n\nIt is undefined what happens if more than one `if*' predicate\nslot is non-nil." :abstract t)] 6)
#@73 You cannot create a new object of type `transient-child'.
(fn &rest _)
(defalias 'transient-child #[128 "\300\301!\207" [error "Class transient-child is abstract"] 3 (#$ . 24095)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-suffix-p eieio-make-class-predicate transient-suffix transient-suffix--eieio-childp eieio-make-child-predicate transient-suffix-child-p make-obsolete "use (cl-typep ... \\='transient-suffix) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-child) ((key :initarg :key) (command :initarg :command) (transient :initarg :transient) (format :initarg :format :initform " %k %d") (description :initarg :description :initform nil) (show-help :initarg :show-help :initform nil) (inapt :initform nil) (inapt-if :initarg :inapt-if :initform nil :documentation "Inapt if predicate returns non-nil.") (inapt-if-not :initarg :inapt-if-not :initform nil :documentation "Inapt if predicate returns nil.") (inapt-if-non-nil :initarg :inapt-if-non-nil :initform nil :documentation "Inapt if variable's value is non-nil.") (inapt-if-nil :initarg :inapt-if-nil :initform nil :documentation "Inapt if variable's value is nil.") (inapt-if-mode :initarg :inapt-if-mode :initform nil :documentation "Inapt if major-mode matches value.") (inapt-if-not-mode :initarg :inapt-if-not-mode :initform nil :documentation "Inapt if major-mode does not match value.") (inapt-if-derived :initarg :inapt-if-derived :initform nil :documentation "Inapt if major-mode derives from value.") (inapt-if-not-derived :initarg :inapt-if-not-derived :initform nil :documentation "Inapt if major-mode does not derive from value.")) (:documentation "Superclass for suffix command.")] 6)
#@73 Create a new object of class type `transient-suffix'.
(fn &rest SLOTS)
(defalias 'transient-suffix #[128 "\300\301\302#\207" [apply make-instance transient-suffix] 5 (#$ . 25925)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-suffix compiler-macro transient-suffix--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-suffix--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 (#$ . 26233)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-infix-p eieio-make-class-predicate transient-infix transient-infix--eieio-childp eieio-make-child-predicate transient-infix-child-p make-obsolete "use (cl-typep ... \\='transient-infix) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-suffix) ((transient :initform t) (argument :initarg :argument) (shortarg :initarg :shortarg) (value :initform nil) (init-value :initarg :init-value) (unsavable :initarg :unsavable :initform nil) (multi-value :initarg :multi-value :initform nil) (always-read :initarg :always-read :initform nil) (allow-empty :initarg :allow-empty :initform nil) (history-key :initarg :history-key :initform nil) (reader :initarg :reader :initform nil) (prompt :initarg :prompt :initform nil) (choices :initarg :choices :initform nil) (format :initform " %k %d (%v)")) (:documentation "Transient infix command." :abstract t)] 6)
#@73 You cannot create a new object of type `transient-infix'.
(fn &rest _)
(defalias 'transient-infix #[128 "\300\301!\207" [error "Class transient-infix is abstract"] 3 (#$ . 27517)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-argument-p eieio-make-class-predicate transient-argument transient-argument--eieio-childp eieio-make-child-predicate transient-argument-child-p make-obsolete "use (cl-typep ... \\='transient-argument) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-infix) nil (:documentation "Abstract superclass for infix arguments." :abstract t)] 6)
#@76 You cannot create a new object of type `transient-argument'.
(fn &rest _)
(defalias 'transient-argument #[128 "\300\301!\207" [error "Class transient-argument is abstract"] 3 (#$ . 28245)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-switch-p eieio-make-class-predicate transient-switch transient-switch--eieio-childp eieio-make-child-predicate transient-switch-child-p make-obsolete "use (cl-typep ... \\='transient-switch) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-argument) nil (:documentation "Class used for command-line argument that can be turned on and off.")] 6)
#@73 Create a new object of class type `transient-switch'.
(fn &rest SLOTS)
(defalias 'transient-switch #[128 "\300\301\302#\207" [apply make-instance transient-switch] 5 (#$ . 28990)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-switch compiler-macro transient-switch--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-switch--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 (#$ . 29298)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-option-p eieio-make-class-predicate transient-option transient-option--eieio-childp eieio-make-child-predicate transient-option-child-p make-obsolete "use (cl-typep ... \\='transient-option) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-argument) nil (:documentation "Class used for command-line argument that can take a value.")] 6)
#@73 Create a new object of class type `transient-option'.
(fn &rest SLOTS)
(defalias 'transient-option #[128 "\300\301\302#\207" [apply make-instance transient-option] 5 (#$ . 30073)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-option compiler-macro transient-option--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-option--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 (#$ . 30381)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-variable-p eieio-make-class-predicate transient-variable transient-variable--eieio-childp eieio-make-child-predicate transient-variable-child-p make-obsolete "use (cl-typep ... \\='transient-variable) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-infix) ((variable :initarg :variable) (format :initform " %k %d %v")) (:documentation "Abstract superclass for infix commands that set a variable." :abstract t)] 6)
#@76 You cannot create a new object of type `transient-variable'.
(fn &rest _)
(defalias 'transient-variable #[128 "\300\301!\207" [error "Class transient-variable is abstract"] 3 (#$ . 31234)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-switches-p eieio-make-class-predicate transient-switches transient-switches--eieio-childp eieio-make-child-predicate transient-switches-child-p make-obsolete "use (cl-typep ... \\='transient-switches) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-argument) ((argument-format :initarg :argument-format) (argument-regexp :initarg :argument-regexp)) (:documentation "Class used for sets of mutually exclusive command-line switches.")] 6)
#@75 Create a new object of class type `transient-switches'.
(fn &rest SLOTS)
(defalias 'transient-switches #[128 "\300\301\302#\207" [apply make-instance transient-switches] 5 (#$ . 32072)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-switches compiler-macro transient-switches--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-switches--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 (#$ . 32390)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-files-p eieio-make-class-predicate transient-files transient-files--eieio-childp eieio-make-child-predicate transient-files-child-p make-obsolete "use (cl-typep ... \\='transient-files) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-option) nil (((key :initform "--") (argument :initform "--") (multi-value :initform rest) (reader :initform transient-read-files)) "Class used for the \"--\" argument or similar.\nAll remaining arguments are treated as files.\nThey become the value of this argument.")] 6)
#@72 Create a new object of class type `transient-files'.
(fn &rest SLOTS)
(defalias 'transient-files #[128 "\300\301\302#\207" [apply make-instance transient-files] 5 (#$ . 33338)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-files compiler-macro transient-files--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-files--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 (#$ . 33641)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-group-p eieio-make-class-predicate transient-group transient-group--eieio-childp eieio-make-child-predicate transient-group-child-p make-obsolete "use (cl-typep ... \\='transient-group) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-child) ((suffixes :initarg :suffixes :initform nil) (hide :initarg :hide :initform nil) (description :initarg :description :initform nil) (setup-children :initarg :setup-children) (pad-keys :initarg :pad-keys)) (:documentation "Abstract superclass of all group classes." :abstract t)] 6)
#@73 You cannot create a new object of type `transient-group'.
(fn &rest _)
(defalias 'transient-group #[128 "\300\301!\207" [error "Class transient-group is abstract"] 3 (#$ . 34601)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-column-p eieio-make-class-predicate transient-column transient-column--eieio-childp eieio-make-child-predicate transient-column-child-p make-obsolete "use (cl-typep ... \\='transient-column) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-group) nil (:documentation "Group class that displays each element on a separate line.")] 6)
#@73 Create a new object of class type `transient-column'.
(fn &rest SLOTS)
(defalias 'transient-column #[128 "\300\301\302#\207" [apply make-instance transient-column] 5 (#$ . 35325)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-column compiler-macro transient-column--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-column--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 (#$ . 35633)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-row-p eieio-make-class-predicate transient-row transient-row--eieio-childp eieio-make-child-predicate transient-row-child-p make-obsolete "use (cl-typep ... \\='transient-row) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-group) nil (:documentation "Group class that displays all elements on a single line.")] 6)
#@70 Create a new object of class type `transient-row'.
(fn &rest SLOTS)
(defalias 'transient-row #[128 "\300\301\302#\207" [apply make-instance transient-row] 5 (#$ . 36387)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-row compiler-macro transient-row--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-row--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 (#$ . 36680)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-columns-p eieio-make-class-predicate transient-columns transient-columns--eieio-childp eieio-make-child-predicate transient-columns-child-p make-obsolete "use (cl-typep ... \\='transient-columns) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-group) nil (:documentation "Group class that displays elements organized in columns.\nDirect elements have to be groups whose elements have to be\ncommands or string. Each subgroup represents a column. This\nclass takes care of inserting the subgroups' elements.")] 6)
#@74 Create a new object of class type `transient-columns'.
(fn &rest SLOTS)
(defalias 'transient-columns #[128 "\300\301\302#\207" [apply make-instance transient-columns] 5 (#$ . 37631)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-columns compiler-macro transient-columns--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-columns--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 (#$ . 37944)])
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias transient-subgroups-p eieio-make-class-predicate transient-subgroups transient-subgroups--eieio-childp eieio-make-child-predicate transient-subgroups-child-p make-obsolete "use (cl-typep ... \\='transient-subgroups) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-group) nil (:documentation "Group class that wraps other groups.\n\nDirect elements have to be groups whose elements have to be\ncommands or strings. This group inserts an empty line between\nsubgroups. The subgroups are responsible for displaying their\nelements themselves.")] 6)
#@76 Create a new object of class type `transient-subgroups'.
(fn &rest SLOTS)
(defalias 'transient-subgroups #[128 "\300\301\302#\207" [apply make-instance transient-subgroups] 5 (#$ . 38922)])
(byte-code "\300\301\302\303#\300\207" [function-put transient-subgroups compiler-macro transient-subgroups--anon-cmacro] 4)
#@26
(fn WHOLE &rest SLOTS)
(defalias 'transient-subgroups--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 (#$ . 39245)])
#@1535 Define NAME as a transient prefix command.
ARGLIST are the arguments that command takes.
DOCSTRING is the documentation string and is optional.
These arguments can optionally be followed by key-value pairs.
Each key has to be a keyword symbol, either `:class' or a keyword
argument supported by the constructor of that class. The
`transient-prefix' class is used if the class is not specified
explicitly.
GROUPs add key bindings for infix and suffix commands and specify
how these bindings are presented in the popup buffer. At least
one GROUP has to be specified. See info node `(transient)Binding
Suffix and Infix Commands'.
The BODY is optional. If it is omitted, then ARGLIST is also
ignored and the function definition becomes:
(lambda ()
(interactive)
(transient-setup \='NAME))
If BODY is specified, then it must begin with an `interactive'
form that matches ARGLIST, and it must call `transient-setup'.
It may however call that function only when some condition is
satisfied; that is one of the reason why you might want to use
an explicit BODY.
All transients have a (possibly nil) value, which is exported
when suffix commands are called, so that they can consume that
value. For some transients it might be necessary to have a sort
of secondary value, called a scope. Such a scope would usually
be set in the commands `interactive' form and has to be passed
to the setup function:
(transient-setup \='NAME nil nil :scope SCOPE)
(fn NAME ARGLIST [DOCSTRING] [KEYWORD VALUE]... GROUP... [BODY...])
(defalias 'transient-define-prefix '(macro . #[642 "\300!\211\242\243\211\242\243\211\242\243\211\242\243\211\242\243\301\302\303D\203+ \304BB\2025 \304\305\306\307\303DDFE\310\303D\311BB\310\303D\312 F\310\303D\313\206S \314\315\303DBBBF\310\303D\316\303\317\320\321\"\"DF\257\207" [transient--expand-define-args progn defalias quote lambda nil (interactive) transient-setup put ('interactive-only t) 'function-documentation 'transient--prefix transient-prefix :command 'transient--layout cl-mapcan make-closure #[257 "\301\300\"\207" [V0 transient--parse-child] 4 "\n\n(fn S)"]] 27 (#$ . 39485)]))
(byte-code "\300\301\302\303#\210\304\301\305\306#\304\301\307\310#\300\207" [put transient-define-prefix edebug-form-spec (&define name lambda-list [&optional lambda-doc] [&rest keywordp sexp] [&rest vectorp] [&optional ("interactive" interactive) def-body]) function-put lisp-indent-function defun doc-string-elt 3] 5)
#@630 Define NAME as a transient suffix command.
ARGLIST are the arguments that the command takes.
DOCSTRING is the documentation string and is optional.
These arguments can optionally be followed by key-value pairs.
Each key has to be a keyword symbol, either `:class' or a
keyword argument supported by the constructor of that class.
The `transient-suffix' class is used if the class is not
specified explicitly.
The BODY must begin with an `interactive' form that matches
ARGLIST. The infix arguments are usually accessed by using
`transient-args' inside `interactive'.
(fn NAME ARGLIST [DOCSTRING] [KEYWORD VALUE]... BODY...)
(defalias 'transient-define-suffix '(macro . #[642 "\300!\211\242\243\211\242\243\211\243\211\242\243\211\242\243\301\302\303D\304BBE\305\303D\306BB\305\303D\307 F\305\303D\310\206@ \311\312\303DBBBF\257\207" [transient--expand-define-args progn defalias quote lambda put ('interactive-only t) 'function-documentation 'transient--suffix transient-suffix :command] 24 (#$ . 41983)]))
(byte-code "\300\301\302\303#\210\304\301\305\306#\304\301\307\310#\300\207" [put transient-define-suffix edebug-form-spec (&define name lambda-list [&optional lambda-doc] [&rest keywordp sexp] ("interactive" interactive) def-body) function-put lisp-indent-function defun doc-string-elt 3] 5)
#@1342 Define NAME as a transient infix command.
ARGLIST is always ignored and reserved for future use.
DOCSTRING is the documentation string and is optional.
The key-value pairs are mandatory. All transient infix commands
are equal to each other (but not eq), so it is meaningless to
define an infix command without also setting at least `:class'
and one other keyword (which it is depends on the used class,
usually `:argument' or `:variable').
Each key has to be a keyword symbol, either `:class' or a keyword
argument supported by the constructor of that class. The
`transient-switch' class is used if the class is not specified
explicitly.
The function definitions is always:
(lambda ()
(interactive)
(let ((obj (transient-suffix-object)))
(transient-infix-set obj (transient-infix-read obj)))
(transient--show))
`transient-infix-read' and `transient-infix-set' are generic
functions. Different infix commands behave differently because
the concrete methods are different for different infix command
classes. In rare case the above command function might not be
suitable, even if you define your own infix command class. In
that case you have to use `transient-suffix-command' to define
the infix command and use t as the value of the `:transient'
keyword.
(fn NAME ARGLIST [DOCSTRING] [KEYWORD VALUE]...)
(defalias 'transient-define-infix '(macro . #[642 "\300!\211\242\243\211\242\243\211\243\211\242\243\211\243\301\302\303D\304 E\305\303D\306BB\305\303D\307F\305\303D\310\2069 \311\312\303DBBBF\257\207" [transient--expand-define-args progn defalias quote transient--default-infix-command put ('interactive-only t) 'function-documentation 'transient--suffix transient-switch :command] 23 (#$ . 43321)]))
(byte-code "\300\301\302\303#\210\304\301\305\306#\304\301\307\310#\311\312\301\313#\207" [put transient-define-infix edebug-form-spec (&define name lambda-list [&optional lambda-doc] [&rest keywordp sexp]) function-put lisp-indent-function defun doc-string-elt 3 defalias transient-define-argument "Define NAME as a transient infix command.\n\nOnly use this alias to define an infix command that actually\nsets an infix argument. To define a infix command that, for\nexample, sets a variable use `transient-define-infix' instead.\n\n(fn NAME ARGLIST [DOCSTRING] [KEYWORD VALUE]...)"] 6)
#@13
(fn ARGS)
(defalias 'transient--expand-define-args #[257 "\300\211\211\211@;\203 \211A\262\242\262\301@!\203@ \211A\262\242\211A\262\242\302=\2031 \262\210\202 B\262\211B\262\266\202 @\303!\206N \211\205N \2119\262\203` \211A\262\242B\262\202@ \242\304=\203m A@\202n \237\237\257\207" [nil keywordp :class vectorp quote] 10 (#$ . 45680)])
#@20
(fn PREFIX SPEC)
(defalias 'transient--parse-child #[514 "\2119\203&