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: Samuel Wales
Subject: bug#47505: 25.1; ediff thinks words changed when filling prefixed
Date: Wed, 31 Mar 2021 17:04:36 -0700

i don't know.  i just know what seems right and seems wrong.  not too
useful is it?  but it is better than not filing the bug perhaps.

diff-mode does it right so ediff can.  filladapt can intuit prefixes.
comment syntaxes are known.  somewhere in there lies a fix maybe.

commented paragraphs in org/shell/elisp style are always commented at
bol.  idk what diff-mode does.


On 3/31/21, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> 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.
>


-- 
The Kafka Pandemic

Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html





reply via email to

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