Subject: Re: bug#11622: Ediff frame loses focus under certain circumstance

From: martin rudalics <[email-masked]>
Date: Mon, 04 Jun 2012 11:17:25 +0200

> This is with Windows Emacs 24.1 pretest build 1
 > Start emacs -Q
 > Open two files (small and similar will do)
 > open Tools menu->Compare(Ediff)->Two Buffers...
 > Hit enter twice to get the two suggested buffers
 > Hit ? to expand the Ediff control panel commands
 > Hit n to get to next (first) diff
 > Hit b to copy diff from B to A
 > Hit n - and Ediff frame loses focus, goes to B instead

IIUC you can change this by removing the line

	   (not ediff-use-long-help-message)

from the function `ediff-recenter' but for some reason the current
behavior seems the expected one because `ediff-setup-control-frame'
looks at the value of `ediff-use-long-help-message' when deciding
whether to auto raise the control frame or not.

 > In GNU Emacs 22.0.91.1 (i386-mingw-nt5.1.2600)
 >  of 2006-12-03 on W2ONE
 > X server distributor `Microsoft Corp.', version 5.1.2600
 > configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'

I suppose this is not from the 24.1 pretest build.

martin