Gnus development mailing list
 help / color / mirror / Atom feed
From: Malcolm Purvis <malcolmp@xemacs.org>
To: ding@gnus.org
Subject: Re: choosing iso-8859-1 over utf-8 for some newsgroups
Date: Thu, 01 Jan 2015 17:20:46 +1100	[thread overview]
Message-ID: <m2vbkrauo1.fsf@xemacs.org> (raw)
In-Reply-To: <87sifyvypb.fsf@free.fr> (Julien Cubizolles's message of "Tue, 30 Dec 2014 00:11:12 +0100")

>>>>> "Julien" == Julien Cubizolles <j.cubizolles@free.fr> writes:

Julien> (add-to-list 'gnus-newsgroup-variables
Julien> 'mm-coding-system-priorities) (setq gnus-parameters
Julien>       (nconc
Julien>        ;; Some charsets are just examples!
Julien>        '(("^proxad\\." ;; Free n'accepte pas l'utf-8
Julien>           (mm-coding-system-priorities '(iso-8859-1 utf-8)))
Julien> 	 (".*" (mm-coding-system-priorities '(utf-8))))
Julien>        gnus-parameters))


Julien> I guess the ".*" was overriding the "^proxad\\." setting.

The clauses in gnus-parameters are searched from first to last, so this
is the expected behaviour.  The info page for  gnus-parameters says:

   All clauses that matches the group name will be used, but the last
   setting “wins”.  So if you have two clauses that both match the group
   name, and both set, say ‘display’, the last setting will override the
   first.

Malcolm

-- 
		     Malcolm Purvis <malcolmp@xemacs.org>



      reply	other threads:[~2015-01-01  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29 16:21 Julien Cubizolles
2014-12-29 17:35 ` Adam Sjøgren
2014-12-29 23:11   ` Julien Cubizolles
2015-01-01  6:20     ` Malcolm Purvis [this message]

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=m2vbkrauo1.fsf@xemacs.org \
    --to=malcolmp@xemacs.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).