From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: <ding@gnus.org>
Subject: Re: Can I mark a mail as read and expired at the same time?
Date: Wed, 3 Jul 2013 10:14:49 +0100 [thread overview]
Message-ID: <87ppv0c8dy.fsf@ucl.ac.uk> (raw)
In-Reply-To: <874ncdxgxr.fsf@gmail.com>
Trevor Murphy <trevor.m.murphy@gmail.com> writes:
[...]
> When I mark the mail as expirable with 'E', it does indeed archive in
> the webmail interface. A/k/a delete from my inbox in Gnus.
>
> However the mail still shows up on the web as unread. This is
> noticeable in, trivially, the All Mail item. It's also noticeable, less
> trivially, if I've used a Gmail filter to apply a label to the mail.
>
> In that second case, the Gmail label syncs to an IMAP folder, and Gnus
> still sees the mail as unread in the corresponding folder. Which is
> annoying and motivated my original question.
>
> Does that make sense? total-expire, because it lets me use an 'r' or
> 'R' mark on the mail, seems to both mark as read and archive the message
> when I check via webmail. It just also does too much for my use case.
Yes, it does make sense. Maybe the solution is to create your own
command that first marks the article as read and then marks it as
expirable? Something along the lines of
#+begin_src emacs-lisp
(defun esf/mark-read-and-expirable ()
(interactive)
(gnus-summary-mark-as-read)
(gnus-summary-mark-as-expirable 1))
#+end_src
You can then assign this to a key in one of the gnus-summary key
maps. I've tested this briefly but not with gmail so I don't know if
this does what you want.
--
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.3.50.1 + Ma Gnus v0.8 + evil 1.0.5
: BBDB version 3.02 ($Date: 2013/05/15 13:17:58 $)
next prev parent reply other threads:[~2013-07-03 9:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 1:44 Trevor Murphy
2013-07-02 7:58 ` Eric S Fraga
2013-07-02 12:52 ` Trevor Murphy
2013-07-03 9:14 ` Eric S Fraga [this message]
2013-07-03 22:39 ` Trevor Murphy
2013-07-04 12:51 ` Eric S Fraga
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=87ppv0c8dy.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=ding@gnus.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).