GNU bug report logs - #11622
Ediff frame loses focus under certain circumstance

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: yary <not.com@HIDDEN>; dated Sun, 3 Jun 2012 23:26:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 11622 <at> debbugs.gnu.org:


Received: (at 11622) by debbugs.gnu.org; 4 Jun 2012 12:52:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 04 08:52:32 2012
Received: from localhost ([127.0.0.1]:56852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SbWlr-0002s7-Cj
	for submit <at> debbugs.gnu.org; Mon, 04 Jun 2012 08:52:31 -0400
Received: from mail-yw0-f44.google.com ([209.85.213.44]:51713)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <not.com@HIDDEN>) id 1SbWlW-0002rb-8E
	for 11622 <at> debbugs.gnu.org; Mon, 04 Jun 2012 08:52:29 -0400
Received: by yhq56 with SMTP id 56so2902300yhq.3
	for <11622 <at> debbugs.gnu.org>; Mon, 04 Jun 2012 05:50:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type:content-transfer-encoding;
	bh=olkWbGOiD0q8Kb8ISVfMlZZ0tVgozvvxbba0vrlRS2E=;
	b=nI9SJozNlhYMFVNG6B7rPdUeSyZnJU6e2/tiBRIYaJ09NeB+fq9PVN/gAN3DLz8i+W
	cik2Ni5MkM4aEYXtwHXhnVSZQ/i9Jh3hHhUyboT2O8kHRFqQccSxPaw+6Y4FAp7gUfK8
	zykVDlBRDVSNp+MKE8NPhFUTYhLovCkfx8ALdLtOSMAgPvPakhS6zkIakX4mk4MAUiKW
	rv09cMA5phnHsqzPVgRl1aeU09UM62GZOaquxU2T7KX9m92Ljn81PvSvdN1XQG6M+Sif
	pBXp54pFfuR5/2ZHhVPqovWw7t7ZKWwKpM0L1txYG5IHirRFsBvn0+ajQjesSD1U7iCy
	wSQA==
Received: by 10.50.51.225 with SMTP id n1mr7671315igo.70.1338814205785; Mon,
	04 Jun 2012 05:50:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.141.239 with HTTP; Mon, 4 Jun 2012 05:49:45 -0700 (PDT)
In-Reply-To: <4FCC7D25.7020700@HIDDEN>
References: <CAG2CFAZhNk=an1J--AY4b3Z5mTxS6ffKHgm=TEno7mpHFnMhjQ@HIDDEN>
	<4FCC7D25.7020700@HIDDEN>
From: yary <not.com@HIDDEN>
Date: Mon, 4 Jun 2012 08:49:45 -0400
Message-ID: <CAG2CFAZF_xqX35UiG+TH9pvHxXbsjVKgu1K1A=rXnHSC8HVv-A@HIDDEN>
Subject: Re: bug#11622: Ediff frame loses focus under certain circumstance
To: martin rudalics <rudalics@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 11622
Cc: 11622 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

>> In GNU Emacs 22.0.91.1 (i386-mingw-nt5.1.2600)
>> =A0of 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.

You are right! I found the bug when running 24.1 pretest, but when I
ran with -Q my PATH got me the old emacs (which I kept in case of
catastrophe with 24). I have now reproduced the same bug using the
same keystrokes in a clean 24.1 pretest, here is its debug report:

> 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

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/Program Files/emacs-24/etc/DEBUG.


In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600)
 of 2012-06-01 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: nXML

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<drag-n-drop> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <tools> <compare>
<ediff-buffers> <return> <return> ? n b n <switch-frame>
M-x r e p o r t - e <tab> <return>

Recent messages:
Computing differences between
template-6897323563008038933-clay-grouse.xml522031K and
template-8410073415756606028-sonia.xml5220S1P ...
Buffer A: Processing difference region 0 of 15
Buffer A: Processing difference region 10 of 15
Buffer B: Processing difference region 0 of 15
Buffer B: Processing difference region 10 of 15
Processing difference regions ... done
Refining difference region 1 ...
Saving old diff region #1 of buffer A.  To recover, type `ra' [2 times]
Only white-space differences in region 1
Refining difference region 2 ...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils ediff-merg
ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff
nxml-uchnm rng-xsd xsd-regexp rng-cmpct regexp-opt rng-nxml rng-valid
rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn
nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph
nxml-enc xmltok browse-url url-util url-parse auth-source eieio byte-opt
bytecomp byte-compile cconv macroexp assoc gnus-util password-cache
url-vars mm-util mail-prsvr time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11622; Package emacs. Full text available.

Message received at 11622 <at> debbugs.gnu.org:


Received: (at 11622) by debbugs.gnu.org; 4 Jun 2012 09:19:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 04 05:19:19 2012
Received: from localhost ([127.0.0.1]:56648 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SbTRW-0005J9-QY
	for submit <at> debbugs.gnu.org; Mon, 04 Jun 2012 05:19:19 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:56673)
	by debbugs.gnu.org with smtp (Exim 4.72)
	(envelope-from <rudalics@HIDDEN>) id 1SbTRT-0005Iw-Qj
	for 11622 <at> debbugs.gnu.org; Mon, 04 Jun 2012 05:19:16 -0400
Received: (qmail invoked by alias); 04 Jun 2012 09:17:13 -0000
Received: from 62-47-40-19.adsl.highway.telekom.at (EHLO [62.47.40.19])
	[62.47.40.19]
	by mail.gmx.net (mp027) with SMTP; 04 Jun 2012 11:17:13 +0200
X-Authenticated: #14592706
X-Provags-ID: V01U2FsdGVkX1+rO1cojPar07MWXhfFrClh6zV7S2LZxAOpTmpFqw
	damMxEi+FYGqPA
Message-ID: <4FCC7D25.7020700@HIDDEN>
Date: Mon, 04 Jun 2012 11:17:25 +0200
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: yary <not.com@HIDDEN>
Subject: Re: bug#11622: Ediff frame loses focus under certain circumstance
References: <CAG2CFAZhNk=an1J--AY4b3Z5mTxS6ffKHgm=TEno7mpHFnMhjQ@HIDDEN>
In-Reply-To: <CAG2CFAZhNk=an1J--AY4b3Z5mTxS6ffKHgm=TEno7mpHFnMhjQ@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11622
Cc: 11622 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

 > 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11622; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Jun 2012 23:25:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 03 19:25:40 2012
Received: from localhost ([127.0.0.1]:56160 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SbKB1-0006PM-Ta
	for submit <at> debbugs.gnu.org; Sun, 03 Jun 2012 19:25:40 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:38346 ident=Debian-exim)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <not.com@HIDDEN>) id 1SbKAz-0006PF-IK
	for submit <at> debbugs.gnu.org; Sun, 03 Jun 2012 19:25:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47693)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <not.com@HIDDEN>) id 1SbK99-0004zR-D1
	for emacs-pretest-bug@HIDDEN; Sun, 03 Jun 2012 19:23:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <not.com@HIDDEN>) id 1SbK96-0007aQ-Ej
	for emacs-pretest-bug@HIDDEN; Sun, 03 Jun 2012 19:23:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-gg0-f169.google.com ([209.85.161.169]:63026)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <not.com@HIDDEN>) id 1SbK96-0007aK-8B
	for emacs-pretest-bug@HIDDEN; Sun, 03 Jun 2012 19:23:40 -0400
Received: by ggm4 with SMTP id 4so3072584ggm.0
	for <emacs-pretest-bug@HIDDEN>; Sun, 03 Jun 2012 16:23:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:from:date:message-id:subject:to:content-type;
	bh=UK4XbwtbcQn1sNQTVyRpVkZ83Kv7PEUS2/9VzFhsYnc=;
	b=DaqFxc9FRWiD93QSENIgxxydxBtxdBMS6TWT7orjFbBZl/U51pHQWWDc1+OYopQFtG
	mOT612dsNIR4XU4RpZnf1jWfEGVwRZ7zkEmPighqcNNz4UB/S7GTYehTNzo85SPbfS7i
	UofZWfbIAMY+1y3otZQvFfOn8ePHWjPVgm9zpdKToTzG7c50CrkvlFdU80EAYE8MB0k6
	ZwOTYVG1bGNgcYFkKX+XVt3f3PmmL/X/zzZ5hoJLzRif7b+8eEaiEUU7taGk/Oj15kxh
	DRtI6wl22nPUI1r65ZTsvwittV4DewYfZcqmmxcifuT9puqWJdLI1gJCOrjJFpRka6bQ
	x21w==
Received: by 10.50.140.70 with SMTP id re6mr6538571igb.23.1338765817389; Sun,
	03 Jun 2012 16:23:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.141.239 with HTTP; Sun, 3 Jun 2012 16:23:17 -0700 (PDT)
From: yary <not.com@HIDDEN>
Date: Sun, 3 Jun 2012 19:23:17 -0400
Message-ID: <CAG2CFAZhNk=an1J--AY4b3Z5mTxS6ffKHgm=TEno7mpHFnMhjQ@HIDDEN>
Subject: Ediff frame loses focus under certain circumstance
To: emacs-pretest-bug@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.161.169
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


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


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Program Files/Emacs/etc/DEBUG for instructions.


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'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: XHTML

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <drag-n-drop>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <tools> <compare>
<ediff-buffers> <return> <return> ? n b n <switch-frame>
M-x r e p o <tab> r t - e m <tab> <return>

Recent messages:
Buffer B: Processing difference region 0 of 17
Buffer B: Processing difference region 10 of 17
Processing difference regions ... done
Refining difference region 1 ...
Saving old diff region #1 of buffer A.  To recover, type `ra' [2 times]
Only white-space differences in region 1
Refining difference region 2 ...
Making completion list...
Loading help-mode...done
Loading emacsbug...done




Acknowledgement sent to yary <not.com@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11622; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.