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#58992: 28.2; "lax space matching" no longer works Date: Fri, 04 Nov 2022 13:45:35 +0200 Message-ID: <83k04b54f4.fsf@gnu.org> References: <87tu3gasjn.fsf@zira.vinc17.org> <83iljw6kbk.fsf@gnu.org> <20221103172157.GB9807@zira.vinc17.org> <83h6zf7w53.fsf@gnu.org> <20221104033038.GK9807@zira.vinc17.org> <83v8nv5gnz.fsf@gnu.org> <20221104101513.GM9807@zira.vinc17.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1699"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58992@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 04 12:47:41 2022 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 1oqvAi-0000Cl-KW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Nov 2022 12:47:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqvAP-0001nY-2T; Fri, 04 Nov 2022 07:47:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqvA9-0001iN-25 for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 07:47:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqvA7-0001al-OK for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 07:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqvA6-0001YG-0J for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 07:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2022 11:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58992 X-GNU-PR-Package: emacs Original-Received: via spool by 58992-submit@debbugs.gnu.org id=B58992.16675623795900 (code B ref 58992); Fri, 04 Nov 2022 11:47:01 +0000 Original-Received: (at 58992) by debbugs.gnu.org; 4 Nov 2022 11:46:19 +0000 Original-Received: from localhost ([127.0.0.1]:51958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqv9P-0001X5-03 for submit@debbugs.gnu.org; Fri, 04 Nov 2022 07:46:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqv9J-0001Wp-Uk for 58992@debbugs.gnu.org; Fri, 04 Nov 2022 07:46:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqv9E-0001Tg-KF; Fri, 04 Nov 2022 07:46:08 -0400 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=4G9EH8/Xrk+/YgNtvVC0MyKaOz/cOaZDMMpkIk4yLnU=; b=fzKerG8fCNUd FhbTmRPZ5+/fHnygweELbFZFjJK1dU//qoQsdqlpbwsdIEZCv2E1NxYYQ3hMQt6g6i3dywRxSadaE iKxz/uZzpdq2n/KfSMDw3zBBkwOTVeRcJnzyuVBB/zg66/uJEU1k4qdPvwDNG11VX2BATEoVpk9Tw OOTLNrJIVeXG5mD/ocqe8ceKLLkFZv0YZXuiWgxOGM1Jdj3SaTQq/05ao0cpCpvXozwGOY9Ti0OCR YidZPkzBx/5/tYj38QrvOMSvLmcrZsPseFKykYYFD6OutigxsiBAeXT84lZpfghqgTXi3oxtpNnR+ ktvhlDi2mbburVoSX74v2A==; Original-Received: from [87.69.77.57] (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 1oqv8m-0001kT-Jo; Fri, 04 Nov 2022 07:45:55 -0400 In-Reply-To: <20221104101513.GM9807@zira.vinc17.org> (message from Vincent Lefevre on Fri, 4 Nov 2022 11:15:13 +0100) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247066 Archived-At: > Date: Fri, 4 Nov 2022 11:15:13 +0100 > From: Vincent Lefevre > Cc: 58992@debbugs.gnu.org > > > > The [[:space:]\n]+ in the doc is misleading. Since a newline character > > > is a whitespace, [[:space:]]+ is sufficient. > > > > That is only true in major modes where the newline has the > > "whitespace" syntax, see the description of [:space:] in the ELisp > > manual. I guess you tried this in Fundamental mode or somesuch? > > Wow! This is really confusing! [:space:] is defined by POSIX, and the > manual even refers to it: > > A character alternative can also specify named character classes > (*note Char Classes::). This is a POSIX feature. [...] > > You must not change its behavior! Making it depend on the major mode > is even worse. Too late for such changes, sorry. Emacs interprets [:space:] like that since at least Emacs 22, if not before.