%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/ibuf-ext.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'ibuffer) #@75 Remove all entries in ALIST that have a key equal to KEY. (fn KEY ALIST) (defalias 'ibuffer-remove-alist #[514 "\300\"\211\205 \211\301\"\262\211\262\262\204 \207" [assoc remove] 7 (#$ . 427)]) #@67 Return a copy of LIST with duplicate elements removed. (fn LIST) (defalias 'ibuffer-remove-duplicates #[257 "\300\211\203 \211@\235\204 \211@B\262\211A\262\202 \237\207" [nil] 5 (#$ . 637)]) #@54 (fn IBUFFER-SPLIT-LIST-FN IBUFFER-SPLIT-LIST-ELTS) (defalias 'ibuffer-split-list #[514 "\300\211\211\203# \211@!\203 \211B\262\202 \211B\262A\266\202\202 \210\237\237D\207" [nil] 8 (#$ . 844)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\317\312\313&\210\300\320\302\303\321DD\322\323\324\306\325\310\311\312\313&\210\300\326\302\303\327DD\330\323\324\306\331\310\311\312\313&\207" [custom-declare-variable ibuffer-never-show-predicates funcall function #[0 "\300\207" [nil] 1] "A list of predicates (a regexp or function) for buffers not to display.\nIf a regexp, then it will be matched against the buffer's name.\nIf a function, it will be called with the buffer as an argument, and\nshould return non-nil if this buffer should not be shown." :type (repeat (choice regexp function)) :require ibuf-ext :group ibuffer ibuffer-always-show-predicates #[0 "\300\207" [nil] 1] "A list of predicates (a regexp or function) for buffers to always display.\nIf a regexp, then it will be matched against the buffer's name.\nIf a function, it will be called with the buffer as an argument, and\nshould return non-nil if this buffer should be shown.\nNote that buffers matching one of these predicates will be shown\nregardless of any active filters in this buffer." (repeat (choice regexp function)) ibuffer-never-search-content-name #[0 "\300\301\302\303\304\305\306\307\310\311!\312\"\313\314%\"\211\203. \211@\315\316$B\262A\266\202\202 \237\262\207" [("Completions" "Help" "Messages" "Pp Eval Output" "CompileLog" "Info" "Buffer List" "Ibuffer" "Apropos") ("Customize Option: " "Async Shell Command\\*" "Shell Command Output\\*" "ediff ") "\\`\\*" "\\*\\'" mapcar make-byte-code 257 "\301\302\300#\207" vconcat vector [format "%s%s"] 5 "\n\n(fn X)" format "%s%s%s"] 12] "A list of regexps for buffers ignored by `ibuffer-mark-by-content-regexp'.\nBuffers whose name matches a regexp in this list, are not searched." :version "26.1" (repeat regexp) ibuffer-never-search-content-mode #[0 "\300\207" [(dired-mode)] 1] "A list of major modes ignored by `ibuffer-mark-by-content-regexp'.\nBuffers whose major mode is in this list, are not searched." (repeat (symbol :tag "Major mode"))] 12) #@64 A list of regexps which should match buffer names to not show. (defvar ibuffer-tmp-hide-regexps nil (#$ . 3120)) #@67 A list of regexps which should match buffer names to always show. (defvar ibuffer-tmp-show-regexps nil (#$ . 3239)) (defvar ibuffer-auto-buffers-changed nil) #@411 Transform alist from old to new `ibuffer-saved-filters' format. Specifically, converts old-format alist with values of the form (STRING (FILTER-SPECS...)) to alist with values of the form (STRING FILTER-SPECS...), where each filter spec should be a cons cell with a symbol in the car. Any elements in the latter form are kept as is. Returns (OLD-FORMAT-DETECTED . UPDATED-SAVED-FILTERS-LIST). (fn FILTERS) (defalias 'ibuffer-update-saved-filters-format #[257 "\211\205 \300C\301\302\303\304\305!\306\"\307\310%\311\"\242B\266\203\207" [nil make-byte-code 257 "\211A@@9\203 \207\300\301\240\210\211@A@B\207" vconcat vector [t] 3 "\n\n(fn FILTER-SPEC)" mapcar] 8 (#$ . 3404)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable ibuffer-saved-filters funcall function #[0 "\300\207" [(("programming" (or (derived-mode . prog-mode) (mode . ess-mode) (mode . compilation-mode))) ("text document" (and (derived-mode . text-mode) (not (starred-name)))) ("TeX" (or (derived-mode . tex-mode) (mode . latex-mode) (mode . context-mode) (mode . ams-tex-mode) (mode . bibtex-mode))) ("web" (or (derived-mode . sgml-mode) (derived-mode . css-mode) (mode . javascript-mode) (mode . js2-mode) (mode . scss-mode) (derived-mode . haml-mode) (mode . sass-mode))) ("gnus" (or (mode . message-mode) (mode . mail-mode) (mode . gnus-group-mode) (mode . gnus-summary-mode) (mode . gnus-article-mode))))] 1] "An alist mapping saved filter names to filter specifications.\n\nEach element should look like (\"NAME\" . FILTER-LIST), where\nFILTER-LIST has the same structure as the variable\n`ibuffer-filtering-qualifiers', which see. The filters defined\nhere are joined with an implicit logical `and' and associated\nwith NAME. The combined specification can be used by name in\nother filter specifications via the `saved' qualifier (again, see\n`ibuffer-filtering-qualifiers'). They can also be switched to by\nname (see the functions `ibuffer-switch-to-saved-filters' and\n`ibuffer-save-filters'). The variable `ibuffer-save-with-custom'\naffects how this information is saved for future sessions. This\nvariable can be set directly from lisp code." :version "26.1" :type (alist :key-type (string :tag "Filter name") :value-type (repeat :tag "Filter specification" sexp)) :set #[514 "\300\301!A\"\207" [set-default ibuffer-update-saved-filters-format] 6 "\n\n(fn SYMBOL VALUE)"] :group ibuffer] 12) (defvar ibuffer-old-saved-filters-warning (byte-code "\300\301\302\303\304\305\306\307\310\311\312\313\314\315&\f\316Q\207" ["Deprecated format detected for variable `ibuffer-saved-filters'.\n\nThe format has been repaired and the variable modified accordingly.\nYou can save the current value through the customize system by\neither clicking or hitting return " make-text-button "here" nil face (:weight bold :inherit button) mouse-face (:weight normal :background "gray50" :inherit button) follow-link t help-echo "Click or RET: save new value in customize" action #[257 "\301\302!\204\n \303\304!\207\302\300\"\210\303\305!\207" [ibuffer-saved-filters fboundp customize-save-variable message "Customize not available; value not saved" "Saved updated ibuffer-saved-filters."] 4 "\n\n(fn _)"] ". See below for\nan explanation and alternative ways to save the repaired value.\n\nExplanation: For the list variable `ibuffer-saved-filters',\nelements of the form (STRING (FILTER-SPECS...)) are deprecated\nand should instead have the form (STRING FILTER-SPECS...), where\neach filter spec is a cons cell with a symbol in the car. See\n`ibuffer-saved-filters' for details. The repaired value fixes\nthis format without changing the meaning of the saved filters.\n\nAlternative ways to save the repaired value:\n\n 1. Do M-x customize-variable and entering `ibuffer-saved-filters'\n when prompted.\n\n 2. Set the updated value manually by copying the\n following emacs-lisp form to your emacs init file.\n\n%s\n"] 14)) #@1558 A list specifying the filters currently acting on the buffer list. If this list is nil, then no filters are currently in effect. Otherwise, each element of this list specifies a single filter, and all of the specified filters in the list are applied successively to the buffer list. Each filter specification can be of two types: simple or compound. A simple filter specification has the form (SYMBOL . QUALIFIER), where SYMBOL is a key in the alist `ibuffer-filtering-alist' that determines the filter function to use and QUALIFIER is the data passed to that function (along with the buffer being considered). A compound filter specification can have one of four forms: -- (not FILTER-SPEC) Represents the logical complement of FILTER-SPEC, which is any single filter specification, simple or compound. The form (not . FILTER-SPEC) is also accepted here. -- (and FILTER-SPECS...) Represents the logical-and of the filters defined by one or more filter specifications FILTER-SPECS..., where each specification can be simple or compound. Note that and is implicitly applied to the filters in the top-level list. -- (or FILTER-SPECS...) Represents the logical-or of the filters defined by one or more filter specifications FILTER-SPECS..., where each specification can be simple or compound. -- (saved . "NAME") Represents the filter saved under the string NAME in the alist `ibuffer-saved-filters'. It is an error to name a filter that has not been saved. This variable is local to each ibuffer buffer. (defvar ibuffer-filtering-qualifiers nil (#$ . 7386)) #@394 An alist of (SYMBOL DESCRIPTION FUNCTION) which describes a filter. You most likely do not want to modify this variable directly; see `define-ibuffer-filter'. SYMBOL is the symbolic name of the filter. DESCRIPTION is used when displaying information to the user. FUNCTION is given a buffer and the value of the qualifier, and returns non-nil if and only if the buffer should be displayed. (defvar ibuffer-filtering-alist nil (#$ . 9004)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable ibuffer-filter-format-alist funcall function #[0 "\300\207" [nil] 1] "An alist which has special formats used when a filter is active.\nThe contents of this variable should look like:\n ((FILTER (FORMAT FORMAT ...)) (FILTER (FORMAT FORMAT ...)) ...)\n\nFor example, suppose that when you add a filter for buffers whose\nmajor mode is `emacs-lisp-mode', you only want to see the mark and the\nname of the buffer. You could accomplish that by adding:\n (mode ((mark \" \" name)))\nto this variable." :type (repeat (list :tag "Association" (symbol :tag "Filter") (list :tag "Formats" (repeat (sexp :tag "Format"))))) :group ibuffer] 8) (defvar ibuffer-cached-filter-formats nil) (defvar ibuffer-compiled-filter-formats nil) #@525 An alist giving this buffer's active filter groups, or nil if none. This alist maps filter group labels to filter specification lists. Each element has the form ("LABEL" FILTER-SPECS...), where FILTER-SPECS... represents one or more filter specifications of the same form as allowed as elements of `ibuffer-filtering-qualifiers'. Each filter group is displayed as a separate section in the ibuffer list, headed by LABEL and displaying only the buffers that pass through all the filters associated with NAME in this list. (defvar ibuffer-filter-groups nil (#$ . 10262)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\311&\207" [custom-declare-variable ibuffer-show-empty-filter-groups funcall function #[0 "\300\207" [t] 1] "If non-nil, then show the names of filter groups which are empty." :type boolean :group ibuffer ibuffer-saved-filter-groups #[0 "\300\207" [nil] 1] "An alist of filtering groups to switch between.\n\nEach element is of the form (\"NAME\" . FILTER-GROUP-LIST),\nwhere NAME is a unique but arbitrary name and FILTER-GROUP-LIST\nis a list of filter groups with the same structure as\nallowed for `ibuffer-filter-groups'.\n\nSee also the functions `ibuffer-save-filter-groups' and\n`ibuffer-switch-to-saved-filter-groups' for saving and switching\nbetween sets of filter groups, and the variable\n`ibuffer-save-with-custom' that affects how this information is\nsaved." (repeat sexp)] 8) #@54 The list of filter groups that are currently hidden. (defvar ibuffer-hidden-filter-groups nil (#$ . 11732)) (defvar ibuffer-filter-group-kill-ring nil) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\311&\207" [custom-declare-variable ibuffer-old-time funcall function #[0 "\300\207" [72] 1] "The number of hours before a buffer is considered \"old\"." :type (choice (const :tag "72 hours (3 days)" 72) (const :tag "48 hours (2 days)" 48) (const :tag "24 hours (1 day)" 24) (integer :tag "hours")) :group ibuffer ibuffer-save-with-custom #[0 "\300\207" [t] 1] "If non-nil, then use Custom to save interactively changed variables.\nCurrently, this only applies to `ibuffer-saved-filters' and\n`ibuffer-saved-filter-groups'." boolean] 8) #@371 Update `ibuffer-saved-filters' to its new-style format, if needed. If this list has any elements of the old-style format, a deprecation warning is raised, with a button allowing persistent update. Any updated filters retain their meaning in the new format. See `ibuffer-update-saved-filters-format' and `ibuffer-saved-filters' for details of the old and new formats. (defalias 'ibuffer-repair-saved-filters #[0 "\304\300!\205A \205A \305!\211A\211@\211\203>