From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: full screen mode hides ediff control frame Date: Wed, 08 Apr 2015 06:05:16 +0200 Organization: GNU's Not UNIX! Message-ID: <86vbh7gt8j.fsf@kcals2.maillard.im> References: <20150407193201.03ced20a@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428466870 14483 80.91.229.3 (8 Apr 2015 04:21:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2015 04:21:10 +0000 (UTC) Cc: Help GNU Emacs To: Joe Riel Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 06:20:59 2015 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 1YfhU3-0000Ui-0i for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 06:20:59 +0200 Original-Received: from localhost ([::1]:50435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfhU1-0007Zb-S5 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 00:20:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfhEw-0004iI-IR for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 00:05:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfhEt-0004P7-Ak for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 00:05:22 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfhEt-0004P2-6y for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 00:05:19 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2800820A34 for ; Wed, 8 Apr 2015 00:05:15 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 08 Apr 2015 00:05:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=maillard.im; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=+8+dM zutpVCUl7RYqrygETGs2uY=; b=KgR9k51clis/Q/PE4oCrhzdE2EslAbq48JWA5 1hg04y53YmIxC1Uuz98Bk1u5euJD81EkNmcUAuimZzn16KMDrsSCNUEAw2V1uUyg UZU4XEqzZuCN8OXzCcnzRm/Y8P2IItoMsVJc08XKhSyXQ4SiLwblyFYWTbQ6TLwq eZnS4U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=+8+dMzutpVCUl7RYqrygETGs2uY=; b=aT2v5 dAoajoPUODY7HzH70YvpNlrwKNFV6EHrNnyx2LSrBxus917DwAvSwK2FpsPKPXF+ 6RuxHHvXOWCplPieHIxc8scNYdaoxkmMVm/NwChEQkghkNoKyLQiUA+IfkQg5h0b dh/ZPWbSR/eeqLUpz62ISlsUYxlUSn6ra1p7EY= X-Sasl-enc: /XkmshTiDWepJmwME/56i0yBXPltcCYj7ro/UVDb03SU 1428465918 Original-Received: from kcals2.maillard.im (unknown [92.142.65.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 625B1C00023; Wed, 8 Apr 2015 00:05:18 -0400 (EDT) User-Agent: mu4e/0.9.11 Emacs/24.3.1 (gnu/linux) In-reply-to: <20150407193201.03ced20a@gauss> X-GPG-Key-ID: 0xBA4909B78F04DE1B X-GPG-Key: http://wwwkeys.pgp.net/pks/lookup?search=0xBA4909B78F04DE1B&op=index X-GPG-Fingerprint: 9983 DCA1 1FAC 8DA7 653A F9AA BA49 09B7 8F04 DE1B X-Charlie: #jesuischarlie Jabber-ID: xavier@maillard.im X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 X-Mailman-Approved-At: Wed, 08 Apr 2015 00:20:48 -0400 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:103569 Archived-At: Joe Riel writes: > I start emacs in full-screen mode, mainly to remove > any border so as to get maximum screen area. > When ediff is started, the separate control frame > is behind the main emacs frame, so I need to M-tab > to it, which is a mild annoyance. Is there a simple > way to move it the front automatically? Seems you are missing `ediff-window-setup-function': ediff-window-setup-function is a variable defined in `ediff-wind.el'. Its value is ediff-setup-windows-plain Original value was ediff-setup-windows-default This variable may be risky if used as a file-local variable. Documentation: Function called to set up windows. Ediff provides a choice of three functions: (1) `ediff-setup-windows-multiframe', which sets the control panel in a separate frame. (2) `ediff-setup-windows-plain', which does everything in one frame (3) `ediff-setup-windows-default' (the default), which does (1) on a graphical display and (2) on a text terminal. The command M-x ediff-toggle-multiframe can be used to toggle between the multiframe display and the single frame display. If the multiframe function detects that one of the buffers A/B is seen in some other frame, it will try to keep that buffer in that frame. If you don't like any of the two provided functions, write your own one. The basic guidelines: 1. It should leave the control buffer current and the control window selected. 2. It should set `ediff-window-A', `ediff-window-B', `ediff-window-C', and `ediff-control-window' to contain window objects that display the corresponding buffers. 3. It should accept the following arguments: buffer-A, buffer-B, buffer-C, control-buffer Buffer C may not be used in jobs that compare only two buffers. If you plan to do something fancy, take a close look at how the two provided functions are written. You can customize this variable. This variable was introduced, or its default value was changed, in version 24.3 of Emacs. Regards -- Xavier.