I attempted to create a custom function to close the article buffer and
delete its window:

--8<---------------cut here---------------start------------->8---
(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)
--8<---------------cut here---------------end--------------->8---

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?

Best regards,
Bart

Reply via email to