Gnus development mailing list
 help / color / mirror / Atom feed
From: Trevor Murphy <trevor.m.murphy@gmail.com>
To: ding@gnus.org
Subject: Re: Snoozing a message in gnus?
Date: Fri, 07 Nov 2014 10:37:05 -0500	[thread overview]
Message-ID: <87bnojja3i.fsf@gmail.com> (raw)
In-Reply-To: <8761erw9fv.fsf@thinkpad-t440p.tsdh.org>

On Fri, Nov 07 2014, Tassilo Horn wrote: 

> I don't think there is.  But it shouldn't be too hard to 
> implement something like that, e.g., simply by marking snoozed 
> articles as dormant immediately (so that they won't be expired 
> in the meantime), and then as unread + ticked when the "wakeup 
> time" has arrived. 

+1

Something similar's been on my "someday / maybe" project list for 
a while now.  On the off chance I have some free time this 
weekend, a question for the list:

Is there an idiomatic way to implement this?  I'm thinking of 
writing two functions:
 - first marks the article as dormant and adds a header like 
 X-Snooze-Until
 - second goes in  `gnus-select-group-hook' and maybe marks the 
 article unread + ticked if the header date is past

Thoughts?
-- 
Trevor Murphy, ASA, MAAA
GnuPG Key: 0x83881C0A




  parent reply	other threads:[~2014-11-07 15:37 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 [this message]
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
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=87bnojja3i.fsf@gmail.com \
    --to=trevor.m.murphy@gmail.com \
    --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).