From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: Resyncing in ediff Date: Mon, 5 Mar 2012 21:48:40 +0000 Message-ID: <495248DFDEA08C469BBDED2D4AA6C6143640C3@DAKIYA1.pegasus.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330985519 30748 80.91.229.3 (5 Mar 2012 22:11:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2012 22:11:59 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 05 23:11:58 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4g8K-0002OQ-Up for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Mar 2012 23:11:57 +0100 Original-Received: from localhost ([::1]:42955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4g8K-0001bD-7E for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Mar 2012 17:11:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4g3h-0001Af-8l for help-gnu-emacs@gnu.org; Mon, 05 Mar 2012 17:07:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4g3f-0001eT-KG for help-gnu-emacs@gnu.org; Mon, 05 Mar 2012 17:07:08 -0500 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:32519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4g3f-0001eC-GW for help-gnu-emacs@gnu.org; Mon, 05 Mar 2012 17:07:07 -0500 Original-Received: from dakiya1.pegasus.local ([fe80::5ce2:4641:22cf:ff1f]) by DAKIYA1.pegasus.local ([fe80::5ce2:4641:22cf:ff1f%15]) with mapi id 14.01.0339.001; Mon, 5 Mar 2012 16:48:41 -0500 Thread-Topic: Resyncing in ediff Thread-Index: Acz7GWqWYk/pGZnUQ7qE5IxUF6z0cg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: A+kV BBX3 BrvI CCBq CsRw DYn9 Dcdu EPQO EP0N ERGF Efzz FgMx GgSr Gszz HJMz HqIv; 1; aABlAGwAcAAtAGcAbgB1AC0AZQBtAGEAYwBzAEAAZwBuAHUALgBvAHIAZwA=; Sosha1_v1; 7; {4883D68B-C094-42B0-8C6E-FB339DA2C9B8}; ZABvAHUAZwBsAEAAcwBoAHUAYgBlAHIAdAB0AGkAYwBrAGUAdABpAG4AZwAuAGMAbwBtAA==; Mon, 05 Mar 2012 21:46:26 GMT; UgBlAHMAeQBuAGMAaQBuAGcAIABpAG4AIABlAGQAaQBmAGYA x-cr-puzzleid: {4883D68B-C094-42B0-8C6E-FB339DA2C9B8} x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Received-From: 207.246.209.200 X-Mailman-Approved-At: Mon, 05 Mar 2012 17:11:53 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83947 Archived-At: Sometimes ediff regions get off by one. (It seems to get confused around li= nes that consist only of whitespace, something that happens easily in emacs= .) Is there a "nice" way to get ediff to resync? I can imagine writing the code to (1) gather relevant vars and their values= , (2) quit ediff, (3) narrow the buffers from point to EOB, (4) run ediff-b= uffers on the same buffers and (5) restore all the vars. However, I'm guess= ing that with the complexity of ediff will make that slightly harder than m= y uneducated imagination is guessing right now. Thanks. ,Doug