From: Eli Zaretskii <eliz@gnu.org>
To: eric@ericabrahamsen.net, "Jakub Ječmínek" <kuba@kubajecminek.cz>
Cc: 70134@debbugs.gnu.org, larsi@gnus.org, alex@bochannek.com
Subject: bug#70134: [PATCH] Show all date options when adding Gnus scores interactively
Date: Sat, 13 Apr 2024 10:58:37 +0300 [thread overview]
Message-ID: <86bk6dr8wi.fsf@gnu.org> (raw)
In-Reply-To: <87edbovjvj.fsf@kubajecminek.cz> (bug-gnu-emacs@gnu.org)
Ping! Eric, any comments?
> Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, larsi@gnus.org,
> Alex Bochannek <alex@bochannek.com>
> Date: Mon, 01 Apr 2024 21:44:04 +0000
> From: Jakub Ječmínek via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> 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.
next prev parent reply other threads:[~2024-04-13 7:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-01 21:44 bug#70134: [PATCH] Show all date options when adding Gnus scores interactively Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13 7:58 ` Eli Zaretskii [this message]
2024-04-22 3:33 ` Eric Abrahamsen
2024-04-24 22:52 ` Richard Stallman
2024-04-24 23:08 ` Alex Bochannek
2024-05-01 19:27 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-07 2:53 ` Alex Bochannek
2024-05-09 19:15 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-09 23:59 ` Eric Abrahamsen
2024-05-10 20:04 ` Eric Abrahamsen
2024-05-10 20:38 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-10 21:27 ` Eric Abrahamsen
2024-05-14 2:00 ` Alex Bochannek
2024-05-14 14:52 ` Eric Abrahamsen
2024-05-14 18:43 ` Alex Bochannek
2024-05-14 19:57 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-16 14:15 ` Eric Abrahamsen
2024-05-16 19:40 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22 21:34 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22 23:30 ` Alex Bochannek
2024-05-23 2:50 ` Eric Abrahamsen
2024-05-26 14:22 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-26 22:09 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-29 21:23 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-30 0:16 ` Alex Bochannek
2024-05-30 9:01 ` Andrea Corallo
2024-05-30 16:30 ` Alex Bochannek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86bk6dr8wi.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=70134@debbugs.gnu.org \
--cc=alex@bochannek.com \
--cc=eric@ericabrahamsen.net \
--cc=kuba@kubajecminek.cz \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).