unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dima Kogan <dima@secretsauce.net>
To: 21192@debbugs.gnu.org
Subject: bug#21192: 25.0.50; search-replace of spaces erroneously touches newlines
Date: Wed, 05 Aug 2015 01:29:42 -0700	[thread overview]
Message-ID: <87a8u66suh.fsf@secretsauce.net> (raw)

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	other threads:[~2015-08-05  8:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  8:29 Dima Kogan [this message]
2015-08-05  9:40 ` bug#21192: 25.0.50; search-replace of spaces erroneously touches newlines Artur Malabarba
2015-08-05 10:10   ` Dima Kogan
2015-08-05 15:15     ` Eli Zaretskii
2015-08-05 17:49       ` Artur Malabarba
2015-08-05 18:17         ` Artur Malabarba
2015-08-05 20:46           ` Dima Kogan
2015-08-06  9:15             ` Artur Malabarba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8u66suh.fsf@secretsauce.net \
    --to=dima@secretsauce.net \
    --cc=21192@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).