GNU bug report logs - #38967
27.0.60; Incorrect 'from' header when gnus-summary-mail-forward called from nnir group

Previous Next

Package: emacs;

Reported by: Pankaj Jangid <p4j <at> j4d.net>

Date: Mon, 6 Jan 2020 09:32:02 UTC

Severity: normal

Tags: notabug

Found in version 27.0.60

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Pankaj Jangid <p4j <at> j4d.net>
Cc: 38967 <at> debbugs.gnu.org
Subject: Re: bug#38967: 27.0.60; Incorrect 'from' header when
 gnus-summary-mail-forward called from nnir group 
Date: Sun, 08 May 2022 16:10:16 +0200
Pankaj Jangid <p4j <at> j4d.net> writes:

> (setq gnus-posting-styles
>       '((".*"
>          (name "Pankaj Jangid")
>          (address "pankaj <at> xyz.invalid"))
> 	("nnimap\\+j4d:.*"
>          (address "p4j <at> j4d.net"))))
>
> When I create an nnselect group by doing C-u G G on nnimap+j4d:INBOX
> group, it should actually pick the address defined for group
> (j4d:.*). But it is picking the first one, defined for (.*).

No, `gnus-posting-styles' works on the actual group names, and doesn't
look into whether it's a "meta group" or not.  So if you want to use
posting styles with nnselect/nnvirtual, you have to adjust your posting
styles so that they work with the names of those groups.

So I think this works as designed, and I'm therefore closing this bug
report.

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




This bug report was last modified 3 years and 98 days ago.

Previous Next


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