Bartosz Kaczyński writes:

> I attempted to create a custom function to close the article buffer and
> delete its window:
>
> (defun my-gnus-article-quit ()
>   "Close the current article buffer and delete its window."
>   (interactive)
>   (kill-current-buffer)
>   (delete-window))
>
> (define-key gnus-article-mode-map (kbd "q") #'my-gnus-article-quit)
>
> While this works in closing the article buffer, reopening the same
> article results in a blank article in edit mode, which seems like
> another potential issue.
>
> Could you confirm if this is expected behavior or a bug? If it's a bug,
> is there a recommended fix or workaround?

Pressing 'g'.

Probably working as designed: better to keep point in Summary itself and
use (info "(gnus) Window Layout"). Why kill the Article buffer anyway?

--

Reply via email to