Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X

From: Jan Djärv <[email-masked]>
Date: Fri, 31 Dec 2010 19:57:11 +0100

Eli Zaretskii skrev 2010-12-31 17.07:
>> Date: Fri, 31 Dec 2010 15:22:56 +0100
>> From: Jan Djärv<[email-masked]>
>> CC: [email-masked], [email-masked], [email-masked],
>>   [email-masked], [email-masked]
>>
>>                       (generate-new-buffer
>>                        (format "edit of %s's note re: %s"
>>                                (vm-su-full-name (car vm-message-pointer))
>>                                (vm-su-subject (car vm-message-pointer)))))
>
> So I guess VM holds the message in its undecoded (external) format?
> If so, it should do this:
>
>                        (format "edit of %s's note re: %s"
>                                (decode-coding-string
>                                  (vm-su-full-name (car vm-message-pointer))
>                                  SOMETHING)
>                                (decode-coding-string
>                                  (vm-su-subject (car vm-message-pointer))
>                                  SOMETHING))
>
> Quite what to use for SOMETHING depends on whether VM knows the
> encoding of the message.  If it does, it should use that; otherwise
> using `undecided' should DTRT in most cases.
>

But not in this case.  The given string is not decoded right with undecided. 
detect-coding-string doesn't list iso-8859-8.  I think choosing between 
iso-8859-x is difficult.  Still, VM should know the coding used.

	Jan D.