GNU bug report logs -
#20975
Replacing text add also the comma
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 5 Jul 2015 22:32:26 +0100
with message-id <CAAdUY-J2drcZmGido6xenadTGmg-2DTnwqRi+NUZ_5LJxNZJpw <at> mail.gmail.com>
and subject line Re: bug#20975: Replacing text add also the comma
has caused the debbugs.gnu.org bug report #20975,
regarding Replacing text add also the comma
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
20975: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20975
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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-% <RETURN>
Query replace:
r8 <RETURN>
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
[Message part 3 (message/rfc822, inline)]
Great. Closing then.
2015-07-05 22:07 GMT+01:00 Angelo Graziosi <angelo.graziosi <at> alice.it>:
>
>
> 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 <eliz <at> gnu.org>:
>>>>
>>>> Date: Sat, 4 Jul 2015 22:31:45 +0100
>>>> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
>>>> Cc: 20975 <at> debbugs.gnu.org, Angelo Graziosi <angelo.graziosi <at> alice.it>
>>>>
>>>> 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.
This bug report was last modified 10 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.