From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36894: Restore frameset focus and selectedness Date: Thu, 15 Aug 2019 22:37:59 +0300 Message-ID: <83lfvup6co.fsf@gnu.org> References: <878sscwovy.fsf@mail.linkov.net> <877e7rwbv7.fsf@mail.linkov.net> <834l2uconb.fsf@gnu.org> <874l2uug62.fsf@mail.linkov.net> <83y305btde.fsf@gnu.org> <87h86q8b3m.fsf@mail.linkov.net> <83a7ci9n4j.fsf@gnu.org> <87mugf4e8l.fsf@mail.linkov.net> <8336i6tolz.fsf@gnu.org> <87y2zw3gb8.fsf@mail.linkov.net> <12822045-5c5f-f575-8315-86a85657ecaa@gmx.at> <8336i3su1b.fsf@gnu.org> <871rxmnumm.fsf@mail.linkov.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="84348"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36894@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 21:39:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyLad-000Lh3-SL for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 21:39:15 +0200 Original-Received: from localhost ([::1]:46626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyLaX-0006jQ-3G for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 15:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46346) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyLaR-0006jJ-Qc for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 15:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyLaQ-0007d7-Qy for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 15:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyLaQ-0007cY-NT for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 15:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyLaQ-0005o7-Ez for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 15:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Aug 2019 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36894-submit@debbugs.gnu.org id=B36894.156589789522269 (code B ref 36894); Thu, 15 Aug 2019 19:39:02 +0000 Original-Received: (at 36894) by debbugs.gnu.org; 15 Aug 2019 19:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:52479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyLZf-0005n7-AN for submit@debbugs.gnu.org; Thu, 15 Aug 2019 15:38:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyLZd-0005mu-Ee for 36894@debbugs.gnu.org; Thu, 15 Aug 2019 15:38:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hyLZX-0006AG-RS; Thu, 15 Aug 2019 15:38:07 -0400 Original-Received: from [176.228.60.248] (port=4625 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hyLZX-0006vs-5N; Thu, 15 Aug 2019 15:38:07 -0400 In-reply-to: <871rxmnumm.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 15 Aug 2019 21:36:33 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:165141 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , 36894@debbugs.gnu.org > Date: Thu, 15 Aug 2019 21:36:33 +0300 > > Then I don't understand the logic of make-frame-command: > > (defun make-frame-command () > (interactive) > (if (display-graphic-p) > (make-frame) > (select-frame (make-frame)))) > > On a graphic display it doesn't select the new frame explicitly, > maybe on the assumption that all window managers should select it > afterwards? On a TTY, if you don't select the new frame, it is invisible. On a GUI display, the new frame is visible, so there's no need to explicitly select it, because no one said the user wants the new frame become selected.