From: Julien Cubizolles <j.cubizolles@free.fr>
To: ding@gnus.org
Subject: Re: choosing iso-8859-1 over utf-8 for some newsgroups
Date: Tue, 30 Dec 2014 00:11:12 +0100 [thread overview]
Message-ID: <87sifyvypb.fsf@free.fr> (raw)
In-Reply-To: <87oaqms6jc.fsf@topper.koldfront.dk>
asjo@koldfront.dk (Adam Sjøgren) writes:
> One thing to try is to temporarily configure Gnus to use iso-8859-1
> globally:
>
> (setq message-default-charset 'iso-8859-1) ;; Not sure if this is used
> (setq mm-coding-system-priorities '(iso-8859-1 utf-8))
With this setup, I can post to the group, so it's the following that's
not working
--8<---------------cut here---------------start------------->8---
(add-to-list 'gnus-newsgroup-variables 'mm-coding-system-priorities)
(setq gnus-parameters
(nconc
;; Some charsets are just examples!
'(("^proxad\\." ;; Free n'accepte pas l'utf-8
(mm-coding-system-priorities '(iso-8859-1 utf-8)))
(".*" (mm-coding-system-priorities '(utf-8))))
gnus-parameters))
--8<---------------cut here---------------end--------------->8---
I guess the ".*" was overriding the "^proxad\\." setting. I'm now using
--8<---------------cut here---------------start------------->8---
(setq mm-coding-system-priorities '(utf8))
(add-to-list 'gnus-newsgroup-variables 'mm-coding-system-priorities)
(setq gnus-parameters
(nconc
;; Some charsets are just examples!
'(("^proxad\\." ;; Free n'accepte pas l'utf-8
(mm-coding-system-priorities '(iso-8859-1 utf-8)))
;; (".*" (mm-coding-system-priorities '(utf-8)))
)
gnus-parameters))
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2014-12-29 23:11 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 [this message]
2015-01-01 6:20 ` Malcolm Purvis
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=87sifyvypb.fsf@free.fr \
--to=j.cubizolles@free.fr \
--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).