From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Shuguang Sun Newsgroups: gmane.emacs.bugs Subject: bug#29026: ediff control window initialized as fullscreen Date: Fri, 27 Oct 2017 21:47:48 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c05632cc934c0055c8788a5" X-Trace: blaine.gmane.org 1509112101 4072 195.159.176.226 (27 Oct 2017 13:48:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2017 13:48:21 +0000 (UTC) To: 29026@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 15:48:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e84zY-00089Q-EV for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 15:48:08 +0200 Original-Received: from localhost ([::1]:57392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e84zf-0006Z1-Nq for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 09:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e84zU-0006WZ-O9 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e84zS-0004PD-Ps for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:48:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55675) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e84zS-0004OW-L7 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e84zS-00012o-9H for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shuguang Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2017 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29026 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15091120804004 (code B ref -1); Fri, 27 Oct 2017 13:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2017 13:48:00 +0000 Original-Received: from localhost ([127.0.0.1]:36123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e84zQ-00012W-0c for submit@debbugs.gnu.org; Fri, 27 Oct 2017 09:48:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e84zO-00012D-BS for submit@debbugs.gnu.org; Fri, 27 Oct 2017 09:47:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e84zI-00041x-Ep for submit@debbugs.gnu.org; Fri, 27 Oct 2017 09:47:53 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e84zI-00041T-BP for submit@debbugs.gnu.org; Fri, 27 Oct 2017 09:47:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e84zG-0006QY-Su for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:47:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e84zG-0003wL-2n for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:47:50 -0400 Original-Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:52079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e84zF-0003ul-TT for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 09:47:50 -0400 Original-Received: by mail-qk0-x234.google.com with SMTP id 17so8376185qkq.8 for ; Fri, 27 Oct 2017 06:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zgp7CGE4rkdc/QWtJNzen97rHjQNPfxIzKcKIPZw/TE=; b=qigq/MHQViTz5e269Dons//S7GQQERNPI6EdrCGzB4bluyep7qwuTWBFMebvm+lGS9 qG4Xt9TaJ+z6hl4SXPVPiyVJHAOk1orgInUyMMzP3iJJBTR79fM4So+B8C5ghBF+Bk63 cNh7KqXoiUBX5oyotS6o6kDzMJ+EFF/9uiUpzA5FEUq9BG2PiLOua5zJlNEwtbxBBuso 4jzSF8Nms3P/hAildOhtBw4juq5E+6U1+6zL+wfgDx4kqIPoK5XoK3b+fahmtDoN0ZaU Yo8OHgudr37IaSeKMMsRH/GdFTEfQh+BCiHbpNueNUUXOjKwNwqyEPClW4mz6l940G8F KUBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zgp7CGE4rkdc/QWtJNzen97rHjQNPfxIzKcKIPZw/TE=; b=lLZFHiKSrEIF5WV0rZwAcdtNQcFfcKFj0pDcKQtv0r68lWIO2cxMv+LCCAMON5ahln yqDIOdv/Wc2Iw1nMuu9Q1i0+nnjx6pIaZcakyb3YrQ37Nyxqz0O8Z9LcBiYp3JEuwpFu +81y9d7mQaen6orMwe/WbKZ2OEEW1Wx1ldSVhVQwz/GmGBYHs47PQb33VppBROU3AxJs azalCG+DxI7RAT2s4xm1PKDTDaOba06F+5c3tMCqpqg2HgWXkPqV7vwzDdx8FrIwCf5l lCUAFYVPCLyn+O5crJhFMBwgF8AiS4js6V/KQ4wwPUpP32NmJ5Z6aMnQ6uklc1+NzVol jy2Q== X-Gm-Message-State: AMCzsaUotWQKtPwghbZsmRx3UyKpTZUbi1lT3k/9stmPXTCEqQxMLpM+ Dn4Bt8DwahIkiwg2wd84VLNO5SD3xYNfJ6wXzSrudg== X-Google-Smtp-Source: ABhQp+TwkA+qupZcQrHmUS+EqSSCh7HCq+EequV2/hMP+BVJil6nGrk/PPom64ZyyQDnbeWzPdK2blhdfZJdzl5IOSc= X-Received: by 10.55.98.206 with SMTP id w197mr818532qkb.292.1509112068779; Fri, 27 Oct 2017 06:47:48 -0700 (PDT) Original-Received: by 10.237.52.37 with HTTP; Fri, 27 Oct 2017 06:47:48 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:139074 Archived-At: --94eb2c05632cc934c0055c8788a5 Content-Type: text/plain; charset="UTF-8" Hi, The initialization of ediff control window is affected by the fullscreen in window-system-default-frame-alist. If I put in my .emacs: (cl-pushnew '(w32 (font . "Consolas-14") (fullscreen . maximized)) window-system-default-frame-alist) So that for each new frame, it will try to make the frame fullscreen including the edif control window. And when the ediff control pop-up on the right-side of the screening from top to bottom (like fullscreen). When I type "?", it shows the help message windon. I type "?" again, it gets back to the control windown, and now the window is on the top-right of the screen as a small window. I was suggested by *Stefan Monnier:* (with-eval-after-load 'ediff-wind (push '(fullscreen . nil) ediff-control-frame-parameters)) It solves the problem. I think the default behavior of the initialized ediff control window should not be full-screened. I suggest to add '(fullscreen . nil) to ediff-control-frame-parameters as default. Best Regards, Shuguang Sun --94eb2c05632cc934c0055c8788a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

The initialization of ed= iff control window is affected by the fullscreen in window-system-default-f= rame-alist.

If I put in my .emacs:
= (cl-pushnew '(w32 (font . "Consolas-14")
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (fullscreen . maximized))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 window-system-default-frame-alist)
So that for each new frame, it will try to make the frame full= screen including the edif control window. And when the ediff control pop-u= p on the right-side=20 of the screening from top to bottom (like fullscreen). When I type "?&= quot;, it shows the help=20 message windon. I type "?" again, it gets back to the control win= down,=20 and now the window is on the top-right of the screen as a small window.

I was suggested by Stefan Monnier:
<= div>
    (with-eval-after-load 'ediff-wind
      (push '(fullscreen . nil) ediff-control-frame-parameters))
<= /div>
It solves the problem.

I thin= k the default behavior of the initialized ediff control window should not b= e full-screened. I suggest to add '(fullscreen . nil)=C2=A0 to ediff-co= ntrol-frame-parameters as default.


=
Best Regards,
Shuguang Sun
--94eb2c05632cc934c0055c8788a5--