MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.189.171.154
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/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/ibuf-macs.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:22 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/ibuf-macs.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.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@213 Evaluate TRUE-BODY or FALSE-BODY depending on value of TEST.
If TEST returns non-nil, bind `it' to the value, and evaluate
TRUE-BODY.  Otherwise, evaluate forms in FALSE-BODY as if in `progn'.
Compare with `if'.
(defalias 'ibuffer-aif '(macro . #[(test true-body &rest false-body) "\304\305!\306	DC\307\306\310DC\nE\311BFE)\207" [sym test true-body false-body make-symbol "ibuffer-aif-sym" let if it progn] 7 (#$ . 553)]))
(put 'ibuffer-aif 'lisp-indent-function 2)
#@108 Evaluate BODY if TEST returns non-nil.
During evaluation of body, bind `it' to the value returned by TEST.
(defalias 'ibuffer-awhen '(macro . #[(test &rest body) "\302\303	B\304BBB\207" [test body ibuffer-aif progn (nil)] 4 (#$ . 1031)]))
(put 'ibuffer-awhen 'lisp-indent-function 1)
#@72 Save the marked status of the buffers and execute BODY; restore marks.
(defalias 'ibuffer-save-marks '(macro . #[(&rest body) "\302\303!\304\305B\306B\307\310\311	BD\312\313BBEE)\207" [bufsym body make-symbol "bufsym" let ((current-buffer)) ((ibuffer-save-marks-tmp-mark-list (ibuffer-current-state-list))) unwind-protect progn save-excursion with-current-buffer ((ibuffer-redisplay-engine (delq nil (mapcar #'(lambda (e) (when (buffer-live-p (car e)) e)) ibuffer-save-marks-tmp-mark-list))) (ibuffer-redisplay t))] 7 (#$ . 1322)]))
(put 'ibuffer-save-marks 'lisp-indent-function 0)
#@1046 Define a column SYMBOL for use with `ibuffer-formats'.

BODY will be called with `buffer' bound to the buffer object, and
`mark' bound to the current mark on the buffer.  The original ibuffer
buffer will be bound to `ibuffer-buf'.

If NAME is given, it will be used as a title for the column.
Otherwise, the title will default to a capitalized version of the
SYMBOL's name.  PROPS is a plist of additional properties to add to
the text, such as `mouse-face'.  And SUMMARIZER, if given, is a
function which will be passed a list of all the strings in its column;
it should return a string to display at the bottom.

If HEADER-MOUSE-MAP is given, it will be used as a keymap for the
title of the column.

Note that this macro expands into a `defun' for a function named
ibuffer-make-column-NAME.  If INLINE is non-nil, then the form will be
inlined into the compiled format versions.  This means that if you
change its definition, you should explicitly call
`ibuffer-recompile-formats'.

(fn SYMBOL (&key NAME INLINE PROPS SUMMARIZER) &rest BODY)
(defalias 'define-ibuffer-column '(macro . #[(symbol &rest body) "\203\f\211A@\202\306\307\310GD\"\311	>A@\312	>A@\313	>A@\314	>A@\315	>A@&	''\203f'@\316>\203M'AA\211'\2028\317	>A@\203\\\320\211'\2028\321\322'@\"\210\2026)\323\324\325(!P!)\326\327BB*\f\203\205\330*\fBB\202\207*+\331\203\234\332\333)+DD\334BB\202\243\335)\336+F\337\333)D\340\n;\203\262\n\202\270\341\325(!!F&\205\307\337\333)D\342&F
\205\325\337\333)D\343\333
DF
\205\341\337\333)D\344BB.	\345BBBBBB\207" [body #1=#:--cl-rest-- name inline props summarizer signal wrong-number-of-arguments define-ibuffer-column :name :inline :props :summarizer :header-mouse-map (:name :inline :props :summarizer :header-mouse-map :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:name :inline :props :summarizer :header-mouse-map)" intern "ibuffer-make-column-" symbol-name with-current-buffer buffer propertize progn push quote (ibuffer-inline-columns) defun (buffer mark) put 'ibuffer-column-name capitalize 'header-mouse-map 'ibuffer-column-summarizer ('ibuffer-column-summary nil) (:autoload-end) header-mouse-map #2=#:--cl-keys-- symbol sym bod-1 bod] 10 (#$ . 1916)]))
(put 'define-ibuffer-column 'lisp-indent-function 'defun)
#@444 Define a method of sorting named NAME.
DOCUMENTATION is the documentation of the function, which will be called
`ibuffer-do-sort-by-NAME'.
DESCRIPTION is a short string describing the sorting method.

For sorting, the forms in BODY will be evaluated with `a' bound to one
buffer object, and `b' bound to another.  BODY should return a non-nil
value if and only if `a' is "less than" `b'.

(fn NAME DOCUMENTATION (&key DESCRIPTION) &rest BODY)
(defalias 'define-ibuffer-sorter '(macro . #[(name documentation &rest body) "\203\f\211A@\202\306\307\310GD\"\311	>A@	\203F@\312>\203/AA\211\202\313	>A@\203=\314\211\202\315\316@\"\210\202)\317\320\321\322\323\f!P!\314
\206V\324\325\326\327\330\fDE\331\332\326\333\330\fDE\257	\334\335\330\fD\n\336\337\340BBDF*\341BB\342BBB\207" [body #1=#:--cl-rest-- description #2=#:--cl-keys-- name documentation signal wrong-number-of-arguments define-ibuffer-sorter :description (:description :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:description)" progn defun intern "ibuffer-do-sort-by-" symbol-name "No :documentation specified for this sorting method." (interactive) setq ibuffer-sorting-mode quote (when (eq ibuffer-sorting-mode ibuffer-last-sorting-mode) (setq ibuffer-sorting-reversep (not ibuffer-sorting-reversep))) (ibuffer-redisplay t) ibuffer-last-sorting-mode push list function lambda (a b) (ibuffer-sorting-functions-alist) (:autoload-end)] 14 (#$ . 4239)]))
(byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put define-ibuffer-sorter lisp-indent-function 1 doc-string-elt 2] 4)
#@1579 Generate a function which operates on a buffer.
OP becomes the name of the function; if it doesn't begin with
`ibuffer-do-', then that is prepended to it.
When an operation is performed, this function will be called once for
each marked buffer, with that buffer current.

ARGS becomes the formal parameters of the function.
DOCUMENTATION becomes the docstring of the function.
INTERACTIVE becomes the interactive specification of the function.
MARK describes which type of mark (:deletion, or nil) this operation
uses.  :deletion means the function operates on buffers marked for
deletion, otherwise it acts on normally marked buffers.
MODIFIER-P describes how the function modifies buffers.  This is used
to set the modification flag of the Ibuffer buffer itself.  Valid
values are:
 nil - the function never modifiers buffers
 t - the function it always modifies buffers
 :maybe - attempt to discover this information by comparing the
  buffer's modification flag.
DANGEROUS is a boolean which should be set if the user should be
prompted before performing this operation.
OPSTRING is a string which will be displayed to the user after the
operation is complete, in the form:
 "Operation complete; OPSTRING x buffers"
ACTIVE-OPSTRING is a string which will be displayed to the user in a
confirmation message, in the form:
 "Really ACTIVE-OPSTRING x buffers?"
COMPLEX means this function is special; see the source code of this
macro for exactly what it does.

(fn OP ARGS DOCUMENTATION (&key INTERACTIVE MARK MODIFIER-P DANGEROUS OPSTRING ACTIVE-OPSTRING COMPLEX) &rest BODY)
(defalias 'define-ibuffer-op '(macro . #[(op args documentation &rest body) "\203\f\211A@\202\306\307\310GD\"\311	>A@\312	>A@\313	>A@\314	>A@\315	>\2063\316A@@\317	>\206>\320A@A\321	>A@B	CC\203|C@\322>\203cCAA\211C\202N\323	>A@\203r\324\211C\202N\325\326C@\"\210\202L)\327\330\331\332\333\334D!\"\203\216\335\202\217\336\334D!P!EF;\203\242F\202\247\337\340A\"\n\203\261\302\nD\202\262\341\342\343\344\345\346=\203\300\347\202\301\350CDC\351\352\353\354\346=\203\322\355\202\323\356DF\357\360\f\361=\205\336\362\363\364\365@\366Q\367BBD#GB\203\367\327B\202\327\370\371\372BE\373BBH\344\374\346=\203\375\202\376\377\201I\201J\f\201K=\2031\344\201L\201MH\201NBBE\2023HEDDDCGE
\203P\351\201OA\201PBBE\202Q+F\257.\201QBB\207" [body #1=#:--cl-rest-- interactive mark modifier-p dangerous signal wrong-number-of-arguments define-ibuffer-op :interactive :mark :modifier-p :dangerous :opstring (nil "operated on") :active-opstring (nil "Operate on") :complex (:interactive :mark :modifier-p :dangerous :opstring :active-opstring :complex :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:interactive :mark :modifier-p :dangerous :opstring :active-opstring :complex)" progn defun intern string-match "^ibuffer-do" symbol-name "" "ibuffer-do-" format "%s marked buffers." (interactive) (cl-assert (derived-mode-p 'ibuffer-mode)) (setq ibuffer-did-modification nil) let marked-names :deletion ibuffer-deletion-marked-buffer-names ibuffer-marked-buffer-names when (null marked-names) (setq marked-names (list (buffer-name (ibuffer-current-buffer)))) ibuffer-set-mark ibuffer-deletion-char ibuffer-marked-char append (progn) t ((setq ibuffer-did-modification t)) (ibuffer-redisplay t) message "Operation finished; " " %s buffers" (count) with-current-buffer buf save-excursion (t) count ibuffer-map-deletion-lines ibuffer-map-marked-lines function opstring active-opstring complex #2=#:--cl-keys-- op args documentation finish inner-body lambda (buf mark) :maybe ((ibuffer-tmp-previous-buffer-modification (buffer-modified-p buf))) prog1 ((when (not (eq ibuffer-tmp-previous-buffer-modification (buffer-modified-p buf))) (setq ibuffer-did-modification t))) ibuffer-confirm-operation-on (marked-names) (:autoload-end)] 23 (#$ . 5848)]))
(byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put define-ibuffer-op lisp-indent-function 2 doc-string-elt 3] 4)
#@510 Define a filter named NAME.
DOCUMENTATION is the documentation of the function.
READER is a form which should read a qualifier from the user.
DESCRIPTION is a short string describing the filter.

BODY should contain forms which will be evaluated to test whether or
not a particular buffer should be displayed or not.  The forms in BODY
will be evaluated with BUF bound to the buffer object, and QUALIFIER
bound to the current value of the filter.

(fn NAME DOCUMENTATION (&key READER DESCRIPTION) &rest BODY)
(defalias 'define-ibuffer-filter '(macro . #[(name documentation &rest body) "\203\f\211A@\202\306\307\310GD\"\311	>A@\312	>A@	\f\203L\f@\313>\2035\fAA\211\202#\314	>A@\203C\315\211\202#\316\317\f@\"\210\202\")\320\321\322
!P!*\323\324*\325+\206a\326\327\330\nDD\331\332\333
D\334BBD\335\336\337\211\340\"\341P\342BBE\343BBBBBBB\344\330\333
D\345\346\347BBDF,\350BB\351BBB\207" [body #1=#:--cl-rest-- reader description #2=#:--cl-keys-- name signal wrong-number-of-arguments define-ibuffer-filter :reader :description (:reader :description :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:reader :description)" intern "ibuffer-filter-by-" symbol-name progn defun (qualifier) "This filter is not documented." interactive list ibuffer-push-filter cons quote (qualifier) message "%s" format "Filter by %s added: " " %s" (qualifier) ((ibuffer-update nil t)) push function lambda (buf qualifier) (ibuffer-filtering-alist) (:autoload-end) fn-name documentation] 14 (#$ . 9894)]))
(byte-code "\300\301\302\303#\210\300\301\304\303#\210\305\306!\207" [put define-ibuffer-filter lisp-indent-function 2 doc-string-elt provide ibuf-macs] 4)

MMCT - 2023