GNU bug report logs - #43502
27.1; Gnus inconsistent keys for scoring on body?

Previous Next

Packages: gnus, emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Sat, 19 Sep 2020 03:40:01 UTC

Severity: normal

Tags: fixed

Found in version 27.1

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43502 in the body.
You can then email your comments to 43502 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#43502; Package emacs,gnus. (Sat, 19 Sep 2020 03:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Allen Li <darkfeline <at> felesatra.moe>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Sat, 19 Sep 2020 03:40:02 GMT) Full text and rfc822 format available.

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

From: Allen Li <darkfeline <at> felesatra.moe>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; Gnus inconsistent keys for scoring on body?
Date: Fri, 18 Sep 2020 20:39:44 -0700
The keys for making score entries against the body are:

    I b z ...

    Increase, score on body, substring

    I b p ...

    Increase, score on body, regexp

This is inconsistent with the keys for other entry types:

    I a s ...

    Increase, score on author, substring

    I a r ...

    Increase, score on author, regexp

This is also inconsistent with the manual (Gnus)Summary Score Commands,
which documents s/r for substring/regexp and not z/p

A side effect of this is that the shortcuts raise an error for body type
entries:

    I B should be equivalent to I b s(z?) t

But it errors, likely because s is not defined for I b

In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3)
 of 2020-08-28 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12009000
System Description: Arch Linux




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#43502; Package emacs,gnus. (Sat, 19 Sep 2020 14:48:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: 43502 <at> debbugs.gnu.org
Subject: Re: bug#43502: 27.1; Gnus inconsistent keys for scoring on body?
Date: Sat, 19 Sep 2020 16:47:20 +0200
Allen Li <darkfeline <at> felesatra.moe> writes:

> This is inconsistent with the keys for other entry types:
>
>     I a s ...
>
>     Increase, score on author, substring
>
>     I a r ...
>
>     Increase, score on author, regexp
>
> This is also inconsistent with the manual (Gnus)Summary Score Commands,
> which documents s/r for substring/regexp and not z/p

Yeah, but the matches are different, so (as I seem to vaguely recall
from the 90s when this was written), different keys had to be used.

I've now documented that in the manual along with this:

> A side effect of this is that the shortcuts raise an error for body type
> entries:
>
>     I B should be equivalent to I b s(z?) t
>
> But it errors, likely because s is not defined for I b

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 19 Sep 2020 14:48:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 43502 <at> debbugs.gnu.org and Allen Li <darkfeline <at> felesatra.moe> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 19 Sep 2020 14:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Oct 2020 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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