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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 31 Dec 2010 15:19:05 +0200

> Date: Fri, 31 Dec 2010 14:10:45 +0100
> From: Jan Djärv <[email-masked]>
> CC: [email-masked], [email-masked], [email-masked], 
>  [email-masked], [email-masked]
> 
> > Some bad interaction between VM and Emacs?
> 
> That may be, but I was under the impression that Emacs internally should use 
> unicode, so why is it even allowed to set such a buffer name?  Shouldn't Emacs 
> internals complain when given such strings, or convert them (if charset info 
> is available)?

Probably, but more information is needed.  Did you already find the
place where this string is used to create a buffer?  If so, can you
show me that place, and explain what sequence of calls led to it?

> Is setting buffer name with a non-ascii unibyte string considered as a bug? 

Yes, I think so.  Emacs should never use unibyte strings for buffer
names.