From: Waleed Yousef <wyousef@fcih.net>
To: Robert Pluim <rpluim@gmail.com>
Cc: 58974@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#58974: 28.2; saving a message in multiple groups
Date: Thu, 03 Nov 2022 11:23:00 -0700 [thread overview]
Message-ID: <878rkrq4mz.fsf@node-1w7jr9strgjopauae3d8vyr5z.ipv6.telus.net> (raw)
In-Reply-To: <87edukkjzl.fsf@gmail.com> (Robert Pluim's message of "Thu, 03 Nov 2022 18:47:58 +0100")
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
next prev parent reply other threads:[~2022-11-03 18:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 23:48 bug#58974: 28.2; saving a message in multiple groups Waleed Yousef
2022-11-03 10:36 ` Robert Pluim
2022-11-03 15:52 ` Waleed Yousef
2022-11-03 16:06 ` Robert Pluim
2022-11-03 17:07 ` Waleed Yousef
2022-11-03 17:47 ` Robert Pluim
2022-11-03 18:23 ` Waleed Yousef [this message]
2022-11-03 18:27 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rkrq4mz.fsf@node-1w7jr9strgjopauae3d8vyr5z.ipv6.telus.net \
--to=wyousef@fcih.net \
--cc=58974@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).