From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#36894: Restore frameset focus and selectedness Date: Thu, 15 Aug 2019 21:36:33 +0300 Organization: LINKOV.NET Message-ID: <871rxmnumm.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169249"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 36894@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 20:55:48 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 1hyKuZ-000hrL-G4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 20:55:47 +0200 Original-Received: from localhost ([::1]:46390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyKuY-0001sw-D9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 14:55:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40934) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyKsw-0008QW-J7 for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 14:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyKsu-0003Qr-5K for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 14:54:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyKsu-0003Qa-1d for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 14:54:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyKst-0004O5-Uk for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 14:54:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Aug 2019 18:54:03 +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.156589519916750 (code B ref 36894); Thu, 15 Aug 2019 18:54:03 +0000 Original-Received: (at 36894) by debbugs.gnu.org; 15 Aug 2019 18:53:19 +0000 Original-Received: from localhost ([127.0.0.1]:52441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyKsA-0004M6-To for submit@debbugs.gnu.org; Thu, 15 Aug 2019 14:53:19 -0400 Original-Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:15080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyKs8-0004Lw-Ak for 36894@debbugs.gnu.org; Thu, 15 Aug 2019 14:53:17 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 32FC734284B; Thu, 15 Aug 2019 18:53:15 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a66.g.dreamhost.com (100-96-148-147.trex.outbound.svc.cluster.local [100.96.148.147]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B35C7341EB1; Thu, 15 Aug 2019 18:53:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a66.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Thu, 15 Aug 2019 18:53:15 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Whistle-Thread: 291dc8112f5d0b02_1565895194964_1171750878 X-MC-Loop-Signature: 1565895194964:3028699355 X-MC-Ingress-Time: 1565895194963 Original-Received: from pdx1-sub0-mail-a66.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a66.g.dreamhost.com (Postfix) with ESMTP id B5C8984B46; Thu, 15 Aug 2019 11:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=pLOPReMQnZz8MXteaObbU5Xtyjs=; b= Dbk83MAtMli57FdrG6KWeLeTyMSPIcvRGifqZRj1WUF+c6yCNMjXdXEz8sHRevSx zilmPp7qZo9FpjM/sEaP8kq3CDXnCpCcC/YBBb6lSr4qlT7SlFf9tibp9eoG1Pd0 FTAIr9pw1iPOEcckpDduc9gtxbJzCELdVqt9OeKBFfk= Original-Received: from mail.jurta.org (m91-129-109-163.cust.tele2.ee [91.129.109.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a66.g.dreamhost.com (Postfix) with ESMTPSA id BD75884B44; Thu, 15 Aug 2019 11:53:07 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a66 In-Reply-To: (martin rudalics's message of "Thu, 15 Aug 2019 10:12:17 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudefuddguddvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtledrudeifeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdelrdduieefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt 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:165136 Archived-At: > If the window manager doesn't comply or is set up "wrongly", yes. > Focus stealing cannot be handled by the application alone. But if the > window manager is compliant, setting the 'no-focus-on-map' frame > parameter should handle the problem. I see that the MATE window manager doesn't select the new frame after (make-frame '((no-focus-on-map . t))) 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?