From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: When do you prefer frames instead of windows? Date: Tue, 25 Nov 2014 08:57:59 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416934722 9170 80.91.229.3 (25 Nov 2014 16:58:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 16:58:42 +0000 (UTC) To: Ralf Fassel , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 17:58:36 2014 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 1XtJRj-00010v-8j for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 17:58:35 +0100 Original-Received: from localhost ([::1]:58396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtJRi-0005Rp-US for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 11:58:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtJRN-0005PE-JJ for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 11:58:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtJRE-0006hd-Sb for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 11:58:13 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:34294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtJRE-0006hV-La for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 11:58:04 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sAPGw06k024249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 Nov 2014 16:58:01 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sAPGw0do017690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 25 Nov 2014 16:58:00 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAPGw07g011206; Tue, 25 Nov 2014 16:58:00 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:101180 Archived-At: > | > Single frame for Ediff: A on top, B in the middle, Control at > | > bottom. The separate control frame is a nuisance with > | > focus-follows-mouse, it almost always is out of focus, loses > | > the cursor, or misbehaves in other fashions... > > > | Seems like that is something that could be fixed. Have you > | thought about filing a bug report / enhancement request? > | (`M-x report-emacs-bug') >=20 > It's not a bug... :-) I don't think there is anything that emacs can > do about it. If I want focus-follows-mouse (and I want it :-), then > moving the mouse out of the ediff control frame really should move the > mouse out of it, and not try to be helpful and force the mouse inside > the control frame or such nonsense. Is that not what happens? I would think that that is a bug. I agree that with focus-follow-mouse the focus should follow the mouse. ;-) And if it did do that? What would the problem be with Ediff, in that case? I should think that there would be no problem. If you leave your mouse in the Ediff Control Panel frame then focus should stay there, and if you move it out of that frame, into another frame, then focus should leave that frame. That should be no different from turning off focus-follows-mouse and clicking in a frame to focus it. Assuming that this worked (if it does not), what would the problem be for Ediff, for your use? > I now have bound a key to get my ediff control panel back: > runs the command (lambda nil (interactive) (let ((buf > (get-buffer "*Ediff Control Panel*"))) (if buf (pop-to-buffer > buf)))), > which is an interactive Lisp function. > and then C-l recenters everything (could even pack that in the > keybinding, but...) I don't think Ediff should be grabbing focus back, if you have asked that focus move elsewhere (which you do when you move the mouse out of the control frame). This sounds like a bug, to me (FWIW).