unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* email snoozing in notmuch
@ 2014-12-10  1:03 Sebastian Fischmeister
  2014-12-10  8:14 ` Franz Fellner
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Fischmeister @ 2014-12-10  1:03 UTC (permalink / raw)
  To: notmuch

Hi,

I'm thinking of how to realize the mail snoozing feature with notmuch,
so that certain emails won't become visible (in the search) until a
certain day/time (e.g., 10 days from now).

Using the tag as an absolute date when the mail should become visible
again, tags should be searchable and interpretable as dates. The search
would then be something like: notmuch search tag-as-date < now and
tag:inbox

Using the receive date as base and encoding the delay as relative time
from that, would still need the ability to interpret tag values as
numbers:

notmuch search date:01012011..15days and tag-as-number < 10 and tag:inbox

Any ideas how the snoozing feature can be implemented with what is
already present in notmuch?

Thanks,
  Sebastian

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: email snoozing in notmuch
@ 2014-12-11 15:41 Trevor Jim
  0 siblings, 0 replies; 5+ messages in thread
From: Trevor Jim @ 2014-12-11 15:41 UTC (permalink / raw)
  To: sfischme; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

I've implemented this in elisp, here: https://github.com/tjim/nevermore/blob/master/nm.el#L745

Snooze has come up a repeatedly on this list. Maybe it would make sense to build it in to notmuch?

Of course, it can be built on top of notmuch so it's not necessary to bake it in. But there are other features in notmuch of which you could say the same, e.g., excluded tags.

The benefit of building it in would be a common interface/implementation that all UIs could use.



[-- Attachment #2.1: Type: text/html, Size: 619 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-21 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10  1:03 email snoozing in notmuch Sebastian Fischmeister
2014-12-10  8:14 ` Franz Fellner
2014-12-10 17:00   ` Richard Lawrence
2014-12-21 15:54     ` Sebastian Fischmeister
  -- strict thread matches above, loose matches on Subject: below --
2014-12-11 15:41 Trevor Jim

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).