From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85262 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Snoozing a message in gnus? Date: Tue, 11 Nov 2014 10:13:12 +0800 Message-ID: <87d28ubi2v.fsf@ericabrahamsen.net> References: <8761erw9fv.fsf@thinkpad-t440p.tsdh.org> <87bnojja3i.fsf@gmail.com> <87fvdrf9n2.fsf@lifelogs.com> <87tx27cfpa.fsf@thinkpad-t440p.tsdh.org> <87r3xaesb3.fsf@lifelogs.com> <87ioim3a24.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415671724 16084 80.91.229.3 (11 Nov 2014 02:08:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 02:08:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33506@lists.math.uh.edu Tue Nov 11 03:08:37 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 1Xo0sm-0004hO-R4 for ding-account@gmane.org; Tue, 11 Nov 2014 03:08:37 +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 1Xo0sW-00049W-4P; Mon, 10 Nov 2014 20:08:20 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Xo0sT-00049F-DU for ding@lists.math.uh.edu; Mon, 10 Nov 2014 20:08:17 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Xo0sJ-0004dE-LL for ding@lists.math.uh.edu; Mon, 10 Nov 2014 20:08:17 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0sI-00075N-9G for ding@gnus.org; Tue, 11 Nov 2014 03:08:06 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xo0sF-0004OF-Vx for ding@gnus.org; Tue, 11 Nov 2014 03:08:04 +0100 Original-Received: from 123.123.17.194 ([123.123.17.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Nov 2014 03:08:03 +0100 Original-Received: from eric by 123.123.17.194 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Nov 2014 03:08:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.123.17.194 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:P4FUeAg7bURyl3O9VRNkF/43nfo= X-Spam-Score: -0.3 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85262 Archived-At: Trevor Murphy writes: > On Mon, Nov 10 2014, Ted Zlatanov wrote: > >> The registry could update those groups with a glowing indicator >> light or something :) > > Whoa, I hadn't seen the registry before. That looks like a fairly > heavyweight solution, but since it'll work with nnimap and nntp out of > the box, I figure it's worth starting there. > > Looks like I want a command that marks the article dormant, prompts > for a delay like how `gnus-delay-article' does, then sets an > appropriate value under a registry "snooze" key. > > Then I'll throw something in the demon or the get-new-news hook to > iterate over articles in the registry with a "snooze" key and mark > them ticked + unread if the date is past. > > The manual says there's a built-in registry inverse map that'll let me > look up all messages matching a particular set of criteria. Is this > referring to `registry-search'? Or should I be trying to use > `gnus-registry-find-keywords'? Keywords are specifically used for adaptive word scoring; `registry-search' is the one you want for finding arbitrary keys.