From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Oleg Cherkasov Newsgroups: gmane.emacs.help Subject: Re: Ediff: compare two (long) buffers Word-by-word Date: Sun, 25 Nov 2018 00:35:24 +0100 Message-ID: <365f4cda-5a64-096a-b4ff-27dcce45371b@yandex.com> References: <1543088011.1851.5.camel@gmail.com> Reply-To: o1e9@member.fsf.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1543111155 21990 195.159.176.226 (25 Nov 2018 01:59:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2018 01:59:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 25 02:59:11 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQjhW-0005Yj-R2 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Nov 2018 02:59:11 +0100 Original-Received: from localhost ([::1]:58420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQjjd-0004Is-4e for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Nov 2018 21:01:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQhSV-00048a-PY for help-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:35:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQhSU-0002U9-QO for help-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:35:31 -0500 Original-Received: from forward100p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:100]:57449) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gQhSU-0002Mn-Dv for help-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:35:30 -0500 Original-Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 9EB8D5106C9E for ; Sun, 25 Nov 2018 02:35:26 +0300 (MSK) Original-Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GzLaKh4Yfo-ZQl8QeKe; Sun, 25 Nov 2018 02:35:26 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1543102526; bh=SDcf9Th6CRfwsg+VMWmvuHOEYCCRxro2h/fmq7nOH9E=; h=Reply-To:Subject:To:References:From:Message-ID:Date:In-Reply-To; b=dJHI5sC7VGESmdG/clncZvf/DL+aHhkH2lq6dFXq0l5ungJy8gYBdMZcKD903WDgn ZAaGrBmegV0y/4EBvPN+pwEtMyMeF2Xs0r64VQRTj5pTt2ZlcDtK9IN6fYM+hE+kYe V8dYMXznQ2e4IyhUZnLkROCqR0bMd7RKMro01mqk= Original-Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id TG3swxV660-ZPoeE4w4; Sun, 25 Nov 2018 02:35:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1543102525; bh=SDcf9Th6CRfwsg+VMWmvuHOEYCCRxro2h/fmq7nOH9E=; h=Reply-To:Subject:To:References:From:Message-ID:Date:In-Reply-To; b=N4xuiOrYpf+fL3eB9VRlav++YebUJW6vhnub730vXIKJ3NPFCX4al4vlTHcAg70f7 E6EKzyZLWIxjc+4FnhJ7DXapDnBgMOQPdUXyERn0eASn5Xf8eJUWGv81y1bt+pG86f 9ku5uMBkI4zAvPR786/4Tmom7ynLZnVK0fn+kIxE= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: <1543088011.1851.5.camel@gmail.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a02:6b8:0:1472:2741:0:8b7:100 X-Mailman-Approved-At: Sat, 24 Nov 2018 21:00:47 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118744 Archived-At: 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.