From unknown Mon Jun 23 13:09:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20975 <20975@debbugs.gnu.org> To: bug#20975 <20975@debbugs.gnu.org> Subject: Status: Replacing text add also the comma Reply-To: bug#20975 <20975@debbugs.gnu.org> Date: Mon, 23 Jun 2025 20:09:55 +0000 retitle 20975 Replacing text add also the comma reassign 20975 emacs submitter 20975 Angelo Graziosi severity 20975 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 18:16:00 2015 Received: (at submit) by debbugs.gnu.org; 3 Jul 2015 22:16:00 +0000 Received: from localhost ([127.0.0.1]:39024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZB9FX-0000FK-Vk for submit@debbugs.gnu.org; Fri, 03 Jul 2015 18:16:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34233) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZB9FV-0000F7-FO for submit@debbugs.gnu.org; Fri, 03 Jul 2015 18:15:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZB9FP-0000DL-F0 for submit@debbugs.gnu.org; Fri, 03 Jul 2015 18:15:52 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB9FP-0000DH-Bz for submit@debbugs.gnu.org; Fri, 03 Jul 2015 18:15:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB9FO-00043R-8c for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 18:15:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZB9FK-0000AZ-79 for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 18:15:50 -0400 Received: from smtp201.alice.it ([82.57.200.97]:23342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB9FJ-00009Q-UY for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 18:15:46 -0400 Received: from [192.168.1.100] (79.19.231.149) by smtp201.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 555620A90813A3BE for bug-gnu-emacs@gnu.org; Sat, 4 Jul 2015 00:15:43 +0200 Message-ID: <55970987.1060809@alice.it> Date: Sat, 04 Jul 2015 00:15:35 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Replacing text add also the comma Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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.0 (-----) X-Debbugs-Envelope-To: submit 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.0 (-----) Suppose one has a file with this text $ cat foo.log abcd r8 efg foo(a_r8,b_r8,c_r8) Try to replace 'r8' with 'DP', i.e. in the minibuffer, M-% Query replace: r8 Query replace r8 with: DP The 'r8' on the first row is replaced correctly while on the second row also the comma is added to the text 'r8' to be replaced. foo.log becomes $ cat foo.log abcd DP efg foo(a_DPb_DPc_DP) Soppose, now, that foo(a_r8,b_r8,c_r8) is a Fortran/C/C++ routine... Is this intentional or a bug? I discovered this with recent (master) builds on MSYS2-MINGW64 (64bit Windows native). I suspect this also regards the builds on other systems.. Angelo From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 20:15:38 2015 Received: (at control) by debbugs.gnu.org; 4 Jul 2015 00:15:39 +0000 Received: from localhost ([127.0.0.1]:39059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBB7K-0003L7-2P for submit@debbugs.gnu.org; Fri, 03 Jul 2015 20:15:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59906) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBB7H-0003Km-EU for control@debbugs.gnu.org; Fri, 03 Jul 2015 20:15:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBB7B-0001xi-H8 for control@debbugs.gnu.org; Fri, 03 Jul 2015 20:15:30 -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]:57669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBB7B-0001xT-DT for control@debbugs.gnu.org; Fri, 03 Jul 2015 20:15:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZBB7B-0001OU-4g for control@debbugs.gnu.org; Fri, 03 Jul 2015 20:15:29 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 03 Jul 2015 20:15:29 -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.6 (-----) 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.6 (-----) block 19759 by 20975 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 17:11:42 2015 Received: (at 20975) by debbugs.gnu.org; 4 Jul 2015 21:11:42 +0000 Received: from localhost ([127.0.0.1]:39984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBUir-0008Iz-ME for submit@debbugs.gnu.org; Sat, 04 Jul 2015 17:11:42 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:38907 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBUip-0008Io-JO for 20975@debbugs.gnu.org; Sat, 04 Jul 2015 17:11:40 -0400 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 88E5C2B206A; Sat, 4 Jul 2015 14:11:38 -0700 (PDT) Received: from localhost.linkov.net (unknown [212.119.148.140]) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 5BE902B2065; Sat, 4 Jul 2015 14:11:37 -0700 (PDT) From: Juri Linkov To: Angelo Graziosi Subject: Re: bug#20975: Replacing text add also the comma Organization: LINKOV.NET References: <55970987.1060809@alice.it> Date: Sun, 05 Jul 2015 00:07:34 +0300 In-Reply-To: <55970987.1060809@alice.it> (Angelo Graziosi's message of "Sat, 04 Jul 2015 00:15:35 +0200") Message-ID: <87si93d42x.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.0 (/) X-Debbugs-Envelope-To: 20975 Cc: 20975@debbugs.gnu.org, Artur Malabarba 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.0 (/) > Suppose one has a file with this text > > $ cat foo.log > abcd r8 efg > foo(a_r8,b_r8,c_r8) > > Try to replace 'r8' with 'DP', i.e. in the minibuffer, > > M-% > Query replace: > r8 > Query replace r8 with: DP > > The 'r8' on the first row is replaced correctly while on the second row > also the comma is added to the text 'r8' to be replaced. > > foo.log becomes > > $ cat foo.log > abcd DP efg > foo(a_DPb_DPc_DP) > > Is this intentional or a bug? Thanks for the report, this is an unintentional bug. '8' matches the adjacent comma because (character-fold-to-regexp "8") contains "8[,.]" The culprit is #x1f109 =E2=80=9CDIGIT EIGHT COMMA=E2=80=9D with decomposi= tion: (compat '8' ',') and #x248f =E2=80=9CDIGIT EIGHT FULL STOP=E2=80=9D with decompos= ition: (compat '8' '.') We don't need to match the decomposition =E2=80=9C8,=E2=80=9D when search= ing for =E2=80=9C8=E2=80=9D. We only need to match the char #x1f109 when searching for =E2=80=9C8=E2=80= =9D. Maybe Artur has an idea how to fix this regexp? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 17:31:54 2015 Received: (at 20975) by debbugs.gnu.org; 4 Jul 2015 21:31:54 +0000 Received: from localhost ([127.0.0.1]:39996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBV2Q-0000Rs-0d for submit@debbugs.gnu.org; Sat, 04 Jul 2015 17:31:54 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:33017) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBV2N-0000Rb-Rz for 20975@debbugs.gnu.org; Sat, 04 Jul 2015 17:31:52 -0400 Received: by laar3 with SMTP id r3so117424177laa.0 for <20975@debbugs.gnu.org>; Sat, 04 Jul 2015 14:31:45 -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=Fk7uJ7hOxDJuTYl0Anj+RbV3lepEt1GejdvyirsktTc=; b=ICQ1SBNgd/bCKakArOR9qDiIia+a31X1pDs5KNceHOHQvpHrNIb5MFchG6Uf6/1uae Z4HtS2+XJuVIwZArol0eyqAh3PiiDVQc3ptHOL90N3FiXu3iqbAHFX2fdK9KJoCZ/Ds9 3ITwPAn49Gg/XI/ABiexxu+PnA1PQjt/hLuQc+9ZM6UDA33jDNTuI6ajC8Mfknw4LaM9 lIMVVdBbb+Hq0TxHPVH0EPZdW5jMyU8ZSf9WTDuzukMQW4okL6IZwk2YutQqf1/TiPld aH/ujzZsR+vHFmuumOZk8rkp8gfsZfqDfr/s7I9nEn7aGLI5xwiDwGx4s+JWR6JMWceZ x1Ug== MIME-Version: 1.0 X-Received: by 10.152.37.136 with SMTP id y8mr41866259laj.21.1436045505882; Sat, 04 Jul 2015 14:31:45 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sat, 4 Jul 2015 14:31:45 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sat, 4 Jul 2015 14:31:45 -0700 (PDT) In-Reply-To: <87si93d42x.fsf@mail.linkov.net> References: <55970987.1060809@alice.it> <87si93d42x.fsf@mail.linkov.net> Date: Sat, 4 Jul 2015 22:31:45 +0100 X-Google-Sender-Auth: DOclyW3BmW4ByNSJCbrL3Krs10w Message-ID: Subject: Re: bug#20975: Replacing text add also the comma From: Artur Malabarba To: Juri Linkov Content-Type: multipart/alternative; boundary=089e0149419842725f051a1366cd X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20975 Cc: 20975@debbugs.gnu.org, Angelo Graziosi 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 (/) --089e0149419842725f051a1366cd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Jul 4, 2015 10:07 PM, "Juri Linkov" wrote: > > > > '8' matches the adjacent comma because (character-fold-to-regexp "8") > contains "8[,.]" > > The culprit is #x1f109 =E2=80=9CDIGIT EIGHT COMMA=E2=80=9D with decomposi= tion: (compat > '8' ',') and #x248f =E2=80=9CDIGIT EIGHT FULL STOP=E2=80=9D with decompos= ition: (compat > '8' '.') > > We don't need to match the decomposition =E2=80=9C8,=E2=80=9D when search= ing for =E2=80=9C8=E2=80=9D. > We only need to match the char #x1f109 when searching for =E2=80=9C8=E2= =80=9D. > > Maybe Artur has an idea how to fix this regexp? Yes, it's simple enough to fix. The reason why we set characters to also match the decomposition of other unicode characters is that this lets us match a letter combined with a non spacing accent. Within that, I've already added a clause to avoid matching when the decomposition has more than one letter (this prevents "a" from matching "am"). Clearly, we need another clause to avoid this situation here. If no one has a different opinion, I'll add a clause so that a decomposition is folded only if it contains at least one non-spacing character. (though I'm not sure how to check for this, at the phone right now). That would fix this situation, and wouldn't affect how ascii characters are allowed to match unicode characters. This would only affect how ascii characters are allowed to match decompositions. --089e0149419842725f051a1366cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Jul 4, 2015 10:07 PM, "Juri Linkov" <juri@linkov.net> wrote:
>
> >
> '8' matches the adjacent comma because (character-fold-to-rege= xp "8")
> contains "8[,.]"
>
> The culprit is #x1f109 =E2=80=9CDIGIT EIGHT COMMA=E2=80=9D with decomp= osition: (compat
> '8' ',') and #x248f =E2=80=9CDIGIT EIGHT FULL STOP=E2= =80=9D with decomposition: (compat
> '8' '.')
>
> We don't need to match the decomposition =E2=80=9C8,=E2=80=9D when= searching for =E2=80=9C8=E2=80=9D.
> We only need to match the char #x1f109 when searching for =E2=80=9C8= =E2=80=9D.
>
> Maybe Artur has an idea how to fix this regexp?

Yes, it's simple enough to fix.
The reason why we set characters to also match the decomposition of other u= nicode characters is that this lets us match a letter combined with a non s= pacing accent.
Within that, I've already added a clause to avoid matching when the dec= omposition has more than one letter (this prevents "a" from match= ing "am").

Clearly, we need another clause to avoid this situation here= .
If no one has a different opinion, I'll add a clause so that a decompos= ition is folded only if it contains at least one non-spacing character. (th= ough I'm not sure how to check for this, at the phone right now).

That would fix this situation, and wouldn't affect how a= scii characters are allowed to match unicode characters. This would only af= fect how ascii characters are allowed to match decompositions.

--089e0149419842725f051a1366cd-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 22:46:20 2015 Received: (at 20975) by debbugs.gnu.org; 5 Jul 2015 02:46:20 +0000 Received: from localhost ([127.0.0.1]:40046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBZwg-0002JF-Ux for submit@debbugs.gnu.org; Sat, 04 Jul 2015 22:46:19 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:40831) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBZwd-0002Iv-7C for 20975@debbugs.gnu.org; Sat, 04 Jul 2015 22:46:16 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NQZ00700UAZCX00@a-mtaout21.012.net.il> for 20975@debbugs.gnu.org; Sun, 05 Jul 2015 05:46:07 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQZ007K6UCT8O80@a-mtaout21.012.net.il>; Sun, 05 Jul 2015 05:46:07 +0300 (IDT) Date: Sun, 05 Jul 2015 05:46:21 +0300 From: Eli Zaretskii Subject: Re: bug#20975: Replacing text add also the comma In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83si93wcci.fsf@gnu.org> References: <55970987.1060809@alice.it> <87si93d42x.fsf@mail.linkov.net> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20975 Cc: 20975@debbugs.gnu.org, angelo.graziosi@alice.it, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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 (+) > Date: Sat, 4 Jul 2015 22:31:45 +0100 > From: Artur Malabarba > Cc: 20975@debbugs.gnu.org, Angelo Graziosi > > If no one has a different opinion, I'll add a clause so that a decomposition is > folded only if it contains at least one non-spacing character. (though I'm not > sure how to check for this, at the phone right now). You could look at the character's 'canonical-combining-class' property (should be non-zero). Or you could look at its 'general-category', and allow only those whose value is one of Mc, Mn, Me. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 11:47:38 2015 Received: (at 20975) by debbugs.gnu.org; 5 Jul 2015 15:47:39 +0000 Received: from localhost ([127.0.0.1]:41029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBm8o-0003RB-2K for submit@debbugs.gnu.org; Sun, 05 Jul 2015 11:47:38 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:35323) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBm8l-0003Qv-PC for 20975@debbugs.gnu.org; Sun, 05 Jul 2015 11:47:36 -0400 Received: by lagh6 with SMTP id h6so129099599lag.2 for <20975@debbugs.gnu.org>; Sun, 05 Jul 2015 08:47:29 -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=jNAOh9OUsusD/NhxhGF7FWLl505kzPDSFMCCB6eorZU=; b=pymkTY7QiP7pImRKZpzv/NYNL/pNgDvOt9OKwxs0W7d0/z/Nav4Iqki18hXm9ByNMZ QUwsjutDd0Lg/iZf6yotoFabg/OeADVYfBqwY2xY33Y1Y/MRXgtKLJl/8wsuLpTAV8G7 fLLaqB2insGRU/MznEcelO5Tks8uCgnCreQes+SY3d9OQV55NhSGA+60jQMFxlM1hkFW t1u8ZsgvubTES6T1+K7Fy/AgNsszACHEPu9XVHHwt3vgXlm4UvvN5isWhcDfMQihjYxq Lj4Kz/KJveo9xLn7/UWhQJnC9adsvzVkGvb5b6VR2U0wqb9X6gxk+F5hXsUGLDO6q0w/ wUEA== MIME-Version: 1.0 X-Received: by 10.112.204.6 with SMTP id ku6mr44992736lbc.73.1436111249581; Sun, 05 Jul 2015 08:47:29 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sun, 5 Jul 2015 08:47:29 -0700 (PDT) In-Reply-To: <83si93wcci.fsf@gnu.org> References: <55970987.1060809@alice.it> <87si93d42x.fsf@mail.linkov.net> <83si93wcci.fsf@gnu.org> Date: Sun, 5 Jul 2015 16:47:29 +0100 X-Google-Sender-Auth: 4WphMEpRkuZ6kMVXn0J9aDSYm9w Message-ID: Subject: Re: bug#20975: Replacing text add also the comma From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20975 Cc: 20975@debbugs.gnu.org, Angelo Graziosi , Juri Linkov 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 (/) Should be fixed by 5516728 Angelo, does it work for you? 2015-07-05 3:46 GMT+01:00 Eli Zaretskii : >> Date: Sat, 4 Jul 2015 22:31:45 +0100 >> From: Artur Malabarba >> Cc: 20975@debbugs.gnu.org, Angelo Graziosi >> >> If no one has a different opinion, I'll add a clause so that a decomposition is >> folded only if it contains at least one non-spacing character. (though I'm not >> sure how to check for this, at the phone right now). > > You could look at the character's 'canonical-combining-class' property > (should be non-zero). Or you could look at its 'general-category', > and allow only those whose value is one of Mc, Mn, Me. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 17:08:09 2015 Received: (at 20975) by debbugs.gnu.org; 5 Jul 2015 21:08:09 +0000 Received: from localhost ([127.0.0.1]:41140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBr8y-0003w7-7Y for submit@debbugs.gnu.org; Sun, 05 Jul 2015 17:08:08 -0400 Received: from smtp202.alice.it ([82.57.200.98]:31074) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBr8v-0003vY-H6 for 20975@debbugs.gnu.org; Sun, 05 Jul 2015 17:08:06 -0400 Received: from [192.168.1.100] (79.19.231.149) by smtp202.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 5483247E1999417B; Sun, 5 Jul 2015 23:07:59 +0200 Message-ID: <55999CAB.7010107@alice.it> Date: Sun, 05 Jul 2015 23:07:55 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: bruce.connor.am@gmail.com, Eli Zaretskii Subject: Re: bug#20975: Replacing text add also the comma References: <55970987.1060809@alice.it> <87si93d42x.fsf@mail.linkov.net> <83si93wcci.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 20975 Cc: 20975@debbugs.gnu.org, Juri Linkov 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.6 (/) Il 05/07/2015 17:47, Artur Malabarba ha scritto: > Should be fixed by 5516728 > > Angelo, does it work for you? Oh yes, it seems to work just fine now.. :) Thank you! Angelo > > 2015-07-05 3:46 GMT+01:00 Eli Zaretskii : >>> Date: Sat, 4 Jul 2015 22:31:45 +0100 >>> From: Artur Malabarba >>> Cc: 20975@debbugs.gnu.org, Angelo Graziosi >>> >>> If no one has a different opinion, I'll add a clause so that a decomposition is >>> folded only if it contains at least one non-spacing character. (though I'm not >>> sure how to check for this, at the phone right now). >> >> You could look at the character's 'canonical-combining-class' property >> (should be non-zero). Or you could look at its 'general-category', >> and allow only those whose value is one of Mc, Mn, Me. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 17:32:35 2015 Received: (at 20975-done) by debbugs.gnu.org; 5 Jul 2015 21:32:35 +0000 Received: from localhost ([127.0.0.1]:41161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBrWc-0004dN-Od for submit@debbugs.gnu.org; Sun, 05 Jul 2015 17:32:35 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:35474) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBrWb-0004d6-0o for 20975-done@debbugs.gnu.org; Sun, 05 Jul 2015 17:32:33 -0400 Received: by lagh6 with SMTP id h6so133506984lag.2 for <20975-done@debbugs.gnu.org>; Sun, 05 Jul 2015 14:32:27 -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:content-type; bh=nJWBf+Xym2xSpzgycQw1pra4mVlUj5f7o9MMnz6130M=; b=PP4KZxkCD6SIJiZbeVz1rJoM3JFL3B66BJbfcIw67OvrOo6C1AUQMsAU2+ENw7bOmr P6JKJHnPFw7xIwra8CZf+NXsAwmpwTUS4sSBtS+WnXngw2HRcOy0ApasDdBqhTKIrP+A 3arBsEvstj4Vup4YCjksVXAb5RAjqoRviLNIddb199w9AUyrsXLE5CRfwDasAnkSX8Mk vqmdPJ30qjdI89TK2aV5u7AzmNoHMlw2pGG8HoxpWHxk8Fiue5p6Mls0kKsFQPCvyjiS 9AckPju44/KilhxI7Fs5RdW7R8gP1O0Ac0pr/TCjTFtOxLx+60qVCZTJJuej806+HXfW 8mjg== MIME-Version: 1.0 X-Received: by 10.112.25.69 with SMTP id a5mr45267349lbg.16.1436131946932; Sun, 05 Jul 2015 14:32:26 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sun, 5 Jul 2015 14:32:26 -0700 (PDT) In-Reply-To: <55999CAB.7010107@alice.it> References: <55970987.1060809@alice.it> <87si93d42x.fsf@mail.linkov.net> <83si93wcci.fsf@gnu.org> <55999CAB.7010107@alice.it> Date: Sun, 5 Jul 2015 22:32:26 +0100 X-Google-Sender-Auth: CSlrd4pgECjfjtKDOeetgFo6zvM Message-ID: Subject: Re: bug#20975: Replacing text add also the comma From: Artur Malabarba To: 20975-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20975-done 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 (/) Great. Closing then. 2015-07-05 22:07 GMT+01:00 Angelo Graziosi : > > > Il 05/07/2015 17:47, Artur Malabarba ha scritto: >> >> Should be fixed by 5516728 >> >> Angelo, does it work for you? > > > Oh yes, it seems to work just fine now.. :) > > Thank you! > > Angelo > > > >> >> 2015-07-05 3:46 GMT+01:00 Eli Zaretskii : >>>> >>>> Date: Sat, 4 Jul 2015 22:31:45 +0100 >>>> From: Artur Malabarba >>>> Cc: 20975@debbugs.gnu.org, Angelo Graziosi >>>> >>>> If no one has a different opinion, I'll add a clause so that a >>>> decomposition is >>>> folded only if it contains at least one non-spacing character. (though >>>> I'm not >>>> sure how to check for this, at the phone right now). >>> >>> >>> You could look at the character's 'canonical-combining-class' property >>> (should be non-zero). Or you could look at its 'general-category', >>> and allow only those whose value is one of Mc, Mn, Me. From unknown Mon Jun 23 13:09:55 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, 03 Aug 2015 11:24:06 +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