Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: mm-coding-system-priorities (was: charset=macintosh)
Date: Tue, 01 Apr 2003 19:51:12 +0200	[thread overview]
Message-ID: <v965pyw1gv.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <ilu1y1j5917.fsf@latte.josefsson.org>

On Fri, Mar 07 2003, Simon Josefsson wrote:

> The reason Emacs doesn't list UTF-8 higher than macintosh is,
> supposedly, that the UTF-8 support is not complete.  Once it is
> complete, the emacs maintainers will probably change the preference
> ordering.

Apparently it has already been changed in Emacs 21.3, see below.

> Fortunately it is easy to override the priorities within Gnus:
>  '(mm-coding-system-priorities (quote (iso-latin-1 iso-latin-9 utf-8)))
>
> Hm.  The UTF-8 discussion in Emacs 21.2 PROBLEMS is not present in
> Emacs 21.3 prerelease, so perhaps it has been fixed.  I'll ask on
> emacs-devel whether utf-8 should be preferred over mac-roman.

Sample text: “quotes”

With Emacs 21.3.1 and current Oort [1] I get (in mml-preview):

,----
| (setq mm-coding-system-priorities nil)
| ==> charset=utf-8
| 
| (setq mm-coding-system-priorities '(macintosh utf-8))
| ==> charset=utf-8
| 
| (setq mm-coding-system-priorities '(mac-roman utf-8))
| ==> charset=macintosh
`----

Adding windows-1252 [2] gives:

,----
| (setq mm-coding-system-priorities nil)
| ==> charset=utf-8
| 
| (setq mm-coding-system-priorities '(windows-1252 macintosh utf-8))
| ==> charset=windows-1252
| 
| (setq mm-coding-system-priorities '(utf-8 macintosh windows-1252))
| ==> charset=windows-1252
| 
| (setq mm-coding-system-priorities '(mule-utf-8 windows-1252))
| ==> charset=utf-8
`----

Apparently, we need to write `mule-utf-8' and `mac-roman' instead of
`utf-8' and `macintosh', respectively.

,----[ C-h v mm-coding-system-priorities RET ]
| mm-coding-system-priorities's value is nil
| 
| Documentation:
| Preferred coding systems for encoding outgoing mails.
`----

So `mm-coding-system-priorities' expects an Emacs coding system and
not a MIME charset.  But OTOH...

,----[ M-x describe-coding-system utf-8 RET ]
| u -- utf-8 (alias of mule-utf-8)
`----

Hm, does it even expect the original name of the coding-system and
*not* an alias?  If so, I think this should be made more clear in the
documentation.

Bye, Reiner.

[1] Oort Gnus v0.18
In GNU Emacs 21.3.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
configured using `configure  --prefix=/soft/local/upp/emacs'
Important settings:
  value of $LC_CTYPE: en_US.ISO_8859-1
  value of $LANG: C
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

[2] http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/gnus/rs-windows-1252.el
(require 'rs-windows-1252)
(rs-use-windows-1252)

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




  parent reply	other threads:[~2003-04-01 17:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 17:39 charset=macintosh Karl Eichwalder
2003-03-07 18:25 ` charset=macintosh Simon Josefsson
2003-03-07 19:30   ` charset=macintosh Karl Eichwalder
2003-03-07 19:45     ` charset=macintosh Jesper Harder
2003-03-07 20:40       ` charset=macintosh Karl Eichwalder
2003-03-07 23:05         ` charset=macintosh Jesper Harder
2003-03-08 14:47           ` charset=macintosh Kai Großjohann
2003-03-08 15:47             ` charset=macintosh Jorge Godoy
2003-03-08 15:55               ` charset=macintosh Simon Josefsson
2003-03-08 19:52                 ` charset=macintosh Jesper Harder
2003-03-08 20:09                   ` charset=macintosh Simon Josefsson
2003-03-08 16:00               ` charset=macintosh Kai Großjohann
2003-03-08 16:47             ` charset=macintosh Frank Schmitt
2003-03-08 19:44               ` charset=macintosh Simon Josefsson
2003-03-08 19:47             ` charset=macintosh Jesper Harder
2003-03-08 20:17               ` charset=macintosh Simon Josefsson
2003-03-09  3:56                 ` charset=macintosh Jesper Harder
2003-03-09 11:48                   ` charset=macintosh Simon Josefsson
2003-03-14 23:02                     ` charset=macintosh Jesper Harder
2003-03-07 19:47     ` charset=macintosh Simon Josefsson
2003-03-07 21:02   ` charset=macintosh Karl Eichwalder
2003-03-07 21:24     ` charset=macintosh Simon Josefsson
2003-04-01 17:51   ` Reiner Steib [this message]
2003-04-12 19:53     ` mm-coding-system-priorities Lars Magne Ingebrigtsen
2003-04-13 20:44       ` mm-coding-system-priorities Reiner Steib
2003-04-15 21:54         ` mm-coding-system-priorities Lars Magne Ingebrigtsen
2003-03-08  2:39 ` TeX input method? (Was: charset=macintosh) Jinhyok Heo
2003-03-08  6:33   ` TeX input method? Karl Eichwalder

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=v965pyw1gv.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=reiner.steib@gmx.de \
    /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).