[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple keybindings for Gmail/IMAP use

From: Julien Cubizolles
Subject: Re: Simple keybindings for Gmail/IMAP use
Date: Tue, 06 Oct 2015 11:40:38 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Bob Newell <address@hidden> writes:

> ;; Prefix v (reserved by gnus for user stuff?) then
> ;; a=archive (to 'all mail') s=spam t=trash i=inbox
> ;; Archive.
>   (define-key gnus-summary-mode-map "va" 
>      (lambda () (interactive)
>          (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/All Mail" nil)))
> ;; Spam.
>   (define-key gnus-summary-mode-map "vs" 
>      (lambda () (interactive)
>          (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/Spam" nil)))
> ;; Trash.
>   (define-key gnus-summary-mode-map "vt" 
>      (lambda () (interactive)
>          (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/Trash" nil)))
> ;; Move to INBOX (such as for false positive spam).
>   (define-key gnus-summary-mode-map "vi" 
>      (lambda () (interactive)
>          (gnus-summary-move-article nil "nnimap+gmail:[Gmail]/INBOX" nil)))

When you move something to Spam or Trash, it doesn't remove the copy
from All Mail, does it ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]