From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52263: Stale comment in xsd-regexp.el about Emacs not supporting Unicode Date: Fri, 03 Dec 2021 21:27:11 +0200 Message-ID: <83r1at7als.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18871"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52263@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 03 20:28:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtEE7-0004ev-9R for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 20:28:11 +0100 Original-Received: from localhost ([::1]:43580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtEE5-00059S-JY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 14:28:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtEDy-000594-7y for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 14:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtEDx-0001il-WE for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 14:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtEDx-0000w5-QG for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 14:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Dec 2021 19:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52263 X-GNU-PR-Package: emacs Original-Received: via spool by 52263-submit@debbugs.gnu.org id=B52263.16385596503554 (code B ref 52263); Fri, 03 Dec 2021 19:28:01 +0000 Original-Received: (at 52263) by debbugs.gnu.org; 3 Dec 2021 19:27:30 +0000 Original-Received: from localhost ([127.0.0.1]:52240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtEDS-0000vG-6N for submit@debbugs.gnu.org; Fri, 03 Dec 2021 14:27:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtEDO-0000uz-Mb for 52263@debbugs.gnu.org; Fri, 03 Dec 2021 14:27:29 -0500 Original-Received: from [2001:470:142:3::e] (port=47604 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtEDJ-0001eE-8s; Fri, 03 Dec 2021 14:27:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QGOLJRT49mXPZvD/AENnbKJgGgHx4tZbFmSZ+EzboAE=; b=etK/22C8Ag/J LCMhUPzQzNkcbWZm0wnQt/EPi2oDBM6/jbIwRbBUIeUktKdNPjhThQpESmcPMfYowIB3tb0YICG7S L5mt2g0oBBiL42zuMhNWSOTIpjb9YRUJH9MRxqyzMHPsAyyG/1c9QScReHFQ+65NiZ6l6ArZ9PSZb N78Rd1QgRFnurj/U9mNyKOj0oagGe6s5deJAnKvSaoJdPKM860hTyUKCQ8AJJZno/1iDPpufjj7/B KwB/88O+iFPefrvoKOrCffCyJqcIWLy+I4xEYmMz4pIqVB2i5vbwdbSjswf9m6vhxdu3GT8t3esgp rLatD/zdKnFXYt2fXmLluA==; Original-Received: from [87.69.77.57] (port=1717 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtEDJ-0003YC-1W; Fri, 03 Dec 2021 14:27:21 -0500 In-Reply-To: (message from Stefan Kangas on Fri, 3 Dec 2021 10:37:10 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221412 Archived-At: > From: Stefan Kangas > Date: Fri, 3 Dec 2021 10:37:10 -0800 > > I believe this comment in lisp/nxml/xsd-regexp.el can be removed as > Emacs supports Unicode now: > > ;; The semantics of XSD regexps are defined in terms of Unicode. > ;; Non-Unicode characters are not allowed in regular expressions and > ;; will not match against the generated regular expressions. A > ;; Unicode character means a character in one of the Mule charsets > ;; ascii, latin-iso8859-1, mule-unicode-0100-24ff, > ;; mule-unicode-2500-33ff, mule-unicode-e000-ffff, eight-bit-control > ;; or a character translatable to such a character (i.e a character > ;; for which `encode-char' will return non-nil). > ;; > ;; Unfortunately, this means that this package is currently useless > ;; for CJK characters, since there's no mule-unicode charset for the > ;; CJK ranges of Unicode. We should devise a workaround for this > ;; until the fabled Unicode version of Emacs makes an appearance. > > Is that correct? Probably. The mule-Unicode-* stuff is definitely obsolete. The only thing that bothers me is what happens with eight-bit characters in the XSD regexps -- are they allowed? Emacs in general does allow them. If xsd-regexp.el doesn't, that should be stated there.