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

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

bug#47505: 25.1; ediff thinks words changed when filling prefixed


From: Michael Heerdegen
Subject: bug#47505: 25.1; ediff thinks words changed when filling prefixed
Date: Thu, 01 Apr 2021 01:53:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Samuel Wales <samologist@gmail.com> writes:

> doyou think diff's behavior is a bug then?  i choose ediff's.

Depends on what you think what "fine diffs" are.  They are actually word
wise diffs, and comment starts are a just a word.  That how it's
implemented.  In the case you describe I find that sometimes annoying,
too.  But I guess it's not easy to change that.

It might be possible to tell Ediff to ignore certain words (like comment
starts) but it's then not trivial to decide whether some text got
commented that was not commented before.

This is all not trivial.  There can be lines that are partly code and
partly comment; in Elisp, the comment start can have changed (e.g. ;; ->
;;;), you can have "doubled comments" like ;;; ;;; where uncommenting
would leave comments ... how would you define when two regions
should count as similar?

Regards,

Michael.





reply via email to

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