[Q] Prevent infinite recursion with undecided coding system

Aidan Kehoe kehoea at parhasard.net
Thu Aug 2 05:35:45 EDT 2007


 Ar an chéad lá de mí Lúnasa, scríobh Stephen J. Turnbull: 

 > Aidan Kehoe writes:
 > 
 >  > 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.
 > 
 > I don't understand this comment.  This function can already return
 > Qbinary, no?

Right, if the coding cookie specifies that, for example. But
detected_coding_system returns Qraw_text on no match, as Michael says, and
in the context of ‘no match’ that will be a little more expected. My comment
was unclear to the extent that it was wrong.

-- 
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