emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coding system conversion error


From: Kenichi Handa
Subject: Re: Coding system conversion error
Date: Sun, 13 Feb 2005 09:14:01 +0900 (JST)

In article <address@hidden>, "Jan D." <address@hidden> writes:

> If the multibyte string is generated by an error and this is one of the 
> places where we can detect the error, should we not keep the xassert?

address@hidden (Kim F. Storm) writes:
> I agree, but since the source of the error is in Lisp code, it would
> be more helpful to signal an error rather than abort.

I agree that signaling an error is better than xassert.

But, it seems that a function in selection-converter-alist
can return a multibyte string as long as we have a fixed
rule about how to handle it.  And "converting to a unibyte
string by string-make-unibyte" seems to be a good rule.

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]