From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85239 Path: news.gmane.org!not-for-mail From: Trevor Murphy Newsgroups: gmane.emacs.gnus.general Subject: Re: Snoozing a message in gnus? Date: Fri, 07 Nov 2014 10:37:05 -0500 Message-ID: <87bnojja3i.fsf@gmail.com> References: <8761erw9fv.fsf@thinkpad-t440p.tsdh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1415376680 11041 80.91.229.3 (7 Nov 2014 16:11:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2014 16:11:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33483@lists.math.uh.edu Fri Nov 07 17:11:14 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xmm7w-0006bl-I9 for ding-account@gmane.org; Fri, 07 Nov 2014 17:11:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Xmm7u-0001IL-UC; Fri, 07 Nov 2014 10:11:06 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XmlbW-000128-3P for ding@lists.math.uh.edu; Fri, 07 Nov 2014 09:37:38 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XmlbV-0008MI-A3 for ding@lists.math.uh.edu; Fri, 07 Nov 2014 09:37:38 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XmlbT-0008FJ-9G for ding@gnus.org; Fri, 07 Nov 2014 16:37:35 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XmlbK-0004hZ-S2 for ding@gnus.org; Fri, 07 Nov 2014 16:37:26 +0100 Original-Received: from z65-50-91-81.ips.direcpath.com ([65.50.91.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Nov 2014 16:37:26 +0100 Original-Received: from trevor.m.murphy by z65-50-91-81.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Nov 2014 16:37:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-91-81.ips.direcpath.com Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:mItw0lTzRN9iTjpQfb3Hlcum8Qk= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85239 Archived-At: 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