Variable: ibuffer-saved-filter-groups
ibuffer-saved-filter-groups is a customizable variable defined in
ibuf-ext.el.gz.
Value
nil
Documentation
An alist of filtering groups to switch between.
Each element is of the form ("NAME" . FILTER-GROUP-LIST),
where NAME is a unique but arbitrary name and FILTER-GROUP-LIST
is a list of filter groups with the same structure as
allowed for ibuffer-filter-groups.
For instance:
(setq ibuffer-saved-filter-groups
'(("Home"
("Modified" (predicate buffer-modified-p (current-buffer)))
("Helm" (name . "\\\\*helm.+"))
("Dev" (or (filename . ".+\\\\.css\\\\'")
(filename . ".+\\\\.html?\\\\'")
(mode . android-mode)
(mode . clojure-mode))))))
See also the functions ibuffer-save-filter-groups and
ibuffer-switch-to-saved-filter-groups for saving and switching
between sets of filter groups, and the variable
ibuffer-save-with-custom that affects how this information is
saved.
Source Code
;; Defined in /usr/src/emacs/lisp/ibuf-ext.el.gz
(defcustom ibuffer-saved-filter-groups nil
"An alist of filtering groups to switch between.
Each element is of the form (\"NAME\" . FILTER-GROUP-LIST),
where NAME is a unique but arbitrary name and FILTER-GROUP-LIST
is a list of filter groups with the same structure as
allowed for `ibuffer-filter-groups'.
For instance:
(setq ibuffer-saved-filter-groups
\\='((\"Home\"
(\"Modified\" (predicate buffer-modified-p (current-buffer)))
(\"Helm\" (name . \"\\\\*helm.+\"))
(\"Dev\" (or (filename . \".+\\\\.css\\\\'\")
(filename . \".+\\\\.html?\\\\'\")
(mode . android-mode)
(mode . clojure-mode))))))
See also the functions `ibuffer-save-filter-groups' and
`ibuffer-switch-to-saved-filter-groups' for saving and switching
between sets of filter groups, and the variable
`ibuffer-save-with-custom' that affects how this information is
saved."
:type '(repeat sexp)
:group 'ibuffer)