bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58974: 28.2; saving a message in multiple groups


From: Waleed Yousef
Subject: bug#58974: 28.2; saving a message in multiple groups
Date: Thu, 03 Nov 2022 11:23:00 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Thanks so much; that is great. I elaborated and coded this:


(setq gnus-message-archive-group
      '((if (not (string-empty-p gnus-newsgroup-name))
            (list gnus-newsgroup-name "nnml:MySent")
          (list "nnml:MySent")
          )))


Please, feel free to close the ticket.

--Waleed


Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Thu, 03 Nov 2022 10:07:45 -0700, Waleed Yousef <wyousef@fcih.net> 
>>>>>> said:
>
>     Waleed> From the group buffer, and without entering any group, the 
> variable
>     Waleed> value of gnus-newsgroup-name is nil, which I already check in the 
> if condition. However, if I create a
>     Waleed> message the header is: Gcc: nnfolder+archive:
>
> Youʼre right, itʼs nil in the *Group* buffer, but then itʼs bound to
> "" by `gnus-msg-mail', which has been there for ages, so itʼs not
> something Iʼd change lightly. How about this:
>
> (setq gnus-message-archive-group
>   '((if (not (string-empty-p gnus-newsgroup-name))
>         gnus-newsgroup-name
>        "nnml:ADS")))
>
> Robert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]