--- On Thu, 1/12/11, Werner LEMBERG <w...@gnu.org> wrote:

> > I think I have some idea - cemacs (the little lisp
> code that runs on
> > top of cxterm which does chinese
> word-breakings/advancements, etc)
> > also broke with emacs 23. One of the major changes in
> emacs 23 is
> > that it does things in utf8 encoding inside now,
> instead of mule.
> 
> AFAIK, this is not the problem with cjk-enc.el.  I
> suspect a buglet
> somewhere (either on my side or a problem in emacs
> directly) which
> prevents correct execution of `cjk-encode'.
> 
> Attached is a patch which should update cjk-enc.el for
> emacs 23 and
> newer.  Maybe it helps.

I never used cjk-enc.el, actually... I mentioned cemacs.el earlier (orphaned - 
it seems that I am the only one interested in it for many years
anyway). The changes in emacs 23 is quite major - somebody has been working on 
converting all the internals into unicode for a few years and the changes got 
merged for emacs 23. I looked it up from emacs's git - that's before I found 
out that cemacs.el is no longer needed as emacs 23 itself pretty much does 
okay, if you set your LANG/ENCODING environment variables correctly.

> BTW, if you have UTF8 input, simply use CJKutf8.sty :-)

Yes, I am using that. That's a curious thing - I switched to it, when some 
other part of the document (containing some french diacritics) choked. The 
curious thing is that the french bits are outside any \begin{CJK}\end{CJK}, so 
it is probably a bug of some sort if \usepackage{CJK} affects part of the 
documents which are outside \begin{CJK}\end{CJK} blocks?

> > When was the last version of emacs against which
> cjk-enc.el that
> > worked?
> 
> Emacs 22.

Argh. Have you tried git-bisect? It is rather useful for most things in the 
general category of 'it used to work but not anymore'. I did look into what 
broke cemacs.el via git-bisect (still have the whole of emacs's git repository 
clone somewhere), but it got rather confused around the the unicode merge, 
which happened over some 5 commits or something but the reversion history of 
emacs around those are a bit of a mess.

_______________________________________________
Cjk maillist  -  Cjk@ffii.org
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to