unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oleg Cherkasov <o1e9.cherkasov@yandex.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Ediff: compare two (long) buffers Word-by-word
Date: Sun, 25 Nov 2018 00:35:24 +0100	[thread overview]
Message-ID: <365f4cda-5a64-096a-b4ff-27dcce45371b@yandex.com> (raw)
In-Reply-To: <1543088011.1851.5.camel@gmail.com>

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	other threads:[~2018-11-24 23:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-24 19:33 Ediff: compare two (long) buffers Word-by-word ST
2018-11-24 23:35 ` Oleg Cherkasov [this message]
2018-11-25  9:17 ` Yuri Khan
2018-11-25 13:48   ` ST
2018-11-27  8:16     ` Eli Zaretskii
2018-11-27  8:12   ` Eli Zaretskii
     [not found] <mailman.4546.1543093349.1284.help-gnu-emacs@gnu.org>
2018-11-24 22:26 ` B. T. Raven

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=365f4cda-5a64-096a-b4ff-27dcce45371b@yandex.com \
    --to=o1e9.cherkasov@yandex.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=o1e9@member.fsf.org \
    /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.
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).