Subject: bug#51450: Bugs in gnus-short-group-name

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 29 Oct 2021 15:31:53 +0200

[email-masked] writes:

> diff --git a/test/lisp/gnus/gnus-tests.el b/test/lisp/gnus/gnus-tests.el

Thanks; mostly applied, but moved to gnus-group-tests.el.

> +     ;; This is a very aggressive shortening of the left hand side. I
> +     ;; don't like this
> +     ("[email-masked]:234" . "email@banana:234")
> +     ("nntp+some.where.edu:soc.motss" . "some:s.motss")
> +     ("nntp+news.gmane.org:gmane.emacs.gnus.general" . "news:g.e.g.general")
> +     ("nntp+news.gnus.org:gmane.text.docbook.apps" . "news:g.t.d.apps")

A function like this is very DWIM, and those are what I mean.  :-)

> +     ;; I think we should shorten using [[:alnum:]] characters if we
> +     ;; can so this would be "I/Bananas" instead of "[/Bananas"
> +     ("[email-masked]:[Invoices]/Bananas" . "email@example:[/Bananas")

I've now fixed this on the trunk.

> +     ;; What is going on here? Is the "n" from "nnspool" somehow?
> +     ("nnspool+alt.binaries.pictures.furniture" . "n.b.p.furniture"))))

Yes, I think so.

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