GNU bug report logs - #43413
28.0.50; [PATCH] New gnus-score-func to support user-defined scoring functions

Previous Next

Package: emacs;

Reported by: Alex Bochannek <alex <at> bochannek.com>

Date: Tue, 15 Sep 2020 07:26:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #27 received at 43413 <at> debbugs.gnu.org (full text, mbox):

From: Alex Bochannek <alex <at> bochannek.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 43413 <at> debbugs.gnu.org
Subject: Re: bug#43413: 28.0.50; [PATCH] New gnus-score-func to support
 user-defined scoring functions
Date: Thu, 17 Sep 2020 13:32:39 -0700
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Alex Bochannek <alex <at> bochannek.com> writes:
>
>> Did some testing and it looks good. Is there a unit test framework I
>> could use for Elisp code, by the way? That could be useful for simple
>> utility functions that just transform some input (e.g., the patch I
>> suggested in #43441.)
>
> Yes, ert.  The test files are under test/lisp -- just have a peek at
> them; it's pretty self-explanatory. 

Thanks, that helps. Should have probably looked first before asking and
it's good to get an authoritative answer that this is the recommended
approach.

-- 
Alex.




This bug report was last modified 4 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.