[Q] Prevent infinite recursion with undecided coding system
Aidan Kehoe
kehoea at parhasard.net
Wed Aug 1 06:36:34 EDT 2007
Ar an chéad lá de mí Lúnasa, scríobh Michael Sperber:
> "Stephen J. Turnbull" <stephen at xemacs.org> writes:
>
> > QUERY
> >
> > Michael Sperber writes:
> >
> > > + data->actual = Fget_coding_system (Qraw_text);
> >
> > Shouldn't this be Qbinary? (IIRC Qraw_text does EOL detection.)
>
> I don't know: I took the default that's also in detected_coding_system.
> Better expertise welcome!
It looks like Qbinary would be more correct in both places, but then
handling code will be more ready to deal with Qraw_text, since it can return
that already. Do you have a test case that provokes the recursion, Mike?
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
More information about the XEmacs-Patches
mailing list