Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Katsumi Yamaoka <yamaoka@jpl.org>,  ding@gnus.org
Subject: Re: Problem with gnus-parameters
Date: Thu, 05 Jan 2012 11:00:25 +0100	[thread overview]
Message-ID: <87ty4ajwp2.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <m3sjjvqlpb.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 04 Jan 2012 21:03:44 +0100")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

Hi Lars,

>> I can live with the current situation.  It's just that I think it's
>> not obvious, and it's not documented.
>
> I've now documented it.

You mean this?

,----[ (info "(gnus)Group Parameters") ]
|    The first clause that matches the group name will be used.
`----

That's actually not true.  In fact, if that was true, then the example
above that sentence would contain "dead code" because "mail\\.me" could
never match because the first clause always wins.

In the current situation, the *last* matching clause defines the group
parameters, and group parameters of previous matches are discarded.  For
group local variables, *all* matching clauses contribute to the final
values, i.e., here we have a cumulative approach (equal to posting
styles), where a latter clause may add to or even override previous
settings.  (I consider this a major advantage.)

That's exactly what I've complained about: the differences in the
evaluation strategy of similar items in the same alist.  Furthermore,
since group local variables in gnus-parameters are handled exactly as
gnus-posting-styles, I don't see a reason why group parameters are
treated as an exception.

If there are technical reasons, that's fine with me.  I can live with
it.  So, please fill in this form:

  - [ ] It'll stay as-is because of reason ________________________.

  - [ ] Oh, I didn't notice it's that awkward.  I'll fix it in a way
        that ______________________________________________________.

In any case, I happily volunteer to clarify the docs.

Bye,
Tassilo



  reply	other threads:[~2012-01-05 10:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 19:54 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 [this message]
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=87ty4ajwp2.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.org \
    --cc=yamaoka@jpl.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).