Function: logview-set-section-view
logview-set-section-view is an interactive and natively compiled
function defined in logview.el.
Signature
(logview-set-section-view VIEW)
Documentation
Use given view to split log file into sections.
Argument VIEW can either be a string (view name) or a number, in
which case view with that index is used. Views can be either
thread-bound or not, use \<logview-mode-map>M-x logview-toggle-sections-thread-bound (logview-toggle-sections-thread-bound) to toggle.
If called interactively with a prefix argument, use its numeric value as quick access index. Otherwise, read the view name from the minibuffer.
Key Bindings
logview-mode-map V c
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview-set-section-view (view)
"Use given view to split log file into sections.
Argument VIEW can either be a string (view name) or a number, in
which case view with that index is used. Views can be either
thread-bound or not, use `\\<logview-mode-map>\\[logview-toggle-sections-thread-bound]' to toggle.
If called interactively with a prefix argument, use its numeric
value as quick access index. Otherwise, read the view name from
the minibuffer."
(interactive (list (logview--choose-view "View to determine sections: " current-prefix-arg)))
(logview--do-set-section-view (plist-get (logview--find-view view) :name)))