Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: ding@gnus.org
Subject: gnus-add-to-list doesn't work for all groups
Date: Tue, 09 Oct 2012 08:55:17 +0200	[thread overview]
Message-ID: <87sj9odtii.fsf@thinkpad.tsdh.de> (raw)

Hi all,

I've set `gnus-add-to-list' via group parameters to t in all my mailing
list groups.

--8<---------------cut here---------------start------------->8---
(setq gnus-parameters
      [...]
	(,(rx "nnimap+Uni:ml/")
	 (gcc-self . "nnimap+Uni:Sent")
	 (subscribed . t)
	 (gnus-add-to-list t))
	(,(rx "nnimap+Fastmail:INBOX.mailinglists.")
	 (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")
	 (gnus-use-scoring t)
	 (subscribed . t)
	 (gnus-add-to-list t))))
--8<---------------cut here---------------end--------------->8---

What works is that in every summary buffer of a mailing list like

    nnimap+Fastmail:INBOX.mailinglists.ding
    nnimap+Fastmail:INBOX.mailinglists.emacs-devel

gnus-add-to-list's value is t.

However, whereas in the emacs-devel group above, hitting `a' already
inserts the mailing list address as To (and gnus-mailing-list-mode is
t), that doesn't happen in ding or any other group.  I remember that I
was once queried if emacs-devel@gnu.org should be added as to-list
parameter when posting to emacs-devel.  However, that didn't happen in
any other mailing list group.

Now I've grepped the Gnus source files for gnus-add-to-list, and it's
only used in `gnus-post-news'.  So I used `edebug-defun' to check why
there's no to-list parameter added although `gnus-add-to-list' it t, and
the answer is that this function isn't called at all when I send off a
mail with `C-c C-c' (`message-send-and-exit').

Any ideas what's wrong?

Bye,
Tassilo



             reply	other threads:[~2012-10-09  6:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09  6:55 Tassilo Horn [this message]
2012-10-09  7:56 ` Katsumi Yamaoka
2012-10-09  8:26   ` Tassilo Horn
2012-10-09  9:01     ` Katsumi Yamaoka
2012-10-09 10:09       ` Tassilo Horn
2012-10-09 11:02         ` Katsumi Yamaoka
2012-10-09 11:17           ` Tassilo Horn

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sj9odtii.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=ding@gnus.org \
    /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.
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 NNTP newsgroup(s).