GNU bug report logs - #21192
25.0.50; search-replace of spaces erroneously touches newlines

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Wed, 5 Aug 2015 08:30:04 UTC

Severity: normal

Found in version 25.0.50

Done: Artur Malabarba <bruce.connor.am <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dima Kogan <dima <at> secretsauce.net>
Subject: bug#21192: closed (Re: bug#21192: 25.0.50; search-replace of
 spaces erroneously touches newlines)
Date: Thu, 06 Aug 2015 09:16:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#21192: 25.0.50; search-replace of spaces erroneously touches newlines

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 21192 <at> debbugs.gnu.org.

-- 
21192: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21192
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 21192-done <at> debbugs.gnu.org
Subject: Re: bug#21192: 25.0.50;
 search-replace of spaces erroneously touches newlines
Date: Thu, 6 Aug 2015 10:15:48 +0100
[Message part 3 (text/plain, inline)]
Great, closing then.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Dima Kogan <dima <at> secretsauce.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; search-replace of spaces erroneously touches newlines
Date: Wed, 05 Aug 2015 01:29:42 -0700
Hi. The following is an erroneous behavior in a new build of emacs
(built from https://github.com/emacs-mirror/emacs/commit/bd3b426).

1. emacs -Q

2. Enter the following so the buffer looks like
--------------------
123
  abc
--------------------

3. M-%, ' ' -> '' (i.e. delete all spaces)

4. What should happen is that the ' ' before 'abc' should be removed.
Instead, the newline is removed also, so that I get a single line
'123abc'



This bug report was last modified 9 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.