* Re: Snoozing messages
@ 2014-11-06 19:09 Trevor Jim
2014-11-06 19:16 ` Daniel Schoepe
0 siblings, 1 reply; 3+ messages in thread
From: Trevor Jim @ 2014-11-06 19:09 UTC (permalink / raw)
To: Daniel Schoepe; +Cc: notmuch
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
BTW my nevermore client for notmuch implements snoozing in elisp. It's barely functional but nice in that it does not rely on a separate daemon like at.
https://github.com/tjim/nevermore
-Trevor
[-- Attachment #2.1: Type: text/html, Size: 309 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Snoozing messages
@ 2014-11-06 18:48 Daniel Schoepe
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Schoepe @ 2014-11-06 18:48 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
Hi,
inspired by my alarm clock and the snooze feature found in some other
mail clients, I cobbled something together that allows snoozing
(i.e. removing a message from the inbox and adding it again later)
messages in notmuch. It's a small script that removes the inbox tag from
messages and schedules a job to add it again later using the at daemon
[1].
Time is specified in the format accepted by the perl library Date::Manip
[2]. It supports both absolute dates as well as relative times such as
"+5min".
The code is available here: https://github.com/dschoepe/notmuch-snooze
Best regards,
Daniel
[1] https://packages.qa.debian.org/a/at.html
[2] http://search.cpan.org/~sbeck/Date-Manip/lib/Date/Manip.pod
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-06 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 19:09 Snoozing messages Trevor Jim
2014-11-06 19:16 ` Daniel Schoepe
-- strict thread matches above, loose matches on Subject: below --
2014-11-06 18:48 Daniel Schoepe
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).