unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43502: 27.1; Gnus inconsistent keys for scoring on body?
@ 2020-09-19  3:39 Allen Li
  2020-09-19 14:47 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Allen Li @ 2020-09-19  3:39 UTC (permalink / raw)
  To: 43502

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#43502: 27.1; Gnus inconsistent keys for scoring on body?
  2020-09-19  3:39 bug#43502: 27.1; Gnus inconsistent keys for scoring on body? Allen Li
@ 2020-09-19 14:47 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-19 14:47 UTC (permalink / raw)
  To: Allen Li; +Cc: 43502

Allen Li <darkfeline@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-19 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-19  3:39 bug#43502: 27.1; Gnus inconsistent keys for scoring on body? Allen Li
2020-09-19 14:47 ` Lars Ingebrigtsen

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).