Subject: Re: bug#25203: 25.1; crash during message, infinite recursion

From: Eli Zaretskii <[email-masked]>
Date: Fri, 16 Dec 2016 12:48:05 +0200

> Date: Fri, 16 Dec 2016 10:08:55 +0100 (CET)
> Cc: [email-masked], [email-masked],
>  [email-masked]
> From: Werner LEMBERG <[email-masked]>
> 
> >> > In fact, any I/O that might require encoding should be completely
> >> > avoided in pre-write-conversion.
> >> 
> >> Is this documented?  If yes, I've missed it.
> > 
> > Frankly, it should be obvious: you are recursively invoking the same
> > operation that is being processed by the calling function.
> 
> Well, `cjk-coding' worked flawlessly for years.

The problem was triggered by adding the 2 'message' calls, after the
point where coding-system-for-write was bound to this coding-system.
Without those 'message' calls, cjk-coding indeed should still work
flawlessly.

> > Any reasons not to close this bug report, now that all of its
> > aspects have been addressed?
> 
> Yes, please do.

Done.