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

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

bug#66379: 29.1.50; ediff wordwise ediff-copy-diff leads to different bu


From: Michael Heerdegen
Subject: bug#66379: 29.1.50; ediff wordwise ediff-copy-diff leads to different buffers
Date: Thu, 19 Oct 2023 04:02:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Felix Mühlenberend via "Bug reports for GNU Emacs, the Swiss army knife
of text editors" <bug-gnu-emacs@gnu.org> writes:

> Symptoms:
> Diffing the following regions with wordwise mode:
> ```[A]
> This, is a test
> ```
> ```[B]
> This is a test
> ```
> and copying with (ediff-copy-A-to-B) results in:
> ```[A]
> This, is a test
> ```
> ```[B]
> This ,is a test
> ```
> Where the comma is in the wrong place.

This is not the only case of such things happening.  The wordwise mode
is more or less whitespace agnostic, it doesn't care when copying
between the buffers.

AFAIR I did not have a good idea to fix this yet.  Of course one can
mess with the word classes to fix some special cases (but never all), I
even tried to make whitespace a separate class, but nothing ever worked
reliably.

Michael.





reply via email to

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