Function: gnus-summary-select-article-buffer
gnus-summary-select-article-buffer is an interactive and byte-compiled
function defined in gnus-sum.el.gz.
Signature
(gnus-summary-select-article-buffer)
Documentation
Reconfigure windows to show the article buffer.
If gnus-widen-article-window is set, show only the article
buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
;; Various summary commands
(defun gnus-summary-select-article-buffer ()
"Reconfigure windows to show the article buffer.
If `gnus-widen-article-window' is set, show only the article
buffer."
(interactive nil gnus-summary-mode)
(if (not (gnus-buffer-live-p gnus-article-buffer))
(error "There is no article buffer for this summary buffer")
(or (get-buffer-window gnus-article-buffer)
(eq gnus-current-article (gnus-summary-article-number))
(gnus-summary-show-article))
(let ((point (with-current-buffer gnus-article-buffer
(point))))
(gnus-configure-windows
(if gnus-widen-article-window
'only-article
'article)
t)
(select-window (get-buffer-window gnus-article-buffer))
;; If we've just selected the message, place point at the start of
;; the body because that's probably where we want to be.
(if (not (= point (point-min)))
(goto-char point)
(article-goto-body)
(forward-char -1)))))