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

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

Re: Ediff: compare two (long) buffers Word-by-word


From: Oleg Cherkasov
Subject: Re: Ediff: compare two (long) buffers Word-by-word
Date: Sun, 25 Nov 2018 00:35:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 24.11.2018 20:33, ST wrote:
Hello,

I use Emacs 26.1 and try to compare two (long) buffers (opened side by
side) by clicking Tools -> Compare (Ediff) -> Windows Word-by-word...
Then I choose both Windows (A and B) by clicking on each opened buffer.
However it looks like Emacs compares only the visible parts of the two
buffers, not the whole buffers. Why?

I saw there is a command `ediff-windows-wordwise`... How is "Window"
defined? - as "currently visible part of a buffer"? If yes, is there
something like `ediff-buffers-wordwise`?

I have `git` in `exec-path`, so maybe I can make ediff to display the
output of `git diff --word-diff file1 file2` in ediff style?

https://emacs.stackexchange.com/questions/46161/ediff-compare-two-long-buffers-word-by-word

Long time ago I found 'compare-windows' very useful comparing two buffers line by line. Set cursor to start position on one buffer and then another and M-x compare-windows.




reply via email to

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