bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Artur Malabarba
Subject: bug#21192: 25.0.50; search-replace of spaces erroneously touches newlines
Date: Wed, 5 Aug 2015 10:40:07 +0100

Is your replace-regexp-lax-whitespace variable non-nil, by any chance?

2015-08-05 9:29 GMT+01:00 Dima Kogan <address@hidden>:
> 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'
>
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]