From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33205: 26.1; unibyte/multibyte missing in rx.el Date: Wed, 31 Oct 2018 17:55:08 +0200 Message-ID: <83wopyi00z.fsf@gnu.org> References: <83pnvrjqec.fsf@gnu.org> <160755c702f9b4dfc80be8b5664eb3919804bb84.camel@acm.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541001255 14124 195.159.176.226 (31 Oct 2018 15:54:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2018 15:54:15 +0000 (UTC) Cc: 33205@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 16:54:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHsoo-0003WN-Sc for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2018 16:54:06 +0100 Original-Received: from localhost ([::1]:60306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHsqv-0005PH-6n for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2018 11:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHsql-0005Ny-1Z for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2018 11:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHsqf-0000FN-Vf for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2018 11:56:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHsqf-0000F7-Qw for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2018 11:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHsqf-0003yx-LK for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2018 11:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2018 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33205-submit@debbugs.gnu.org id=B33205.154100133115272 (code B ref 33205); Wed, 31 Oct 2018 15:56:01 +0000 Original-Received: (at 33205) by debbugs.gnu.org; 31 Oct 2018 15:55:31 +0000 Original-Received: from localhost ([127.0.0.1]:57399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHsqA-0003yG-Ng for submit@debbugs.gnu.org; Wed, 31 Oct 2018 11:55:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHsq8-0003y2-Dt for 33205@debbugs.gnu.org; Wed, 31 Oct 2018 11:55:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHspv-0007ot-EJ for 33205@debbugs.gnu.org; Wed, 31 Oct 2018 11:55:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHspu-0007o9-GZ; Wed, 31 Oct 2018 11:55:14 -0400 Original-Received: from [176.228.60.248] (port=4894 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gHspt-0004Af-2b; Wed, 31 Oct 2018 11:55:14 -0400 In-reply-to: <160755c702f9b4dfc80be8b5664eb3919804bb84.camel@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Wed, 31 Oct 2018 16:27:53 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151864 Archived-At: > From: Mattias EngdegÄrd > Cc: 33205@debbugs.gnu.org > Date: Wed, 31 Oct 2018 16:27:53 +0100 > > tis 2018-10-30 klockan 19:27 +0200 skrev Eli Zaretskii: > > I think it's a documentation bug: [:unibyte:] matches only ASCII > > characters. IOW, it tests "unibyteness" in the internal > > representation (which might be surprising, I know). > > > > And [:nonascii:] is only defined for multibyte characters. > > Thus [:ascii:]/[:nonascii:] cannot be distinguished from > [:unibyte:]/[:multibyte:]. Surely this cannot have been the intention? I actually looked into this some more, and I think my original conclusion was wrong. Let me dwell on that a bit more, and I will report what I found. We can then revisit the questions you ask above. > Taking a step back: Do you agree that the missing unibyte/multibyte > should be added to rx I think it depends on what we find regarding the functionality. It's possible that it makes no real sense in the context of rx, for example (although it indeed sounds like an omission). > If there is a useful interpretation of [:unibyte:]/[:multibyte:] today, > perhaps we could make them behave that way. Right. Stay tuned, and thanks for pointing out this surprising behavior.