setup_ccl_program in ccl_init_coding_stream

Aidan Kehoe kehoea at parhasard.net
Tue Jun 20 17:02:49 EDT 2006


 Ar an fichiú lá de mí Meitheamh, scríobh Jerry James: 

 > How do I reply to your messages without Gnus splitting my replies into
 > multiple parts?  

A few months ago, (setq mm-coding-system-priorities '(iso-8859-1 utf-8)) in
your ~/.xemacs/init.el would have done it. 

Unfortunately, a bug seems to have crept in since then, and I didn’t notice
because my local installation is so hacked; the below test case now gives me
iso-8859-1 , which it shouldn’t, since neither UTF-8 \xc6\x92 (U+0192) nor
UTF-8 \xe5\x8d\x97 (U+5357) can be remapped to ISO 8859-1.

(let* ((temp-buffer (generate-new-buffer "5wDxDXtyU"))
       begin end csets psets)
  (require 'latin-unity)
  (set-buffer temp-buffer)
  (insert (decode-coding-string "
>> [...] m\xc3\xb6glich 

\xc6\x92 \xe5\x8d\x97" 'utf-8))
  (setq begin (point-min)
	end (point-max)
	csets (latin-unity-representations-feasible-region begin end)
	psets (latin-unity-representations-present-region begin end))
  (latin-unity-maybe-remap begin end 'iso-8859-1 csets psets))

Stephen, have you any obvious suggestions as to where to look for the issue
here?

 > It doesn't seem to like your UTF-8 encoded stuff mixed
 > with my ASCII replies.  I tried setting the coding system of the reply
 > buffer to UTF-8, but that mangled the parts of your message that I was
 > replying to (double encoding?).  Is there some "reply to this message
 > using the coding system of the original message" function?

No; it’s not needed when the normal reply code isn’t buggy. 

 > I'm coding system illiterate.  It's about time I started learning how
 > coding systems work.

-- 
Santa Maradona, priez pour moi!




More information about the XEmacs-Beta mailing list