all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Misformatted replies to UTF-8 messages
Date: Mon, 25 Feb 2002 13:08:01 -0500	[thread overview]
Message-ID: <2n1yf9ph8e.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: <Pine.SUN.3.91.1020225181644.5585C-100000@is> (Eli Zaretskii's message of "Mon, 25 Feb 2002 18:21:55 +0200 (IST)")

Eli Zaretskii <eliz@is.elta.co.il> 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


  reply	other threads:[~2002-02-25 18:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25 13:38 Misformatted replies to UTF-8 messages ShengHuo ZHU
2002-02-25 16:21 ` Eli Zaretskii
2002-02-25 18:08   ` ShengHuo ZHU [this message]
2002-02-25 19:41     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2n1yf9ph8e.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.