unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Dima Kogan <dima@secretsauce.net>
Cc: 21192@debbugs.gnu.org
Subject: bug#21192: 25.0.50; search-replace of spaces erroneously touches newlines
Date: Wed, 5 Aug 2015 10:40:07 +0100	[thread overview]
Message-ID: <CAAdUY-LvJWxZdHpWsu77aL1ZikQoUfmaHW-et=-wRZx68o=taA@mail.gmail.com> (raw)
In-Reply-To: <87a8u66suh.fsf@secretsauce.net>

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

2015-08-05 9:29 GMT+01:00 Dima Kogan <dima@secretsauce.net>:
> 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  9:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  8:29 bug#21192: 25.0.50; search-replace of spaces erroneously touches newlines Dima Kogan
2015-08-05  9:40 ` Artur Malabarba [this message]
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='CAAdUY-LvJWxZdHpWsu77aL1ZikQoUfmaHW-et=-wRZx68o=taA@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=21192@debbugs.gnu.org \
    --cc=dima@secretsauce.net \
    /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).