Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: Problem with gnus-parameters
Date: Mon, 28 Nov 2011 20:54:19 +0100	[thread overview]
Message-ID: <878vn0c9as.fsf@thinkpad.tsdh.de> (raw)

Hi all,

this is the value of my `gnus-parameters':

--8<---------------cut here---------------start------------->8---
(setq gnus-parameters
      `((,(rx "nnimap+")
	 (gnus-use-scoring nil)
	 (gcc-self . t))
	;; Mailing List exceptions
	(,(rx "nnimap+Uni:ml/")
	 (gcc-self . "nnimap+Uni:Sent"))
	(,(rx "nnimap+Fastmail:INBOX.mailinglists.")
	 (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")
	 (gnus-use-scoring t))))
--8<---------------cut here---------------end--------------->8---

In all my IMAP groups scoring is turned off, except for the groups below
nnimap+Fastmail:INBOX.mailinglists.  Similarly, in all my IMAP groups a
Gcc header to the current group is added, except for the mailing list
groups below nnimap+Uni:ml/ and nnimap+Fastmail:INBOX.mailinglists,
where the sent mail folders specified above are inserted as Gcc.  This
suggests that the `gnus-parameters' are applied with the same semantics
as `gnus-posting-styles':

,----[ (info "(gnus)Posting Styles") ]
| Each style will be applicable if the first element "matches", in some
| form or other.  The entire alist will be iterated over, from the
| beginning towards the end, and each match will be applied, which means
| that attributes in later styles that match override the same
| attributes in earlier matching styles.
`----

However, now I added some parameters for setting the `expiry-target', so
that when marking an article with `E', it gets moved to that account's
trash folder.

--8<---------------cut here---------------start------------->8---
(setq gnus-parameters
      `((,(rx "nnimap+")
	 (gnus-use-scoring nil)
	 (gcc-self . t))

	;; Where to expire
	(,(rx "nnimap+Uni:")
	 (expiry-target . "nnimap+Uni:Trash"))
	(,(rx "nnimap+Fastmail:")
	 (expiry-target . "nnimap+Fastmail:INBOX.Trash"))
	(,(rx "nnimap+Gmail:")
	 (expiry-target . "nnimap+Gmail:[Google Mail]/Trash"))

	;; Mailing List exceptions
	(,(rx "nnimap+Uni:ml/")
	 (gcc-self . "nnimap+Uni:Sent"))
	(,(rx "nnimap+Fastmail:INBOX.mailinglists.")
	 (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")
	 (gnus-use-scoring t))))
--8<---------------cut here---------------end--------------->8---

The expected result is that everything concerning gcc-self and scoring
stays as it was before, and that I have an account specific
expiry-target.

But the actual result is that scoring and expiry-target are set as
intended, but the gcc-self setting is disregarded for all groups that
are not below nnimap+Uni:ml or nnimap+Fastmail:INBOX.mailinglists, i.e.,
I don't get a Gcc header to the current group but to my
`gnus-message-archive-group'.

Why is that?  And should that behavior be considered a bug?

I've just remembered that I've brought up a related issue about 5 years
ago: http://thread.gmane.org/gmane.emacs.gnus.general/64171

Bye,
Tassilo



             reply	other threads:[~2011-11-28 19:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 19:54 Tassilo Horn [this message]
2011-11-29  4:47 ` Katsumi Yamaoka
2011-11-29  8:37   ` Tassilo Horn
2012-01-03 21:15     ` Lars Magne Ingebrigtsen
2012-01-04  7:33       ` Tassilo Horn
2012-01-04 20:03         ` Lars Magne Ingebrigtsen
2012-01-05 10:00           ` Tassilo Horn
2012-01-06 20:41             ` Lars Magne Ingebrigtsen
2012-01-06 20:43               ` Lars Magne Ingebrigtsen
2012-01-06 22:27                 ` Tassilo Horn
2012-01-06 22:44                   ` Lars Magne Ingebrigtsen
2012-01-06 22:52                     ` Tassilo Horn
2012-01-06 23:13                       ` Lars Magne Ingebrigtsen
2012-01-06 23:37                         ` Tassilo Horn
2012-01-07  0:36                           ` Lars Magne Ingebrigtsen
2012-01-07  8:08                             ` Tassilo Horn
2012-01-06 22:20               ` Tassilo Horn
2012-01-06 22:31                 ` Lars Magne Ingebrigtsen

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=878vn0c9as.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.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).