* customised move mail functions with multiple accounts / auto-detect group?
@ 2015-12-28 16:46 Benjamin Slade
0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Slade @ 2015-12-28 16:46 UTC (permalink / raw)
To: info-gnus-english
Based on this posting: https://lists.gnu.org/archive/html/info-gnus-english/2015-10/msg00008.html
some useful bound move functions could be defined, e.g.
;; 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)))
But what would be the best way of doing something like this which would
move messages to the appropriate location (assuming a multi-email
account situation), either based on group or something else like the
"To" field?
^ permalink raw reply [flat|nested] 4+ messages in thread
* customised move mail functions with multiple accounts / auto-detect group?
@ 2015-12-28 5:35 Benjamin Slade
0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Slade @ 2015-12-28 5:35 UTC (permalink / raw)
To: info-gnus-english
Based on this posting: https://lists.gnu.org/archive/html/info-gnus-english/2015-10/msg00008.html
some useful bound move functions could be defined, e.g.
;; 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)))
But what would be the best way of doing something like this which would
move messages to the appropriate location (assuming a multi-email
account situation), either based on group or something else like the
"To" field?
--
( Dr Benjamin Slade . b.slade@utah.edu . http://www.jnanam.net/slade )
( Linguistics . University of Utah )
(pgp_fingerprint: (21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by 真/MA Gnus on Emacs running under GNU/Linux)
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-29 4:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1124.1451280956.843.info-gnus-english@gnu.org>
2015-12-28 20:03 ` customised move mail functions with multiple accounts / auto-detect group? Bob Newell
2015-12-29 4:16 ` Benjamin Slade
2015-12-28 16:46 Benjamin Slade
-- strict thread matches above, loose matches on Subject: below --
2015-12-28 5:35 Benjamin Slade
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).