all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gnus: scoring articles by age
@ 2021-04-30  0:14 D
  2021-05-02  6:48 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: D @ 2021-04-30  0:14 UTC (permalink / raw)
  To: emacs-devel

Hi,

as the subject already implies I was wondering if there is a sensible
way to score articles "by age" in gnus.  In principle this functionality
seems to be available via the "Date" key in score files, for example,

 ("Date"
  ("20200430T012905" -1 nil before))

would subtract 1 from the score of any article posted one year ago or
more.  However, you'd have to update that value manually (yuck!) since
you can't put an expression such as

(format-time-string "%+4Y%m%dT%H%M%S" (time-subtract nil 31536000))

into a score file (afaik). As for why would that ever be useful:
consider things like weeding out unsuccessful threads, where any root
that has failed to amass any replies in some fixed time should receive a
negative score, or a root that amassed many replies in a short time
amass a positive score.

Cheers,
D.



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

end of thread, other threads:[~2021-05-02 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-30  0:14 gnus: scoring articles by age D
2021-05-02  6:48 ` Lars Ingebrigtsen
2021-05-02 13:56   ` D

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.