Function: logview-go-to-section-end
logview-go-to-section-end is an interactive and natively compiled
function defined in logview.el.
Signature
(logview-go-to-section-end &optional N SET-VIEW-IF-NEEDED)
Documentation
Move point to the end of current section.
If the actual last section's entry is not visible, go to the latest visible one.
If an argument N is specified, move N - 1 sections forward
first (for consistency with standard commands like C-e).
Sections that consist only of hidden entries (due to any reasons)
are ignored.
When called interactively and there is no section-defining view
yet (or it got deleted or renamed), ask for the view first. You
can use command \<logview-mode-map>M-x logview-set-section-view (logview-set-section-view) to change that later.
Key Bindings
logview-mode-map c e
Source Code
;; Defined in /nix/store/3zkn9hgpv447zb8nrg55d9x2ynmmrk40-emacs-packages-deps/share/emacs/site-lisp/elpa/logview-20260218.2013/logview.el
(defun logview-go-to-section-end (&optional n set-view-if-needed)
"Move point to the end of current section.
If the actual last section's entry is not visible, go to the
latest visible one.
If an argument N is specified, move N - 1 sections forward
first (for consistency with standard commands like `C-e').
Sections that consist only of hidden entries (due to any reasons)
are ignored.
When called interactively and there is no section-defining view
yet (or it got deleted or renamed), ask for the view first. You
can use command `\\<logview-mode-map>\\[logview-set-section-view]' to change that later."
;; Second "p" is only needed so that SET-VIEW-IF-NEEDED is non-nil when called
;; interactively.
(interactive "p\np")
(logview--std-temporarily-widening
(logview--do-forward-section-as-command set-view-if-needed (if n (1- n) 0) t)))