Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with gnus-parameters
@ 2011-11-28 19:54 Tassilo Horn
  2011-11-29  4:47 ` Katsumi Yamaoka
  0 siblings, 1 reply; 18+ messages in thread
From: Tassilo Horn @ 2011-11-28 19:54 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2012-01-07  8:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 19:54 Problem with gnus-parameters Tassilo Horn
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

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).