[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51450: Bugs in gnus-short-group-name
From: |
Lars Ingebrigtsen |
Subject: |
bug#51450: Bugs in gnus-short-group-name |
Date: |
Fri, 29 Oct 2021 15:31:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Morgan.J.Smith@outlook.com 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
> + ("nnimap+email@banana.salesman.example.com: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"
> + ("nnimap+email@example.com:[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