From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel Date: Sat, 06 Oct 2012 10:14:10 +0200 Message-ID: <506FE852.5020603@gmx.at> References: <87pq6pvmw4.fsf@gmail.com> <506F076B.9040204@gmx.at> <874nm8alm4.fsf@gmail.com> <506F21F5.1050208@gmx.at> <877gr44v08.fsf@gmail.com> <506F3001.1030305@gmx.at> <87391sg0z4.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349511296 22818 80.91.229.3 (6 Oct 2012 08:14:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2012 08:14:56 +0000 (UTC) Cc: 12218@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 06 10:15:01 2012 Return-path: Envelope-to: geb-bug-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 1TKPXF-0005YS-M3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 10:14:57 +0200 Original-Received: from localhost ([::1]:52588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKPX9-0001Ur-Jl for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 04:14:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKPX6-0001Sh-Ho for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 04:14:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKPX5-00008X-Cg for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 04:14:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKPX5-00008T-9H for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 04:14:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TKPXK-0004Ke-0U for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 04:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Oct 2012 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12218 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12218-submit@debbugs.gnu.org id=B12218.134951128316611 (code B ref 12218); Sat, 06 Oct 2012 08:15:01 +0000 Original-Received: (at 12218) by debbugs.gnu.org; 6 Oct 2012 08:14:43 +0000 Original-Received: from localhost ([127.0.0.1]:57623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKPX0-0004Jr-06 for submit@debbugs.gnu.org; Sat, 06 Oct 2012 04:14:42 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:53476) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TKPWx-0004Je-7o for 12218@debbugs.gnu.org; Sat, 06 Oct 2012 04:14:40 -0400 Original-Received: (qmail invoked by alias); 06 Oct 2012 08:14:15 -0000 Original-Received: from 62-47-53-96.adsl.highway.telekom.at (EHLO [62.47.53.96]) [62.47.53.96] by mail.gmx.net (mp070) with SMTP; 06 Oct 2012 10:14:15 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18+U6IrYlE+p9H3Ec3WIZcm6jwHTk4yJe8YBovnC3 M21jHjjtPICWdT In-Reply-To: <87391sg0z4.fsf@gmail.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65253 Archived-At: > 0. IMPORTANT: REMOVE all customizations and start with emacs -Q > 1. C-x C-f lisp/register.el > 2. C-x C-w register-1.el > 3. Make some changes here and there in register-1.el > 4. M-x ediff-files RET register.el RET register-1.el > 5. Enusre that the control panel pops-up in a separate frame. > 6. Keep pressing `n' > 7. The focus NEVER LEAVES the control panel on my machine. > > Summary: M-x vc-ediff RET is buggy while M-x ediff-files RET is NOT > buggy. `vc-ediff' ends up calling `ediff-setup' just like `ediff-files'. So we'd have to find something that happens before these two calls that affects the behavior of `ediff-next-difference'. Maybe in an assignment to one of ediff's hooks. If you trace the calls to `ediff-setup' can you see any differences? > Given the above experiment/result do you still think that window manager > is at play here. My "gut" feeling says that vc-ediff is "forgetting" > some stuff. (Remember vc-ediff is fairly a new arrival) No. What I meant was that the window manager might be at play when comparing the behavior on your machine and mine or when comparing a multiframe with a one-frame setup. > If multiple-frames is problematic (on some machines) shouldn't the > default be modified to be just plain. If more people complained, this would probably happen. But IIUC ediff is not very popular and largely unmaintained. > But, in that case, people like me, who are used to seeing the control > panel float to top-right, will complain that the defaults are changed > :-). Likely. I've been told on this list that my one-frame setup for ediff is non-standard and any problems it causes "won't be a problem for most users" ;-) martin