unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Waleed Yousef <wyousef@fcih.net>
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 18:47:58 +0100	[thread overview]
Message-ID: <87edukkjzl.fsf@gmail.com> (raw)
In-Reply-To: <87zgd8rmou.fsf@node-1w7jr9strgjopauae3d8vyr5z.ipv6.telus.net> (Waleed Yousef's message of "Thu, 03 Nov 2022 10:07:45 -0700")

>>>>> 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	other threads:[~2022-11-03 17:47 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 [this message]
2022-11-03 18:23           ` Waleed Yousef
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=87edukkjzl.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=58974@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=wyousef@fcih.net \
    /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).