From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.devel Subject: Re: Misformatted replies to UTF-8 messages Date: Mon, 25 Feb 2002 13:08:01 -0500 Message-ID: <2n1yf9ph8e.fsf@zsh.cs.rochester.edu> References: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014660762 21903 195.204.10.66 (25 Feb 2002 18:12:42 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 25 Feb 2002 18:12:42 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16fPc9-0005hB-00 for ; Mon, 25 Feb 2002 19:12:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16fPZ5-0000l4-00; Mon, 25 Feb 2002 13:09:31 -0500 Original-Received: from zsh.cs.rochester.edu ([192.5.53.126] helo=zsh.2y.net) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16fPXp-0000VZ-00 for ; Mon, 25 Feb 2002 13:08:13 -0500 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g1PI81t12297; Mon, 25 Feb 2002 13:08:01 -0500 Original-To: Eli Zaretskii X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Eli Zaretskii's message of "Mon, 25 Feb 2002 18:21:55 +0200 (IST)") Original-Lines: 39 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1530 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1530 Eli Zaretskii writes: > This is off the top of my head, before I had time to step through the > code. > > On Mon, 25 Feb 2002, ShengHuo ZHU wrote: > >> I received a bug report in Emacs 21.1.95 which is because >> find-coding-systems-region prefer ctext-no-compositions to mule-utf-8, >> e.g. the following lines return ctext-no-compositions. >> >> (car (find-coding-systems-string >> (concat (char-to-string 2276) (char-to-string 2367)))) > > Why is this regarded as a bug? UTF-8 is generally very low on the > priority list of the possible encodings, so IIRC the user needs to invoke > prefer-coding-system to get UTF. If she doesn't, almost any other > encoding will be preferred to UTF-8. Because I saw it before in the Emacs main branch and later it returns mule-utf-8. > Is this some language environment that is already supposed to prefer > UTF-8? If so, could the user who saw the problem please submit a full > bug report with the necessary info supplied by "M-x report-emacs-bug"? I've asked the user to submit the bug report. >> I think it has been fixed in the main branch. Could the fix be ported >> to EMACS_21_1_RC? > > If the problem doesn't exist in CVS head, it's by sheer luck, because > IIRC the definition of ctext-no-compositions is identical in both > branches. But the definition of utf-8 is changed, probably in Dave Love's 2001-12-18, -15, -07 changes. ShengHuo _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel