From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3600 invoked from network); 14 Mar 2022 19:19:54 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2022 19:19:54 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nTqER-00HBf2-BD for ml@inbox.vuxu.org; Mon, 14 Mar 2022 14:19:51 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1nTqEQ-005hLd-QJ for ml@inbox.vuxu.org; Mon, 14 Mar 2022 14:19:50 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nTqEP-005hLX-MJ for ding@lists.math.uh.edu; Mon, 14 Mar 2022 14:19:49 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nTqEL-005SsN-QF for ding@lists.math.uh.edu; Mon, 14 Mar 2022 14:19:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:Message-ID:Date:Subject:From:To: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ENc0Z32laS2GEZeildVHOLoPJRd1Urs/aSjLX4sZCDk=; b=JZBQEUHHT0zGCpOzYKrTIKWG7w oJqERT+LSnJTbgdE4kWMuKCkivgEpE9Ck9a63bFKQCGpTfaF7VfOYjSugFpfk7FrssbYJwjRZl7wa 5qAYK8lW0cOFo7WrVvSuCg9sZn6hxVEAFf+I26iLOahwIOuHodZ4Mj+PqqSmuvGEtWW4=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTqED-0001ii-Bq for ding@gnus.org; Mon, 14 Mar 2022 20:19:40 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nTqEB-0006wT-3q for ding@gnus.org; Mon, 14 Mar 2022 20:19:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Emanuel Berg Subject: how long is a temporary down score in effect? Date: Mon, 14 Mar 2022 20:19:25 +0100 Message-ID: <87v8wg4a0y.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:8+Qtx2Jg1Wg88eZFEW6/7IwwKuw= Mail-Copies-To: never List-ID: Precedence: bulk how long is a temporary down score in effect? In (info "(gnus) Score File Format") lines 72-77 it says: If the third element is present it [...] says when the last time this score entry matched, which provides a mechanism for expiring the score entries. [...] The date is represented by the number of days since December 31, 1 BCE. The number that I get in the score file is 738228. So I wrote this: (defun days-since (year month day) (string-to-number (format-seconds "%d" (float-time (time-since (encode-time 0 0 0 day month year))) ))) However (- 738228 (days-since 0 0 0)) ; -397 which doesn't make sense (temporary ban for a negative period of time - is it some other date?). Why does it have to be so complicated BTW? So how long is it? I'd like to set the temporary down score time to _1 month_ to begin with ... Is there really no variable (option) for that? -- underground experts united https://dataswamp.org/~incal