unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Waleed Yousef <wyousef@fcih.net>
To: Robert Pluim <rpluim@gmail.com>
Cc: 58974@debbugs.gnu.org
Subject: bug#58974: 28.2; saving a message in multiple groups
Date: Thu, 03 Nov 2022 08:52:43 -0700	[thread overview]
Message-ID: <87tu3gt4qc.fsf@node-1w7jr9strgjopauae3d8vyr5z.ipv6.telus.net> (raw)
In-Reply-To: <871qqkmiiv.fsf@gmail.com> (Robert Pluim's message of "Thu, 03 Nov 2022 11:36:40 +0100")


1. Thanks so much. BTW, gnus-news-group-name is just an automatic
hyphenation done by gnus message buffer to split the line. I indeed use
gnus-newsgroup-name

Now, one more question please.

How I save to a default group if no group
is visited. I use this code but it does not work:

(setq gnus-message-archive-group '((if gnus-newsgroup-name gnus-newsgroup-name "nnml:ADS")))


Thanks in advance.
Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Wed, 02 Nov 2022 16:48:45 -0700, Waleed Yousef <wyousef@fcih.net> said:
>
>     Waleed> I am trying to save the sent message to two groups: nnml:mail.misc and
>     Waleed> the group in which the message is sent from:
>
>     Waleed> (setq gnus-message-archive-group '(gnus-news-group-name "nnml:mail.misc"))
>
>     Waleed> It never works.
>
> `gnus-message-archive-group' doesnʼt quite work like that, you have to
> build the result yourself. Try
>
> (setq gnus-message-archive-group '((list gnus-newsgroup-name
>                                            "nnml:mail.misc")))
>
> (and itʼs `gnus-newsgroup-name', not `gnus-news-group-name')
>
> Robert





  reply	other threads:[~2022-11-03 15:52 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 [this message]
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
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=87tu3gt4qc.fsf@node-1w7jr9strgjopauae3d8vyr5z.ipv6.telus.net \
    --to=wyousef@fcih.net \
    --cc=58974@debbugs.gnu.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).