1

As Gnus documentation suggests, pressing B in the Summary Plugged mode deletes an email. So Gnus doesn't display them, but they're still visible in Web-based gmail client. Please note that I did set Auto-Expunge off - Wait for the client to update the server. and Immediately delete the message forever in my gmail account settings.

Is there a way to fix this? Thanks.

1 Answer 1

1

Here is the code from https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org

;; @see http://www.gnu.org/software/emacs/manual/html_node/gnus/Expiring-Mail.html
;; press 'E' to expire email
(nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")

The mail will be moved to Trash folder.

3
  • thanks for comment. I added (setq nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash") since otherwise Gnus was complaining about the error. Now, pressing E marks email as expired. In order to move it in Trash right away, I also (setq nnmail-expiry-wait "immediate"). Does this look right to you?
    – Mark
    Apr 26, 2017 at 13:53
  • 1
    (setq nnmail-expiry-wait 'immediate)
    – chen bin
    Apr 26, 2017 at 23:27
  • Can move it to the trash right away B m nnimap+gmail:[Gmail]/Trash May 3, 2017 at 4:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.