From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 17 01:04:16 2015 Received: (at submit) by debbugs.gnu.org; 17 Aug 2015 05:04:16 +0000 Received: from localhost ([127.0.0.1]:57858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRCal-00029H-ID for submit@debbugs.gnu.org; Mon, 17 Aug 2015 01:04:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36310) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRCaj-000290-7E for submit@debbugs.gnu.org; Mon, 17 Aug 2015 01:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRCah-00059E-Ut for submit@debbugs.gnu.org; Mon, 17 Aug 2015 01:04:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRCah-00059A-SS for submit@debbugs.gnu.org; Mon, 17 Aug 2015 01:04:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRCag-0000Yg-IQ for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 01:04:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRCaf-00057s-9Q for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 01:04:10 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRCaf-00057i-6q for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 01:04:09 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZRCae-0000jE-NB; Mon, 17 Aug 2015 01:04:08 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: bug-gnu-emacs@gnu.org Subject: 25.0.50; char-fold search is a screw, and I can't see how to disable Message-Id: Date: Mon, 17 Aug 2015 01:04:08 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) It is a screw that char-fold isearch treats space and NL as equivalent. They do not look alike. Please disconnect them. In GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.23) of 2015-08-12 on freetop Repository revision: 79a169684dfad2c0bbb9fdbae539c1f30d9f0ac3 System Description: Trisquel GNU/Linux 7.0, Belenos Configured using: `configure 'CFLAGS=-g -O0'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t gpm-mouse-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Mark set Mark saved where search started [7 times] Quit Type C-x 1 to delete the help window, C-M-v to scroll help. Mark saved where search started [2 times] Auto-saving... Mark saved where search started Making completion list... Quit C-x 4 C-g is undefined Load-path shadows: None found. Features: (eieio-opt speedbar sb-image ezimage dframe find-func novice vc vc-dispatcher vc-git bug-reference add-log pp shadow emacsbug parse-time vc-cvs etags thingatpt xref project cal-move cal-menu calendar cal-loaddefs wid-edit battery sgml-mode epa-file rmailkwd ispell epa-mail epa derived epg diff-mode easy-mmode diff dired-aux sh-script smie executable quail rmailsum conf-mode rmailout shr-color color url-util url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra seq cconv eieio-core cl-macs gv gnus-util password-cache url-vars shr dom subr-x browse-url misearch multi-isearch dabbrev shell pcomplete grep compile comint ansi-color ring mailalias qp rmailmm message sendmail format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode cl-loaddefs pcase cl-lib mail-prsvr mail-utils dired t-mouse view time-date paren cus-start cus-load advice finder-inf package easymenu epg-config mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 387608 101135) (symbols 24 28231 3) (miscs 20 5511 4232) (strings 16 51815 17926) (string-bytes 1 1899171) (vectors 8 31455) (vector-slots 4 1538023 39042) (floats 8 453 880) (intervals 28 70732 2674) (buffers 520 156) (heap 1024 23258 2927)) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 17 02:56:34 2015 Received: (at control) by debbugs.gnu.org; 17 Aug 2015 06:56:34 +0000 Received: from localhost ([127.0.0.1]:57892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRELR-0005Hk-OX for submit@debbugs.gnu.org; Mon, 17 Aug 2015 02:56:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38078) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRELQ-0005Hb-0Z for control@debbugs.gnu.org; Mon, 17 Aug 2015 02:56:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRELG-0006wV-Eb for control@debbugs.gnu.org; Mon, 17 Aug 2015 02:56:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:50760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRELG-0006wR-BK for control@debbugs.gnu.org; Mon, 17 Aug 2015 02:56:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZRELG-0006qp-2H for control@debbugs.gnu.org; Mon, 17 Aug 2015 02:56:22 -0400 Subject: control message for bug 21278 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 17 Aug 2015 02:56:22 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) retitle 21278 char-fold isearch: space and newline From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 18 17:48:24 2015 Received: (at 21278) by debbugs.gnu.org; 18 Aug 2015 21:48:24 +0000 Received: from localhost ([127.0.0.1]:60028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRok3-0006oc-RJ for submit@debbugs.gnu.org; Tue, 18 Aug 2015 17:48:24 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:32792) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRok1-0006oR-Lf for 21278@debbugs.gnu.org; Tue, 18 Aug 2015 17:48:22 -0400 Received: by lbbsx3 with SMTP id sx3so111926643lbb.0 for <21278@debbugs.gnu.org>; Tue, 18 Aug 2015 14:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tPvXr3fZWtZ2vexaKMdzfbOVz1uEVN5ZIEuhuB1FgzY=; b=XBNHAGO616TPDUiqEbYkn7313fbWqdDecliOUIYkqzXsgDus2ypBnFi/yYNmd8/xn8 knwS/AVsa5UHNGTiy2hlYBp//7srqkuNxIJZnbRy/ddx+MoREIsxrhXdCewdLZlEQoUN 7e7SnqrDVGrlkVgc1kjzNmaz0I3BFvc3hCPt+wGRgq4SsifhsDv2XezJmgZiEgvol89I WUGE9wAWyWzttz8Rirs6Ln4UGJbMhoKmT/30aIZz32S0Q/gs5Z4vJGnqY4WFzwk0HeBk 2+eqULFi1OQ40r6We7Zsw0NS0WXXFiTQFHEswzXAo5Ldv1V8gxDgL2926a51ztqdbUcU f8zw== MIME-Version: 1.0 X-Received: by 10.112.138.199 with SMTP id qs7mr8153162lbb.21.1439934500684; Tue, 18 Aug 2015 14:48:20 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Tue, 18 Aug 2015 14:48:20 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Aug 2015 22:48:20 +0100 X-Google-Sender-Auth: 3VTi4dVHkcUO--BY0q2GJNnJlQ4 Message-ID: Subject: Re: bug#21278: 25.0.50; char-fold search is a screw, and I can't see how to disable From: Artur Malabarba To: rms@gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-08-17 6:04 GMT+01:00 Richard Stallman : > > It is a screw that char-fold isearch treats space and NL as equivalent. > They do not look alike. Please disconnect them. As of 2 weeks ago, it doesn't. You can verify that by running (character-fold-to-regexp " ") The regexp it returns doesn't contain newline chars. isearch-lax-whitespace does treat space as NL, so maybe that's what you're seeing. I believe there's a bug in `isearch-search-fun-default' where even if you disable `isearch-lax-whitespace', isearch sometimes uses lax-whitespace anyway. I would have fixed this myself, but I don't quite understand what that code is trying to do and last time I asked for help nobody answered. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 19 18:28:17 2015 Received: (at 21278) by debbugs.gnu.org; 19 Aug 2015 22:28:17 +0000 Received: from localhost ([127.0.0.1]:32964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSBqD-0005ZQ-GR for submit@debbugs.gnu.org; Wed, 19 Aug 2015 18:28:17 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:38057 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSBqC-0005ZI-Ai for 21278@debbugs.gnu.org; Wed, 19 Aug 2015 18:28:16 -0400 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id DBC782B206A; Wed, 19 Aug 2015 15:28:15 -0700 (PDT) Received: from localhost.linkov.net (m212-53-116-166.cust.tele2.ee [212.53.116.166]) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id A9DBE2B2065; Wed, 19 Aug 2015 15:28:14 -0700 (PDT) From: Juri Linkov To: Artur Malabarba Subject: Re: bug#21278: 25.0.50; char-fold search is a screw, and I can't see how to disable Organization: LINKOV.NET References: Date: Thu, 20 Aug 2015 01:20:30 +0300 In-Reply-To: (Artur Malabarba's message of "Tue, 18 Aug 2015 22:48:20 +0100") Message-ID: <87a8tmyl3t.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, rms@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> It is a screw that char-fold isearch treats space and NL as equivalent= . >> They do not look alike. Please disconnect them. > > As of 2 weeks ago, it doesn't. You can verify that by running > (character-fold-to-regexp " ") > The regexp it returns doesn't contain newline chars. > > isearch-lax-whitespace does treat space as NL, so maybe that's what > you're seeing. > I believe there's a bug in `isearch-search-fun-default' where even if > you disable `isearch-lax-whitespace', isearch sometimes uses > lax-whitespace anyway. > > I would have fixed this myself, but I don't quite understand what that > code is trying to do and last time I asked for help nobody answered. Sorry for missing your questions. =E2=80=98isearch-search-fun-default=E2= =80=99 detects the situation when the user is in the process of typing a word, so it should not match incomplete words, otherwise the word search will immediately fail and not allow the user to complete the word. I guess this code is not necessary for char-fold search, but to double-check I'm looking at this problem now. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 19 18:59:47 2015 Received: (at 21278) by debbugs.gnu.org; 19 Aug 2015 22:59:47 +0000 Received: from localhost ([127.0.0.1]:32974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSCKh-0006JJ-9F for submit@debbugs.gnu.org; Wed, 19 Aug 2015 18:59:47 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:32951) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSCKf-0006J8-34 for 21278@debbugs.gnu.org; Wed, 19 Aug 2015 18:59:45 -0400 Received: by lalv9 with SMTP id v9so12207639lal.0 for <21278@debbugs.gnu.org>; Wed, 19 Aug 2015 15:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Pfhj7OtH43TCXWDPxhSYFNNhttA0XN2yw9XN1t42kS0=; b=trpO8fDgoGjBW3wU3548EI0bbwCS431CTv+DKZ3N1MwwsN9IRleqEPnv9OqbZwW/OH oKLVViTt+IHEYymktkPqVE/OTa2qaI3bd9s8FaUh5HQOoBHrrONx6fpMVTas+cAapLY0 1xfQPyTeCv1MXzuz2dn0GqOxE1zjZVIRQJMU8fTQz/bvzbonu8zTTsf9ZEels1LQu44y QYxuLJoxFnuKB2Wn+9o6peRp/EQioFWuffIYXwEY7kRVJLkykHO3kKUas3aRnZneVJn1 Ftqcd/WrKm6vakM0HUvQPlq2BS4QBLRULk7nhHDkgfVlC3wM37GCc7lP/WQ3jM0SHGhR IY0Q== MIME-Version: 1.0 X-Received: by 10.152.26.163 with SMTP id m3mr14028413lag.86.1440025182996; Wed, 19 Aug 2015 15:59:42 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Wed, 19 Aug 2015 15:59:42 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Wed, 19 Aug 2015 15:59:42 -0700 (PDT) In-Reply-To: <87a8tmyl3t.fsf@mail.linkov.net> References: <87a8tmyl3t.fsf@mail.linkov.net> Date: Wed, 19 Aug 2015 23:59:42 +0100 X-Google-Sender-Auth: d4gAHkUJ_CSm_uPbPDU1sLm7qto Message-ID: Subject: Re: bug#21278: 25.0.50; char-fold search is a screw, and I can't see how to disable From: Artur Malabarba To: Juri Linkov Content-Type: multipart/alternative; boundary=089e0158c73e800f37051db1fd20 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0158c73e800f37051db1fd20 Content-Type: text/plain; charset=UTF-8 > I guess this code is not necessary for char-fold search, but to > double-check I'm looking at this problem now. Indeed, it's not necessary. The problem is that I was under the impression that that lax variable referred to lax-whitespace, so I coded some things on that assumption. I've fixed that mistake now. --089e0158c73e800f37051db1fd20 Content-Type: text/html; charset=UTF-8

> I guess this code is not necessary for char-fold search, but to
> double-check I'm looking at this problem now.

Indeed, it's not necessary. The problem is that I was under the impression that that lax variable referred to lax-whitespace, so I coded some things on that assumption.

I've fixed that mistake now.

--089e0158c73e800f37051db1fd20-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 03:04:23 2021 Received: (at 21278) by debbugs.gnu.org; 4 Sep 2021 07:04:23 +0000 Received: from localhost ([127.0.0.1]:46321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMPiw-0008DH-Vb for submit@debbugs.gnu.org; Sat, 04 Sep 2021 03:04:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMPiu-0008Cz-PL for 21278@debbugs.gnu.org; Sat, 04 Sep 2021 03:04:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jTm9TktHg0xZqdGHGTHtpnbHlmLeHJH5D4AlVPESLFk=; b=Nf0oEjO4CuibCIdUj1IhrBwBFz 6awQttXhl74S9THef851E1jfYe7OL97N2qlPO1D6Wu4UetgrCNtPTHW2ac02nEGPxEtaF5Om51VRl tGBcFYbDxYt+hyNGKH4wxSKEV66gepPaJJ8TH5JHmaZ8F1yJftBzQv4DawM6AFFYJYM0=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMPim-0006Rm-76; Sat, 04 Sep 2021 09:04:14 +0200 From: Lars Ingebrigtsen To: Richard Stallman Subject: Re: bug#21278: char-fold isearch: space and newline References: Date: Sat, 04 Sep 2021 09:04:11 +0200 In-Reply-To: (Richard Stallman's message of "Mon, 17 Aug 2015 01:04:08 -0400") Message-ID: <8735qku8ic.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Stallman writes: > It is a screw that char-fold isearch treats space and NL as equivalent. > They do not look alike. Please disconnect them. Artur Malabarba writes: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, Artur Malabarba X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Richard Stallman writes: > It is a screw that char-fold isearch treats space and NL as equivalent. > They do not look alike. Please disconnect them. Artur Malabarba writes: >> I guess this code is not necessary for char-fold search, but to >> double-check I'm looking at this problem now. > > Indeed, it's not necessary. The problem is that I was under the impression > that that lax variable referred to lax-whitespace, so I coded some things on > that assumption. > > I've fixed that mistake now. As far as I can tell, char-fold isearch doesn't conflate space and newline, so I guess that Artur's changes fixed this issue? But the bug report was left open, so I'm closing it now. If I misunderstood, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 03:04:26 2021 Received: (at control) by debbugs.gnu.org; 4 Sep 2021 07:04:26 +0000 Received: from localhost ([127.0.0.1]:46324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMPj0-0008DW-78 for submit@debbugs.gnu.org; Sat, 04 Sep 2021 03:04:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMPiy-0008D6-Ro for control@debbugs.gnu.org; Sat, 04 Sep 2021 03:04:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=g0uhWfAk+dik37mI+/uiR4X/uAcUbGqgQBdBLGpJRcI=; b=PDAm1eiURXlDsLoDcLJ+PksXYQ /Y/O9fQES75hfRXmA8eS0E+gU1kdaGTA7dkYtmFLNETn1t7ZWlbNL/ZhWNVIQpx2/GFjSwfxeO7+n ZjtWAXl53/iFB7uIcUgGdEWTXIbZN7SHAypfCYkdfUwmGyl15660u1DzB1ipcYfgKioc=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMPir-0006Rv-8m for control@debbugs.gnu.org; Sat, 04 Sep 2021 09:04:19 +0200 Date: Sat, 04 Sep 2021 09:04:16 +0200 Message-Id: <871r64u8i7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21278 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 21278 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 21278 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 05 23:09:44 2021 Received: (at 21278) by debbugs.gnu.org; 6 Sep 2021 03:09:44 +0000 Received: from localhost ([127.0.0.1]:51284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN50x-0000Oq-Tk for submit@debbugs.gnu.org; Sun, 05 Sep 2021 23:09:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN50w-0000Of-QV for 21278@debbugs.gnu.org; Sun, 05 Sep 2021 23:09:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52248) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN50r-0007lK-KV; Sun, 05 Sep 2021 23:09:37 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mN50q-0002ky-Jk; Sun, 05 Sep 2021 23:09:36 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: <8735qku8ic.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 04 Sep 2021 09:04:11 +0200) Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> Message-Id: Date: Sun, 05 Sep 2021 23:09:36 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I am running master from May 11 and the failure still happens. I put this text from your message in my buffer: As far as I can tell, char-fold isearch doesn't conflate space and newline, so I guess that Artur's changes fixed this issue? But the bug report was left open, so I'm closing it now. If I misunderstood, please respond to the debbugs address and we'll reopen. I put point on "As far", a few lines above here, and type C-s and SPC. It finds the "and" at the end of the line together with the newline and spaces. This buffer is in Mail mode. However, when I insert the same text in *scratch*, the bug does not happen there. I don't know when I reported that bug, and I can't find the message I originally sent without knowing the approximate date. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 01:59:45 2021 Received: (at 21278) by debbugs.gnu.org; 6 Sep 2021 05:59:45 +0000 Received: from localhost ([127.0.0.1]:51452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN7fV-0006yP-CS for submit@debbugs.gnu.org; Mon, 06 Sep 2021 01:59:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN7fU-0006yE-Cu for 21278@debbugs.gnu.org; Mon, 06 Sep 2021 01:59:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56700) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN7fO-0007Bn-Vr; Mon, 06 Sep 2021 01:59:39 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1306 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 1mN7fG-0005ei-CB; Mon, 06 Sep 2021 01:59:30 -0400 Date: Mon, 06 Sep 2021 08:59:36 +0300 Message-Id: <83o896s0qf.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org In-Reply-To: (message from Richard Stallman on Sun, 05 Sep 2021 23:09:36 -0400) Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, larsi@gnus.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Richard Stallman > Date: Sun, 05 Sep 2021 23:09:36 -0400 > Cc: 21278@debbugs.gnu.org, bruce.connor.am@gmail.com > > I am running master from May 11 and the failure still happens. > > I put this text from your message in my buffer: > > As far as I can tell, char-fold isearch doesn't conflate space and > newline, so I guess that Artur's changes fixed this issue? But the bug > report was left open, so I'm closing it now. If I misunderstood, please > respond to the debbugs address and we'll reopen. > > I put point on "As far", a few lines above here, and type C-s and SPC. > It finds the "and" at the end of the line together with the newline > and spaces. This buffer is in Mail mode. > > However, when I insert the same text in *scratch*, the bug does not > happen there. I think that's because in Mail mode we have: (char-syntax ?\n) => 32 ; SPC whereas in *scratch*: (char-syntax ?\n) => 62 ; > And the regexp in search-whitespace-regexp is "\\s-+". From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 04:33:09 2021 Received: (at 21278) by debbugs.gnu.org; 6 Sep 2021 08:33:09 +0000 Received: from localhost ([127.0.0.1]:51699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNA3q-0002rW-Jr for submit@debbugs.gnu.org; Mon, 06 Sep 2021 04:33:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNA3a-0002qd-UF for 21278@debbugs.gnu.org; Mon, 06 Sep 2021 04:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kuwbAkS+ii0kyJ9AAdrpU+nDj5JEVtMyHcnxsm4+fks=; b=dHynj1PcDU7YusQVgnG+Bk8RvB Sex/OQpRZailuDaYXA/3whf2Ff33XE3KfvgeseNzmAVB8m60dn0zMYWBLYDf3E9uy8MhfVTZQdUyQ XM8UP8nEGKaOddjmVxZZaAEeKfr70OW5L729Ovotcmr5ZWy8sWDBLJSVUa4tqXZ8UsyY=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNA3S-0007uV-7D; Mon, 06 Sep 2021 10:32:40 +0200 From: Lars Ingebrigtsen To: Richard Stallman Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> Date: Mon, 06 Sep 2021 10:32:36 +0200 In-Reply-To: (Richard Stallman's message of "Sun, 05 Sep 2021 23:09:36 -0400") Message-ID: <875yvekst7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Stallman writes: > I am running master from May 11 and the failure still happens. OK; reopening. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Richard Stallman writes: > I am running master from May 11 and the failure still happens. OK; reopening. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 19:21:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Mon, 06 Sep 2021 08:34:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 23:17:53 2021 Received: (at 21278) by debbugs.gnu.org; 7 Sep 2021 03:17:53 +0000 Received: from localhost ([127.0.0.1]:54967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNRcP-0007xy-4w for submit@debbugs.gnu.org; Mon, 06 Sep 2021 23:17:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNRcN-0007xS-C5 for 21278@debbugs.gnu.org; Mon, 06 Sep 2021 23:17:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34952) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNRcI-0000RY-6t; Mon, 06 Sep 2021 23:17:46 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mNRcH-0007HM-T4; Mon, 06 Sep 2021 23:17:45 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Eli Zaretskii In-Reply-To: <83o896s0qf.fsf@gnu.org> (message from Eli Zaretskii on Mon, 06 Sep 2021 08:59:36 +0300) Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> Message-Id: Date: Mon, 06 Sep 2021 23:17:45 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, larsi@gnus.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I think that's because in Mail mode we have: > (char-syntax ?\n) => 32 ; SPC > whereas in *scratch*: > (char-syntax ?\n) => 62 ; > > And the regexp in search-whitespace-regexp is "\\s-+". That seems plausible. I still say it is a bug. Incremental search should not equate newline with spaces, at least not by default. It is right to treat newline as whitespace in other commands, but not in search. What would be a good fix? Change the syntax of newline? What would be a good choice? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 07 02:19:59 2021 Received: (at 21278) by debbugs.gnu.org; 7 Sep 2021 06:20:00 +0000 Received: from localhost ([127.0.0.1]:55291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNUSd-0004Y6-NJ for submit@debbugs.gnu.org; Tue, 07 Sep 2021 02:19:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNUSb-0004Xs-P7 for 21278@debbugs.gnu.org; Tue, 07 Sep 2021 02:19:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38692) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNUSV-0002Ha-M1; Tue, 07 Sep 2021 02:19:51 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4194 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 1mNUSO-00075E-MK; Tue, 07 Sep 2021 02:19:45 -0400 Date: Tue, 07 Sep 2021 09:19:53 +0300 Message-Id: <83sfygq54m.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org, Stefan Monnier In-Reply-To: (message from Richard Stallman on Mon, 06 Sep 2021 23:17:45 -0400) Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, larsi@gnus.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Richard Stallman > Cc: larsi@gnus.org, 21278@debbugs.gnu.org, bruce.connor.am@gmail.com > Date: Mon, 06 Sep 2021 23:17:45 -0400 > > > I think that's because in Mail mode we have: > > > (char-syntax ?\n) => 32 ; SPC > > > whereas in *scratch*: > > > (char-syntax ?\n) => 62 ; > > > > And the regexp in search-whitespace-regexp is "\\s-+". > > That seems plausible. > > I still say it is a bug. Incremental search should not equate > newline with spaces, at least not by default. It is right to > treat newline as whitespace in other commands, but not in search. > > What would be a good fix? Change the syntax of newline? > What would be a good choice? No, I think we should leave the syntax of the newline alone, I bet too much depends on it. I think we should change the default value of search-whitespace-regexp instead. Building such mode-independent features on syntax properties is IME asking for trouble. Stefan, WDYT? From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 07 08:36:49 2021 Received: (at 21278) by debbugs.gnu.org; 7 Sep 2021 12:36:50 +0000 Received: from localhost ([127.0.0.1]:55540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNaLJ-0001wR-Ny for submit@debbugs.gnu.org; Tue, 07 Sep 2021 08:36:49 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNaLH-0001wD-IF for 21278@debbugs.gnu.org; Tue, 07 Sep 2021 08:36:48 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D0FFA44090B; Tue, 7 Sep 2021 08:36:41 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 965014407A2; Tue, 7 Sep 2021 08:36:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1631018200; bh=AS4qdgObQHSnYCZF+eqNMB2Dsw1Cby7vukfUceFasFk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Yo5dvCO85b9XqBbK5eVEmBHmuEMK9WcSIHuESyeUQ8R9/9y/xkp8cwUeS2TbGqf7e kus7wJsTVSAmEb3szvR6zJF759cYhqq/fHf/LX2gayj14lZ3JJLnPiT/aQgEgk3w4a S52ADPvsUeJmLe+dA1G+zvOXQDCCDUMf/ixkao7Hz+n61QXtT9TBr/wPehW8l7gOtx dfvYcWg5UaviJHVU8sVw2YJ/M2dd3aexyxxzSYEXeaMSf0GiP0ZvuiFj68EhHjg9Lo bIwvmeoR9UTtEijHK0O+yDaek9I+GxxOicaU+63jSRKX+X+j4lhnC7nwpQSB/0c+mH Ux9oF4yclRQRw== Received: from milanesa (unknown [104.247.244.135]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5355E1202C5; Tue, 7 Sep 2021 08:36:40 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#21278: char-fold isearch: space and newline still broken Message-ID: References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> Date: Tue, 07 Sep 2021 08:36:39 -0400 In-Reply-To: <83sfygq54m.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Sep 2021 09:19:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.082 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, larsi@gnus.org, rms@gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Building such mode-independent features on syntax properties > is IME asking for trouble. > Stefan, WDYT? Agreed. I'd use something like [ \t] or [ \t\n] or even [\0-\s]. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 09 13:58:28 2021 Received: (at submit) by debbugs.gnu.org; 9 Sep 2021 17:58:28 +0000 Received: from localhost ([127.0.0.1]:36167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOOJg-0007go-0d for submit@debbugs.gnu.org; Thu, 09 Sep 2021 13:58:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:52626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOOJd-0007gZ-Rb for submit@debbugs.gnu.org; Thu, 09 Sep 2021 13:58:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOOJd-000361-BE for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 13:58:25 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:32979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOOJb-0005ae-Fv; Thu, 09 Sep 2021 13:58:24 -0400 Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 30ABE20003; Thu, 9 Sep 2021 17:58:16 +0000 (UTC) From: Juri Linkov To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#21278: char-fold isearch: space and newline still broken Organization: LINKOV.NET References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> Date: Thu, 09 Sep 2021 20:32:53 +0300 In-Reply-To: (Stefan Monnier via's message of "Tue, 07 Sep 2021 08:36:39 -0400") Message-ID: <87ee9xu2tm.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.200; envelope-from=juri@linkov.net; helo=relay7-d.mail.gandi.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 21278@debbugs.gnu.org, rms@gnu.org, bruce.connor.am@gmail.com, Stefan Monnier , larsi@gnus.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) >> Building such mode-independent features on syntax properties >> is IME asking for trouble. >> Stefan, WDYT? > > Agreed. I'd use something like [ \t] or [ \t\n] or even [\0-\s]. Seconded. Everyone who wants to match a newline, still needs to customize search-whitespace-regexp to include \n, e.g. "\\(?:\\s-\\|\n\\)+", so an explicit list of characters would be more deterministic. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 10 06:28:33 2021 Received: (at 21278) by debbugs.gnu.org; 10 Sep 2021 10:28:33 +0000 Received: from localhost ([127.0.0.1]:36926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOdlp-00083x-JH for submit@debbugs.gnu.org; Fri, 10 Sep 2021 06:28:33 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOdln-00083f-Vn for 21278@debbugs.gnu.org; Fri, 10 Sep 2021 06:28:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ao6qpTwPhpnUK3sSMGRP65UVa1t0/Ynoid/dZTiiHY8=; b=Dtd4+J0ytqiXWwBS5iELjv7ZxZ lV7r8L5g1OdQUIka7aRHe9Qh7k4WbA1QaC2fB8DU1uGJjFMzFqwUKtctsza8Vd0nas78e6Y0fN0US ITILxrki3wYst43ZI5GwHI2I+qvTgFacOi91d9pXMRDOWgVLdmM0It4JrTAPl17iTJvI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOdld-0002fP-Gh; Fri, 10 Sep 2021 12:28:24 +0200 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> Date: Fri, 10 Sep 2021 12:28:20 +0200 In-Reply-To: <87ee9xu2tm.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 09 Sep 2021 20:32:53 +0300") Message-ID: <87pmtgragr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: >>> Building such mode-independent features on syntax properties >>> is IME asking for trouble. >>> Stefan, WDYT? >> >> Agreed. I'd use something like [ \t] or [ \t\n] or even [\0-\s]. > > Seconded. E [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , bruce.connor.am@gmail.com, rms@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: >>> Building such mode-independent features on syntax properties >>> is IME asking for trouble. >>> Stefan, WDYT? >> >> Agreed. I'd use something like [ \t] or [ \t\n] or even [\0-\s]. > > Seconded. Everyone who wants to match a newline, > still needs to customize search-whitespace-regexp > to include \n, e.g. "\\(?:\\s-\\|\n\\)+", so an explicit > list of characters would be more deterministic. It seems like everybody agrees that the old value was confusing, so I've now changed it to [ \t] in Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 10 06:28:41 2021 Received: (at control) by debbugs.gnu.org; 10 Sep 2021 10:28:42 +0000 Received: from localhost ([127.0.0.1]:36929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOdlx-00084L-QT for submit@debbugs.gnu.org; Fri, 10 Sep 2021 06:28:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOdlw-000846-98 for control@debbugs.gnu.org; Fri, 10 Sep 2021 06:28:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MsosdEhMWYX+0AtMD2H4+4hBQIAncK32BKMmuMnZU08=; b=gYOj7AgDVSrUVZoo0XTYQI6Z4N 5UDiX6sECvUb0vjACzk4Foca/rFThXH6/WCFPjneLAwNJ7hterJgbmsgQ68C4M9NooAX/VSRecPqI dD5976UFB+LGgm0AfPz1ErMwcXr4Cf4cjO8P9cSmTGT/TjyjzLLZ6S3Wc0k+g7uNJfjA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOdlo-0002fa-GX for control@debbugs.gnu.org; Fri, 10 Sep 2021 12:28:34 +0200 Date: Fri, 10 Sep 2021 12:28:32 +0200 Message-Id: <87o890ragf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21278 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 21278 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 21278 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 10 06:54:48 2021 Received: (at 21278) by debbugs.gnu.org; 10 Sep 2021 10:54:48 +0000 Received: from localhost ([127.0.0.1]:36982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOeBE-0002dv-0q for submit@debbugs.gnu.org; Fri, 10 Sep 2021 06:54:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOeBC-0002dh-AV for 21278@debbugs.gnu.org; Fri, 10 Sep 2021 06:54:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOeB6-0006vs-Pu; Fri, 10 Sep 2021 06:54:40 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2628 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 1mOeAz-0006M4-Oe; Fri, 10 Sep 2021 06:54:34 -0400 Date: Fri, 10 Sep 2021 13:54:14 +0300 Message-Id: <83tuisitux.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87pmtgragr.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 10 Sep 2021 12:28:20 +0200) Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, bruce.connor.am@gmail.com, monnier@iro.umontreal.ca, rms@gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , Stefan Monnier > , 21278@debbugs.gnu.org, rms@gnu.org, > bruce.connor.am@gmail.com > Date: Fri, 10 Sep 2021 12:28:20 +0200 > > > Seconded. Everyone who wants to match a newline, > > still needs to customize search-whitespace-regexp > > to include \n, e.g. "\\(?:\\s-\\|\n\\)+", so an explicit > > list of characters would be more deterministic. > > It seems like everybody agrees that the old value was confusing, so I've > now changed it to [ \t] in Emacs 28. Shouldn't it be [ \t]+ instead? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 10 06:57:25 2021 Received: (at 21278) by debbugs.gnu.org; 10 Sep 2021 10:57:25 +0000 Received: from localhost ([127.0.0.1]:36989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOeDl-0002iQ-JY for submit@debbugs.gnu.org; Fri, 10 Sep 2021 06:57:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOeDf-0002i8-Up for 21278@debbugs.gnu.org; Fri, 10 Sep 2021 06:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dx3odnHn257UFspLs5OcnN3PN04iyWaMRiw97sm3aNc=; b=omRuRWtBYevE+OYfGAR3Ybuh4L PqH66hX106eXHPUdt+qySYZ0CL+to+iUj82E+5E8623OLqbqWMu/PeJqj+u3ntujyP1DiBgnFztAK Mih0ZhpSHZF1/1Usw0p3C+Rv7hCbq/L3QvTy8/4c5fzAZgrhQLVZDlSmipPTJQebD3JI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOeDV-0002vZ-Sp; Fri, 10 Sep 2021 12:57:12 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> <83tuisitux.fsf@gnu.org> Date: Fri, 10 Sep 2021 12:57:09 +0200 In-Reply-To: <83tuisitux.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Sep 2021 13:54:14 +0300") Message-ID: <87y284puka.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> It seems like everybody agrees that the old value was confusing, so I've >> now changed it to [ \t] in Emacs 28. > > Shouldn't it be [ \t]+ instead? Oops. Looks like I'm going for the "most errors in a trivial one-line patch" record here... Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, bruce.connor.am@gmail.com, monnier@iro.umontreal.ca, rms@gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> It seems like everybody agrees that the old value was confusing, so I've >> now changed it to [ \t] in Emacs 28. > > Shouldn't it be [ \t]+ instead? Oops. Looks like I'm going for the "most errors in a trivial one-line patch" record here... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 10 07:56:50 2021 Received: (at 21278) by debbugs.gnu.org; 10 Sep 2021 11:56:50 +0000 Received: from localhost ([127.0.0.1]:37124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOf9G-0004dS-7K for submit@debbugs.gnu.org; Fri, 10 Sep 2021 07:56:50 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:37739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOf9E-0004dE-ID for 21278@debbugs.gnu.org; Fri, 10 Sep 2021 07:56:49 -0400 Received: by mail-wr1-f42.google.com with SMTP id v10so2250392wrd.4 for <21278@debbugs.gnu.org>; Fri, 10 Sep 2021 04:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8kvtECKmjVf2HQIKUewGjEn2GWfqIBhp+xSi0EdLTME=; b=aZrMSRlEv6S4VXV1Fnl7Qm/ppIhQl3Xp7PPwmPCyk7KWdnRyJ/R0WYzyLrwrE9k7/m tLdK04K5t6R3iVzOnYMQ0n0VTC+BUOuCGCYxEG9MBRnq7iLqe5IPYB6EQIMzNDDTqPvR 2Imv+Kcz0p3mOjgHZAU+N+DXMFHDjOotjbQHjQbyBjODPG1sCN1jEYBvoFa0YZ79EE8U b1NK+2NqRsdrsW9mkXWPYPPCQd3/6+FD+xvVCR8pqspyH/PC5OAG/wCQimp/MmL69iAk ezT6OVSKToy/+UZMr+SzkeyFInWamohpcfiiUBGWcN88R0+PBhHTkxJUVtaDzBLwkhmG LaXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8kvtECKmjVf2HQIKUewGjEn2GWfqIBhp+xSi0EdLTME=; b=7COA6rMeH5QrRhhWecwHxg0pgvml71tRpSjGM5GXZ6iJtjaZw/7pOgGPmTpTDBOE6q OkFnyYFkiaUJUNzT8ScbhbFMdCbpS40fJUQKTzxTZWGNFL0swfV8aWYP+erhOGXv41ns WNQEdyjOHy+ta2fLs3N3wZ6W+iJKGLtKUizFPhECmRakrW+PqWEkadyf8tchLkxpLQ6M H+FVdcX6FXV4nbkazrd2aDOtJhvtgtuqDuw5Qy5bP3cMbncV+EmkcWG5PNuT0oxM+xjz OhpmQcTkcTJ8eAaOYlCMGLVOG4IBkMMnDHkTGngKEWgik05l1nVfPDrdW4F4VIKqi6ff 9AEg== X-Gm-Message-State: AOAM532MLMxVWBFNck1z74UY57sJ27Awjuwt6qqmxjPJKoR2DiuPA5Zt K68uYmEJRTOpD9Ffvd0ULsg= X-Google-Smtp-Source: ABdhPJyDh9aGJWEyjWP7vSDnsjb9zMbywdCZyO0tx5C0W55J9N8Lwy86M1fyFj6mmWwMPVDjmzDYpA== X-Received: by 2002:adf:e0cc:: with SMTP id m12mr9344416wri.62.1631275002628; Fri, 10 Sep 2021 04:56:42 -0700 (PDT) Received: from ars3 ([2a02:8109:8ac0:56d0::b1d]) by smtp.gmail.com with ESMTPSA id l7sm4475319wmj.9.2021.09.10.04.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 04:56:42 -0700 (PDT) From: Augusto Stoffel To: Lars Ingebrigtsen Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> <83tuisitux.fsf@gnu.org> <87y284puka.fsf@gnus.org> Date: Fri, 10 Sep 2021 13:56:41 +0200 In-Reply-To: <87y284puka.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 10 Sep 2021 12:57:09 +0200") Message-ID: <87v938ej9i.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, rms@gnu.org, bruce.connor.am@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, 10 Sep 2021 at 12:57, Lars Ingebrigtsen wrote: > Eli Zaretskii writes: > >>> It seems like everybody agrees that the old value was confusing, so I've >>> now changed it to [ \t] in Emacs 28. >> >> Shouldn't it be [ \t]+ instead? > > Oops. Looks like I'm going for the "most errors in a trivial one-line > patch" record here... For the record, search-whitespace-regexp could have more useful values suggested in customize. I can think of: - not too lax: "[ \\t]+" - match across lines: "[ \\t\\n]+" - eat punctuation: "\\W+" - fuzzy: ".*?" From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 10 09:17:28 2021 Received: (at 21278) by debbugs.gnu.org; 10 Sep 2021 13:17:28 +0000 Received: from localhost ([127.0.0.1]:37256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOgPI-0006eR-K8 for submit@debbugs.gnu.org; Fri, 10 Sep 2021 09:17:28 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:36582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOgPG-0006eC-4O for 21278@debbugs.gnu.org; Fri, 10 Sep 2021 09:17:27 -0400 Received: by mail-wr1-f44.google.com with SMTP id g16so2609024wrb.3 for <21278@debbugs.gnu.org>; Fri, 10 Sep 2021 06:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=5w0o249abL3j5LcyIwjqRN2jBuW5npb8lL7d0PTzygs=; b=W5jAVI41L0+ihKhxpiKh41c107mFVToUpPwVZpp0kh1HC9W8xMZSbYQQpozU3OwEgA I5Kui68pYApFQR4UN2WatpVmyKA3WnT7xAAulb3sZQCb9+B+HaYEWxgOFq9qMcAvX1Gs 2bjtg72wCNnnrYosQVkTaLNNa4cFl5vx3eNGobdLlW9LUhId0RzJYeKbUTuaS4E9axej 0lkU6EGTtgwMpYerAA7o0lMq4Arep401FZoMlXlA6rH0ArfEzDiEnsKvcx/mUb3SmB4F +wwBDvE1XserLs2taZHquJ7D9awGzJWAcd17oX8nRXDf4l60DFJ4IMkzWxbGjObXHH3+ AKxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=5w0o249abL3j5LcyIwjqRN2jBuW5npb8lL7d0PTzygs=; b=rzS6F303PHRny6Rp4G/2vWrvS2oY0liwfFboapNuIIS2HcLRBHZr7aDhgpqMNeM1OK DpxkEF/+5S/WSH/taXN1olumHTrLoMoqOKAKmsNyHv3vPv68CzPDdAdUlPNPF2trA6F3 LLxeLqxP8TcmnDLQli3Txq4qso87mAlaNdK97+EV9rIWP5tPdbp04Z9BmihphNt3iO1Y RxQG+zpguYNSrKzsw7ZjpP9LNLTAuI68INHh2a0+nmbNRJAwsX0BZY55CuEL/Qa5OVLZ B9T/zWRCCS2LlO3O5DmuB5CuYwNUPF17Er3NEJhiMl/n4R39ysNt/jnfGQN+40HVEkVZ uiFg== X-Gm-Message-State: AOAM530yWJ7Ip8wZR1dBAlVKYCgdItTWsCsKlRNP/zZamdfXgoHgh60u lUcjrDNxtsCtAOmBBKwKCO4= X-Google-Smtp-Source: ABdhPJxp2mf90FHfZTxooutHUqZOLu60InP5Ykscb+MOSt/jmpTXjj+hcuyqnNLT9mPUJB00uxHMcw== X-Received: by 2002:a5d:404b:: with SMTP id w11mr4378822wrp.437.1631279840488; Fri, 10 Sep 2021 06:17:20 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:20e:d340:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id t23sm4895490wrb.71.2021.09.10.06.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 06:17:20 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Augusto Stoffel Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> <83tuisitux.fsf@gnu.org> <87y284puka.fsf@gnus.org> <87v938ej9i.fsf@gmail.com> Date: Fri, 10 Sep 2021 15:17:19 +0200 In-Reply-To: <87v938ej9i.fsf@gmail.com> (Augusto Stoffel's message of "Fri, 10 Sep 2021 13:56:41 +0200") Message-ID: <87h7esefj4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, rms@gnu.org, bruce.connor.am@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Augusto Stoffel writes: > On Fri, 10 Sep 2021 at 12:57, Lars Ingebrigtsen wrote: > >> Eli Zaretskii writes: >> >>>> It seems like everybody agrees that the old value was confusing, so I'= ve >>>> now changed it to [ \t] in Emacs 28. >>> >>> Shouldn't it be [ \t]+ instead? >> >> Oops. Looks like I'm going for the "most errors in a trivial one-line >> patch" record here... > > For the record, search-whitespace-regexp could have more useful values > suggested in customize. I can think of: > > - not too lax: "[ \\t]+" > - match across lines: "[ \\t\\n]+" > - eat punctuation: "\\W+" > - fuzzy: ".*?" Seconded. I expect this to be a common customization: when searching for compound expressions ("regular expression", "environment variable"=E2= =80=A6) through prose filled using hard newlines (manpages, info nodes, docstrings=E2=80=A6), I have always found it useful for isearch to treat newlines as regular whitespace. If isearch no longer behaves like that by default, I'm sure users would at least appreciate Customize suggesting some ready-made values. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 11 08:12:57 2021 Received: (at 21278) by debbugs.gnu.org; 11 Sep 2021 12:12:57 +0000 Received: from localhost ([127.0.0.1]:39655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP1sP-00081n-Ag for submit@debbugs.gnu.org; Sat, 11 Sep 2021 08:12:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP1sO-00081Y-CT for 21278@debbugs.gnu.org; Sat, 11 Sep 2021 08:12:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PilCL3up5BB5mXdbPlhNen6Dfr2fCYdBb7/VUOnmayw=; b=EvDTHfi38PSF6IXdbwq0qFDj3w WvJX4OCJMlbjJ4oRq5+/X5RtJe8Q+DbZL3BhC6SRJxafsBkx87TzYD3MWstk5DGjOpzoNfDOuXZbh XvKbPD1nGV1eNdgJiZV3XGpUM0MVbU7yvMeiiLNHZtr/QoSAo1UITIRwuz2pRVOwI76Y=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mP1sE-0008Fy-2W; Sat, 11 Sep 2021 14:12:48 +0200 From: Lars Ingebrigtsen To: Augusto Stoffel Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> <83tuisitux.fsf@gnu.org> <87y284puka.fsf@gnus.org> <87v938ej9i.fsf@gmail.com> Date: Sat, 11 Sep 2021 14:12:45 +0200 In-Reply-To: <87v938ej9i.fsf@gmail.com> (Augusto Stoffel's message of "Fri, 10 Sep 2021 13:56:41 +0200") Message-ID: <87h7ernwea.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Augusto Stoffel writes: > For the record, search-whitespace-regexp could have more useful values > suggested in customize. I can think of: > > - not too lax: "[ \\t]+" > - match across lines: "[ \\t\\n]+" > - eat punctuation [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, rms@gnu.org, bruce.connor.am@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Augusto Stoffel writes: > For the record, search-whitespace-regexp could have more useful values > suggested in customize. I can think of: > > - not too lax: "[ \\t]+" > - match across lines: "[ \\t\\n]+" > - eat punctuation: "\\W+" > - fuzzy: ".*?" I'm thing that trying to assign names to "[ \t]+" as "not too lax" will just be more confusing than saying "tabs and spaces", and the same goes for the other alternatives, too. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 11 08:52:27 2021 Received: (at 21278) by debbugs.gnu.org; 11 Sep 2021 12:52:27 +0000 Received: from localhost ([127.0.0.1]:39727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP2Ud-0000aF-5D for submit@debbugs.gnu.org; Sat, 11 Sep 2021 08:52:27 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:44619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP2Ub-0000a3-N7 for 21278@debbugs.gnu.org; Sat, 11 Sep 2021 08:52:26 -0400 Received: by mail-wr1-f53.google.com with SMTP id d6so6730104wrc.11 for <21278@debbugs.gnu.org>; Sat, 11 Sep 2021 05:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=/cCpkKqntZxxL3RwgB1x6Qv6XrV9xYyMpct6CJDtxC0=; b=Jod5F/dpWvsd3QRqYru3een5xZ5sE4j9pH1y9O6fbfoM+3axWlYdNLqsjID+gwjX95 jKo4h3DV1vUUHEZMu1hyLqAGiO5xgCiVqqez2a2q9CjLIFgUHCejrc2on7bfOHhLObLT TFcLg5xj8rtju9vBCBkaabXeJ1aU5ozkhvJaQvVbyDgWNN76T9xsrw3Va53W/tRYs3I9 En8P8UDYV2JPtpK+hsWbNTAfTn+MiRHpTTgpkWQhUVBhsOKbET+A9WVxrSTpysRDeW5f 5pSqHvshSx93de+Zc4hL9W0ZKJQ7ozG9/Bhdwg+3TJNkjiXL9LIjH2V9SgLayGqlwTpw 9jmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=/cCpkKqntZxxL3RwgB1x6Qv6XrV9xYyMpct6CJDtxC0=; b=s1hQ17IszPaQ0WRiIMeo2ft8hkXa55vJvMV+CcuTQ0r3PU+h0ZD81ApwP27lFX7M6k TWPybOQ2rQh9CGDV5RB9RFlN+hdRNgyUeIsdyyTgCnGBX2atW9yBOrmKhk9bnEagOgwe 72J0fQvhI68E/5GaKHu3kFS+tZXNYBOQpUAoaIaWpmdv27XemCdx1xf62W2modpVGpmY zMhnjR9cR65bvO9xNRb4YGCgTpT+YnCFwwzSXET1XpuIPBXrp6h04gFqLzL1op8NuoLy WXWRdq2FgUuYISvHZEv0+DDeTi6DLTChx4vGBsvlCX4zln8BM7esZhyn0BPrFNTOOl27 KSTw== X-Gm-Message-State: AOAM530UM7RfajxElDQFcDYnuABR8Umqs6XRfmwin2B6wTuhO7QYkwMM OwOzMC9sKoHKsyd6nKkzx34= X-Google-Smtp-Source: ABdhPJzkWpx2MsI/fOg5U8mQ2SXOs/iUV3ymtxOvxNzXrrmzMBedi1VyvkEXSHwpPVvHWcQVGd9R2A== X-Received: by 2002:adf:c501:: with SMTP id q1mr3009528wrf.150.1631364739901; Sat, 11 Sep 2021 05:52:19 -0700 (PDT) Received: from ars3 ([2a02:8109:8ac0:56d0::b1d]) by smtp.gmail.com with ESMTPSA id n14sm1610449wrx.10.2021.09.11.05.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Sep 2021 05:52:19 -0700 (PDT) From: Augusto Stoffel To: Lars Ingebrigtsen Subject: Re: bug#21278: char-fold isearch: space and newline still broken In-Reply-To: <87h7ernwea.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 11 Sep 2021 14:12:45 +0200") References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> <83tuisitux.fsf@gnu.org> <87y284puka.fsf@gnus.org> <87v938ej9i.fsf@gmail.com> <87h7ernwea.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 11 Sep 2021 14:52:17 +0200 Message-ID: <877dfn1dha.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, rms@gnu.org, bruce.connor.am@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, 11 Sep 2021 at 14:12, Lars Ingebrigtsen wrote: > Augusto Stoffel writes: > >> For the record, search-whitespace-regexp could have more useful values >> suggested in customize. I can think of: >> >> - not too lax: "[ \\t]+" >> - match across lines: "[ \\t\\n]+" >> - eat punctuation: "\\W+" >> - fuzzy: ".*?" > > I'm thing that trying to assign names to "[ \t]+" as "not too lax" will > just be more confusing than saying "tabs and spaces", and the same goes > for the other alternatives, too. Right, more serious names could be: 1. Tabs and spaces 2. Tabs, spaces and line breaks 3. Whitespace and punctuation 4. Any sequence of characters (fuzzy) Description 3. might not be 100% accurate, but is probably more meaningful than "Non-word characters". From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 13 03:26:21 2021 Received: (at 21278) by debbugs.gnu.org; 13 Sep 2021 07:26:21 +0000 Received: from localhost ([127.0.0.1]:44050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPgM2-0008MS-8u for submit@debbugs.gnu.org; Mon, 13 Sep 2021 03:26:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPgLz-0008ME-Sp for 21278@debbugs.gnu.org; Mon, 13 Sep 2021 03:26:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=p9dkLVYMQsBbM+vIOSYueMPRTYmBgkCfgvr86wW/X0g=; b=B4rRjZdY3YOgZ+ORlGAsMbxEGh jkEwJoe3u/b8g+KPYt8e8vY9v1UC4VPFMn+XPFNJ+ANGjLC4RzuJj1GujD+Ye7hm89moRlolXXQOB c7hWehdVYNP1O+9aecpT1AV9HdZQ4zPOUwD2PjKb9ZipiG8LXDmmdDAc3f+87rX+eV8M=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPgLp-0005wr-Hk; Mon, 13 Sep 2021 09:26:03 +0200 From: Lars Ingebrigtsen To: Augusto Stoffel Subject: Re: bug#21278: char-fold isearch: space and newline still broken References: <8735qku8ic.fsf@gnus.org> <83o896s0qf.fsf@gnu.org> <83sfygq54m.fsf@gnu.org> <87ee9xu2tm.fsf@mail.linkov.net> <87pmtgragr.fsf@gnus.org> <83tuisitux.fsf@gnu.org> <87y284puka.fsf@gnus.org> <87v938ej9i.fsf@gmail.com> <87h7ernwea.fsf@gnus.org> <877dfn1dha.fsf@gmail.com> Date: Mon, 13 Sep 2021 09:26:01 +0200 In-Reply-To: <877dfn1dha.fsf@gmail.com> (Augusto Stoffel's message of "Sat, 11 Sep 2021 14:52:17 +0200") Message-ID: <87wnnlhr7a.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Augusto Stoffel writes: >>> - not too lax: "[ \\t]+" >>> - match across lines: "[ \\t\\n]+" >>> - eat punctuation: "\\W+" >>> - fuzzy: ".*?" >> >> I'm thing that trying to assign names to "[ \t]+" as "not too lax" will >> ju [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21278 Cc: 21278@debbugs.gnu.org, rms@gnu.org, bruce.connor.am@gmail.com, juri@linkov.net, monnier@iro.umontreal.ca, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Augusto Stoffel writes: >>> - not too lax: "[ \\t]+" >>> - match across lines: "[ \\t\\n]+" >>> - eat punctuation: "\\W+" >>> - fuzzy: ".*?" >> >> I'm thing that trying to assign names to "[ \t]+" as "not too lax" will >> just be more confusing than saying "tabs and spaces", and the same goes >> for the other alternatives, too. > > Right, more serious names could be: > > 1. Tabs and spaces > 2. Tabs, spaces and line breaks OK, added. > 3. Whitespace and punctuation That has the same problem as this bug report -- it uses a syntax class. (And it doesn't seem to have much to do with whitespace, which is what this variable is about. > 4. Any sequence of characters (fuzzy) That doesn't seem to have anything to do with whitespace. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 19:21:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 11 Oct 2021 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator