From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#17758: 24.3; The line isn't wrapped during printing if it contains non ascii chars Date: Sat, 29 May 2021 10:09:27 +0200 Message-ID: References: <877g4nm9c1.fsf@leo-kub-port.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28641"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , Eli Zaretskii , Kenichi Handa , 17758@debbugs.gnu.org, tobias.bora@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 29 10:10:21 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 1lmu31-0007DS-IE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 May 2021 10:10:19 +0200 Original-Received: from localhost ([::1]:51624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmu30-0004rf-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 May 2021 04:10:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmu2k-0004rV-KJ for bug-gnu-emacs@gnu.org; Sat, 29 May 2021 04:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmu2k-0007mS-Cn for bug-gnu-emacs@gnu.org; Sat, 29 May 2021 04:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmu2k-0006Ql-6z for bug-gnu-emacs@gnu.org; Sat, 29 May 2021 04:10:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <877g4nm9c1.fsf@leo-kub-port.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 May 2021 08:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17758 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 17758-submit@debbugs.gnu.org id=B17758.162227577524681 (code B ref 17758); Sat, 29 May 2021 08:10:02 +0000 Original-Received: (at 17758) by debbugs.gnu.org; 29 May 2021 08:09:35 +0000 Original-Received: from localhost ([127.0.0.1]:55914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmu2J-0006Q1-8V for submit@debbugs.gnu.org; Sat, 29 May 2021 04:09:35 -0400 Original-Received: from mail238c50.megamailservers.eu ([91.136.10.248]:57684 helo=mail56c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmu2G-0006Pp-FY for 17758@debbugs.gnu.org; Sat, 29 May 2021 04:09:34 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1622275770; bh=nC1Zro9jMK2ToSKNkXIbxaWaD+hRxQpBZraAvOJcS1M=; h=From:Subject:Date:To:From; b=R+EXZcO+GQCK5zHLIvfhRMb51ZKhLMq8UhTgaH7UDsEYfkmPHOn1EdHC8XMCwtdRq QcpKYnTS0hqJ8pc8AWACrSuNnoQcqXvXVoMEVAYNMruCUD3g5s9fXSVn/DrETZ7P1V ScapucrfOC1Munet3bU9VeAknIA6eDHrYl3q0DXQ= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.0.4] (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail56c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14T89SSH022200; Sat, 29 May 2021 08:09:29 +0000 X-Mailer: Apple Mail (2.3445.104.21) X-CTCH-RefID: str=0001.0A742F20.60B1F6BA.001E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=F5gpiZpN c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=z_tcjhbeOgKW2fEr:21 a=IkcTkHD0fZMA:10 a=M51BFTxLslgA:10 a=LfzFSl_Nbl5PrKXpybwA:9 a=QEXdDO2ut3YA:10 a=WUbes24SrAeeV1Whj9rA:22 X-Origin-Country: SE 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:207515 Archived-At: > (string-match "^[\000-=C3=BF]+" "=C3=A9foo") > =3D> 0 >=20 > (string-match "^[\000-\377]+" "=C3=A9foo") > =3D> nil Yes, this is by design. The former is the range U+0000..U+00FF and = covers Latin-1. The latter covers ASCII and raw bytes, but no non-ASCII = Unicode characters. It is what we get when one interval endpoint is ASCII and the other a = raw byte; it is mainly intended for regexp matching in unibyte text. = Since the Emacs multibyte encoding puts the raw bytes 80..FF at the very = end of the character numbering, [\000-\377] would include every Unicode = character (which would be very surprising) if we didn't have this = mechanism.