Variable: erc-status-sidebar-style
erc-status-sidebar-style is a customizable variable defined in
erc-status-sidebar.el.gz.
Value
all-queries-first
Documentation
Preset style for rendering the sidebar.
When set to channels-only, ERC limits the items in the
status bar to uniquified channels. It uses the options
and functions
erc-channel-list(var)/erc-channel-list(fun),
erc-status-sidebar-channel-sort,
erc-status-sidebar-get-channame,
erc-status-sidebar-channel-format
erc-status-sidebar-default-insert
for selecting, formatting, naming, and inserting entries. When
set to one of the various all-* values, such as all-mixed,
ERC shows channels and queries under their respective server
buffers, using the functions
erc-status-sidebar-all-target-buffers,
erc-status-sidebar-default-allsort,
erc-status-sidebar-prefer-target-as-name,
erc-status-sidebar-default-chan-format,
erc-status-sidebar-pad-hierarchy
for the above-mentioned purposes. ERC also accepts a list of functions to perform these roles a la carte. Since the members of the above sets aren't really interoperable, we don't offer them here as customization choices, but you can still specify them manually. See doc strings for a description of their expected arguments and return values.
This variable was added, or its default value changed, in ERC version
5.6.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-status-sidebar.el.gz
(defcustom erc-status-sidebar-style 'all-queries-first
"Preset style for rendering the sidebar.
When set to `channels-only', ERC limits the items in the
status bar to uniquified channels. It uses the options
and functions
`erc-channel-list',
`erc-status-sidebar-channel-sort',
`erc-status-sidebar-get-channame',
`erc-status-sidebar-channel-format'
`erc-status-sidebar-default-insert'
for selecting, formatting, naming, and inserting entries. When
set to one of the various `all-*' values, such as `all-mixed',
ERC shows channels and queries under their respective server
buffers, using the functions
`erc-status-sidebar-all-target-buffers',
`erc-status-sidebar-default-allsort',
`erc-status-sidebar-prefer-target-as-name',
`erc-status-sidebar-default-chan-format',
`erc-status-sidebar-pad-hierarchy'
for the above-mentioned purposes. ERC also accepts a list of
functions to perform these roles a la carte. Since the members
of the above sets aren't really interoperable, we don't offer
them here as customization choices, but you can still specify
them manually. See doc strings for a description of their
expected arguments and return values."
:package-version '(ERC . "5.6")
:type '(choice (const channels-only)
(const all-mixed)
(const all-queries-first)
(const all-channels-first)
(list (function :tag "Buffer lister")
(function :tag "Buffer sorter")
(function :tag "Name extractor")
(function :tag "Name formatter")
(function :tag "Name inserter"))))