From: Julien Cubizolles <j.cubizolles@free.fr>
To: info-gnus-english@gnu.org
Subject: Re: Simple keybindings for Gmail/IMAP use
Date: Tue, 06 Oct 2015 11:40:38 +0200 [thread overview]
Message-ID: <87fv1o49nt.fsf@free.fr> (raw)
In-Reply-To: <fd11a0c4-44da-4749-a984-b91dc85c9ba8@googlegroups.com>
Bob Newell <bobnewell@bobnewell.net> 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 ?
Julien.
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2015-10-06 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-04 22:36 Bob Newell
2015-10-05 9:37 ` Rainer M Krug
2015-10-06 9:40 ` Julien Cubizolles [this message]
2015-10-06 9:55 ` Rainer M Krug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fv1o49nt.fsf@free.fr \
--to=j.cubizolles@free.fr \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).