From: Tassilo Horn <tsdh@gnu.org>
To: ding@gnus.org
Subject: Re: Snoozing a message in gnus?
Date: Mon, 10 Nov 2014 15:06:57 +0100 [thread overview]
Message-ID: <87tx27cfpa.fsf@thinkpad-t440p.tsdh.org> (raw)
In-Reply-To: <87fvdrf9n2.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 10 Nov 2014 08:49:37 -0500")
Ted Zlatanov <tzz@lifelogs.com> writes:
> TM> Is there an idiomatic way to implement this? I'm thinking of writing
> TM> two functions:
> TM> - first marks the article as dormant and adds a header like
> TM> X-Snooze-Until
> TM> - second goes in `gnus-select-group-hook' and maybe marks the article
> TM> unread + ticked if the header date is past
>
> You can't add a header to most backends, especially IMAP, because they
> don't support article editing. The gnus-registry is pretty much the only
> way inside Gnus (or you can use Org, as suggested) to add new metadata
> like that. The rest seems OK.
The problem with `gnus-select-group-hook' is that due articles would
become un-snoozed only when selecting the respective group. And why
should one select a group if it hasn't unread articles? So the
un-snoozing has to happen globally either periodically in a timer or at
least in `gnus-after-getting-new-news-hook'.
Bye,
Tassilo
next prev parent reply other threads:[~2014-11-10 14:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-07 8:43 Rainer M Krug
2014-11-07 11:04 ` Eric Abrahamsen
2014-11-07 12:56 ` Ted Zlatanov
2014-11-11 2:27 ` Eric Abrahamsen
2014-11-07 15:09 ` Rainer M Krug
2014-11-07 11:12 ` Tassilo Horn
2014-11-07 13:07 ` Xavier Maillard
2014-11-07 15:37 ` Trevor Murphy
2014-11-07 22:20 ` Peter Münster
2014-11-10 13:49 ` Ted Zlatanov
2014-11-10 13:59 ` Adam Sjøgren
2014-11-10 14:49 ` Rainer M Krug
2014-11-12 1:00 ` Dan Christensen
2014-12-08 16:59 ` Ted Zlatanov
2014-11-10 14:06 ` Tassilo Horn [this message]
2014-11-10 20:04 ` Ted Zlatanov
2014-11-10 22:26 ` Trevor Murphy
2014-11-11 1:23 ` Ted Zlatanov
2014-11-10 23:33 ` Trevor Murphy
2014-11-11 2:13 ` Eric Abrahamsen
2014-11-10 22:27 ` Trevor Murphy
2015-01-26 4:34 ` Lars Ingebrigtsen
2015-01-26 8:39 ` Rainer M Krug
2015-01-27 0:56 ` Lars Ingebrigtsen
2015-01-27 1:53 ` Eric Abrahamsen
2015-01-27 8:12 ` 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=87tx27cfpa.fsf@thinkpad-t440p.tsdh.org \
--to=tsdh@gnu.org \
--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).