Tags: patch Hello, I'm attaching a patch that enhances user experience when adding Gnus scores interactively based on date header. This patch does multiple things: 1. `char-to-type' variable is renamed to `char-to-types' and we allow it to be mapped to multiple types. This is useful because date header supports all these types for scoring - '<, '>, 'r, 'after, 'before, 'at but only the last three were previously offered to the user when using interactive scoring. 2. `gnus-summary-score-entry' now provides sensible defaults for each date scoring type - if we're scoring based on integer value ('<, '>) we offer number of days between now and entry at point (revised version of what was introduced in bug#61002) and if we're scoring based on string value ('after, 'before, 'at, 'r) we provide valid date string. 3. If the user scores articles based on date strings ('before, 'after, 'at, 'r), `gnus-summary-score-entry' will no longer cast the type to the integer type. 4. `gnus-score-date' catches 'r type as well. I'm also Cc'ing Alex who was the original author of '< '> date scoring types. Please let me know what you think. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-03-23 built on kuba-ThinkPad-T14-Gen-3 Repository revision: 7e32e8392ab77f9df08a1f11831cbba2242d721f Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12201001 System Description: Ubuntu 22.04.4 LTS