GNU bug report logs - #6068
make-frame-visible but not selected

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Lennart Borgman <lennart.borgman@HIDDEN>; dated Fri, 30 Apr 2010 19:40:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 6068 <at> debbugs.gnu.org:


Received: (at 6068) by debbugs.gnu.org; 2 Jul 2021 12:28:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 02 08:28:01 2021
Received: from localhost ([127.0.0.1]:35195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lzIH2-0004NY-PQ
	for submit <at> debbugs.gnu.org; Fri, 02 Jul 2021 08:28:00 -0400
Received: from quimby.gnus.org ([95.216.78.240]:53306)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lzIGz-0004NG-Tq
 for 6068 <at> debbugs.gnu.org; Fri, 02 Jul 2021 08:27:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=tGviJOqXyEI4tW5EcWOfq5yIejZq80PiSvhMy2ORHLU=; b=UOL52xQw4jgDuBV908WY7xqB7F
 vFx1MMuuIngnPWgLScEsuwUR57uRjrfx/KnIY/b10w1uF1ko3QIXsdewf6/xYKzqKefmynyvm8BKc
 H9XwBuW0KGr4o5HvxCGaqtJnt1SZEhuSIesDBcxneSqtQdzqF3MwnCxGoIWy7rbISXnA=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lzIGq-0000KG-NT; Fri, 02 Jul 2021 14:27:51 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#6068: make-frame-visible but not selected
References: <o2je01d8a51004301239x415e4cbdhc74a9d9ca8eff8e1@HIDDEN>
 <87tumf726i.fsf@HIDDEN> <87v95tt13p.fsf@HIDDEN>
 <bfe46f38-14f3-52e5-fdc4-975552f3274a@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEX7+/tJSkskGxop
 KywJCgoWFhe2MyDnVSrzi3HrbVZeIx/6pZbzv7H///9lCOMZAAAAAWJLR0QN9rRh9QAAAAlwSFlz
 AAAASAAAAEgARslrPgAAAAd0SU1FB+UHAgwEFgvWvTsAAAFbSURBVDjLldSxTsMwEADQFKSqLRMy
 /ECcMBPb/YCSy06IszBW0IiMDAkqO6iwItKqWxSK1A2mFvcDkPpTJEipKDoPvcnK8/nsOymGoYsG
 5VicGnuAxrmxvzucWRo4ucWhlWqgnRa6jCEOByorNPA4xGGZDiQKr1ls4RAlBQrTLEEzOveLBH/g
 JEvQ4u0oHZQ1rK4LF1z+rTHO4gI8QXqCW7ANcws87piMktDkAbNNVkEz6s9KcChxyVZGZ27OyqOP
 KaGEBA6TYQ1veQmufUS7THC/x0QNl8UcwINqN/EPSW8z2vduXK1cIrigfuDW0EzzPoD0OOOcicAN
 Ntcd5VfVKiyPC7dbYl97Ev53pZz5usg9tFffDzk+2rF6wmExfcYnuFipLxOD0Uotcwwmav1hSxTU
 C8cy7pRCZ966UZ/4daORRKE1RF7x2xL0ezUoSwMNKTUZADuC9iejix8mXzRkT9EwlwAAACV0RVh0
 ZGF0ZTpjcmVhdGUAMjAyMS0wNy0wMlQxMjowNDoyMiswMDowMPcoTgkAAAAldEVYdGRhdGU6bW9k
 aWZ5ADIwMjEtMDctMDJUMTI6MDQ6MjIrMDA6MDCGdfa1AAAAAElFTkSuQmCC
X-Now-Playing: Jane Siberry's _2020: A World Without Music_: "Begat Begat"
Date: Fri, 02 Jul 2021 14:27:48 +0200
In-Reply-To: <bfe46f38-14f3-52e5-fdc4-975552f3274a@HIDDEN> (martin rudalics's
 message of "Fri, 2 Jul 2021 14:25:41 +0200")
Message-ID: <87zgv4q4sb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  martin rudalics <rudalics@HIDDEN> writes: > should fix it
 but here on Debian Buster this does not work and I have to > use > >
 (set-frame-parameter
 frame 'no-accept-focus t)) > > to handle Lennart's use case. This is not
 TRT because the frame [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6068
Cc: Lennart Borgman <lennart.borgman@HIDDEN>, 6068 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

martin rudalics <rudalics@HIDDEN> writes:

> should fix it but here on Debian Buster this does not work and I have to
> use
>
>   (set-frame-parameter frame 'no-accept-focus t))
>
> to handle Lennart's use case.  This is not TRT because the frame
> probably should accept focus later but so far I have not found a
> reliable way to fix that.

Ah, OK.  I'm reopening the bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6068; Package emacs. Full text available.

Message received at 6068 <at> debbugs.gnu.org:


Received: (at 6068) by debbugs.gnu.org; 2 Jul 2021 12:25:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 02 08:25:52 2021
Received: from localhost ([127.0.0.1]:35191 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lzIEy-0004KR-DO
	for submit <at> debbugs.gnu.org; Fri, 02 Jul 2021 08:25:52 -0400
Received: from mout.gmx.net ([212.227.17.21]:43065)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1lzIEw-0004K8-A7
 for 6068 <at> debbugs.gnu.org; Fri, 02 Jul 2021 08:25:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1625228743;
 bh=iDmynlXP5RR2pfXuhDWvFBiIdiqeT8YFiWobElaVTkM=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=LX5ymEMUxDsMExKYYdykgPrBcPYYsUg3HuGvBoIpOMz1esRdYrvje/Pn6e1KvLFBj
 Yvv6CrOu4O0AohDhuiqIWyoVQZcTW4qlB4y3RXsbdFNPAix8SDVGHbWHTVdmYvH3Xx
 qIL3jKZ8mhfQ5q/Qr+5QlZSrPsfrHPJosVlUTE+8=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.100] ([213.142.96.118]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N1Obb-1lEWLs0tCd-012oX4; Fri, 02
 Jul 2021 14:25:43 +0200
Subject: Re: bug#6068: make-frame-visible but not selected
To: Lars Ingebrigtsen <larsi@HIDDEN>,
 Lennart Borgman <lennart.borgman@HIDDEN>
References: <o2je01d8a51004301239x415e4cbdhc74a9d9ca8eff8e1@HIDDEN>
 <87tumf726i.fsf@HIDDEN> <87v95tt13p.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <bfe46f38-14f3-52e5-fdc4-975552f3274a@HIDDEN>
Date: Fri, 2 Jul 2021 14:25:41 +0200
MIME-Version: 1.0
In-Reply-To: <87v95tt13p.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:mnuKHif6qA7HZsiorwq7MQyyQ78ciiwfUW+bC8y4VX38aOTS9v+
 7rSJooNZuYXmj6bJfi5jC7jLPYAim3ksaujvub2jMWnKnpn3wOoRREqI+iHDkaVd4t6LvbE
 +NQe1rOwxruoYzMpLQHUIR56wmRgoCAhCwNTv3oH4QMXQbDvBcYYdBh8kKPbnaacfBn54sb
 TC3l1Eae/53BGWzt7qmjw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:R276VQc+8Oo=:9dFbkb0ceGdUjglU3WvBnZ
 tybBw4rGJhkxEwN3Bu0TPpkoeb29a5otLX72O/IyeSKxP1JW/5F4N1qwSJbSLTJmuLa7muvh/
 ELA/4drzNewky+3oTkM/EOFnRmyv7pl3LbP4ilFmKkeEDHfEI3BkUIPRyv/JlQao0AVsuFJ8u
 t9oI/5kHB8kkUER58XRZ/ik//4PIAUW8/lp28aty1hgOqY5qNJTuiKdEhriPLGD9/5XNag88d
 Xpi67zIBAdEI2ryAYcyj/RQtDCQ5AiFoZWpKMb9rO6ggMqhea37yoPDdPdZdec9t/UJ7XZnF8
 8u0LOKd6m8daV44WGX4k0QCdAp48p3vurlnMJYNX6YkZgAWHka6RwXaBZuQOuV+BYDkxU0rd0
 FCU5ohaHBsYKaM2dfiDmfwoYDNqnESgTBUbH1UA4BsgawbqAMJ67Yka+orRqBr4XN/z4ZcJ/0
 7GHC09lbfWrCuBA1/3qSnXsvKPY59im3KnoWAkKMz+Z0KxG007Czg6gGSsAB8Lh+sN8/ifksm
 tquRuYqMGjhe4L6a4++P2/SejnFOTrwvkJSnb4jRzU89TEtPysY6Dhpa3KmxioclwQZU0YteE
 6b/2hRV1QVSMTFpopzqtsjFXh79/iaaejZ/MSHRvJisXv6zWHVTRV+9tsT4jzgGZy2/ZMa2OE
 M1yzIIBxa0xl/PKUFAm8nUpEukFQday3uQEmHOwR4nIkDsAfAOnGcQhH2FrC0rYA3IgNvNCnE
 wfT8QINaFtfBvP6pkomZquSWpeE9smXzg0xiwRw1R4ybESGkfJmamQ66R3kUpG3b7Z4ADIWm6
 pKKcS7Z1JmCWMXdfGPNc4hknAxRNf9X/9ZNw7k11z9cfNmhervQMHb49apErdrQpX0Go8Ful1
 QoRbLzaevFXUWkTMfH4f7LIVJ47kAdySZiUNANE6mR9VD7WXMtNcOSGw5iyAJv4wx7imkZxKV
 XQNnsZmtsJHeB6obhlxNW0rzFXNWzufK7iSD1cC3vZCJkWH9lfgxbuYMeb7NzozF2/AZU3uSU
 mXlT2qA3oh+QM2OtQPtUUnXV3ifhMUSLraah73BU+cZ7eI2G7NBV45FpK2AEPp9kSrzgUnO8j
 4tIR5uNJqH/EaqMDYxxdOYYNL1giqddiQZw
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 6068
Cc: 6068 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

 >> So I seem to be unable to reproduce this (under Debian/bullseye, under
 >> Gnome Shell).
 >>
 >> Are you still seeing this issue in recent Emacs versions?
 >
 > More information was requested, but no response was given within a
 > month, so I'm closing this bug report.  If the problem still exists,
 > please respond to this email and we'll reopen the bug report.

Just to elaborate: After

   (setq frame (window-frame))
   (make-frame)

a plain

   (make-frame-visible frame)

indeed won't change anything.  But

   (setq frame (window-frame))
   (make-frame)
   (iconify-frame frame)

followed by

   (make-frame-visible frame)

usually will shift focus to the frame.  Conceptually,

   (set-frame-parameter frame 'no-focus-on-map t)

should fix it but here on Debian Buster this does not work and I have to
use

   (set-frame-parameter frame 'no-accept-focus t))

to handle Lennart's use case.  This is not TRT because the frame
probably should accept focus later but so far I have not found a
reliable way to fix that.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6068; Package emacs. Full text available.
bug closed, send any further explanations to 6068 <at> debbugs.gnu.org and Lennart Borgman <lennart.borgman@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 6068 <at> debbugs.gnu.org:


Received: (at 6068) by debbugs.gnu.org; 2 Jul 2021 11:19:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 02 07:19:17 2021
Received: from localhost ([127.0.0.1]:35138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lzHCW-0000XT-UF
	for submit <at> debbugs.gnu.org; Fri, 02 Jul 2021 07:19:17 -0400
Received: from quimby.gnus.org ([95.216.78.240]:52366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lzHCV-0000XE-3M
 for 6068 <at> debbugs.gnu.org; Fri, 02 Jul 2021 07:19:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=EM0nEtlOv8UQ6qXHLyRQ14892VGbZiiV61tdTLLJS5g=; b=RhujugCnq8uTHYZcm5cjweyVu5
 C2a9X2pP5RAYvvgJW8Db/aL9+gkbkypDhhihkwnPg3maNh1Rc535gZXrHeGalCG+9FTYZHC1GAppa
 xptQK4GmBb48X7K8Pj9ucwTcKIJHymq9qqLWZloEhD2kLuZSWtIUljqNh3kpb2nYzXgk=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lzHCM-00089v-G4; Fri, 02 Jul 2021 13:19:09 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Lennart Borgman <lennart.borgman@HIDDEN>
Subject: Re: bug#6068: make-frame-visible but not selected
References: <o2je01d8a51004301239x415e4cbdhc74a9d9ca8eff8e1@HIDDEN>
 <87tumf726i.fsf@HIDDEN>
X-Now-Playing: Katie Gately's _The Wire Tapper 52_: "Waltz"
Date: Fri, 02 Jul 2021 13:19:06 +0200
In-Reply-To: <87tumf726i.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 03 Jun 2021 11:00:37 +0200")
Message-ID: <87v95tt13p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Lars Ingebrigtsen <larsi@HIDDEN> writes: > So I seem to
 be unable to reproduce this (under Debian/bullseye, under > Gnome Shell).
 > > Are you still seeing this issue in recent Emacs versions? More information
 was requested, but no response was given within a month, so I'm closing this
 bug report. If the problem still exists, please respond to this email and
 we'll reopen the bug report. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6068
Cc: 6068 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> So I seem to be unable to reproduce this (under Debian/bullseye, under
> Gnome Shell).
>
> Are you still seeing this issue in recent Emacs versions?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6068; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 6068 <at> debbugs.gnu.org:


Received: (at 6068) by debbugs.gnu.org; 3 Jun 2021 09:00:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 03 05:00:51 2021
Received: from localhost ([127.0.0.1]:42244 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lojDb-000768-MO
	for submit <at> debbugs.gnu.org; Thu, 03 Jun 2021 05:00:51 -0400
Received: from quimby.gnus.org ([95.216.78.240]:40388)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lojDa-0006zu-7l
 for 6068 <at> debbugs.gnu.org; Thu, 03 Jun 2021 05:00:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=XrrPX2vABJLIrGMEshOzElhfiUxR24g51JwJm5Scx1M=; b=bpla5Z4gGTRcImdm+goPR2jkNq
 +B+UoifNEbbiUvt0aAtVqri3vDJ4or6YLMm4bXjvTt2HPPa41xuvQZTcy+yD+64dbEgO8zz9A+ITh
 bT4bh/fGJM39KIBypZi2jrkD8XI1O4vKudMNqMM10DzB54mt4EbDRBRXf1iqiR9BQ8i8=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lojDR-000097-VE; Thu, 03 Jun 2021 11:00:40 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Lennart Borgman <lennart.borgman@HIDDEN>
Subject: Re: bug#6068: make-frame-visible but not selected
References: <o2je01d8a51004301239x415e4cbdhc74a9d9ca8eff8e1@HIDDEN>
X-Now-Playing: Little Simz's _Grey Area_: "Offence"
Date: Thu, 03 Jun 2021 11:00:37 +0200
In-Reply-To: <o2je01d8a51004301239x415e4cbdhc74a9d9ca8eff8e1@HIDDEN>
 (Lennart Borgman's message of "Fri, 30 Apr 2010 21:39:29 +0200")
Message-ID: <87tumf726i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Lennart Borgman <lennart.borgman@HIDDEN> writes: > The
 function make-frame-visible also makes the frame active. That is > not always
 what you want. (I'm going through old bug reports that unfortunately got
 no response at the time.) 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 6068
Cc: 6068 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Lennart Borgman <lennart.borgman@HIDDEN> writes:

> The function make-frame-visible also makes the frame active. That is
> not always what you want.

(I'm going through old bug reports that unfortunately got no response at
the time.)

I tried this in Emacs 28.  I did a

(setq frame (window-frame))

in one frame and then

(make-frame-visible frame)

from a different frame, and Emacs didn't give the first frame focus.  So
I seem to be unable to reproduce this (under Debian/bullseye, under
Gnome Shell).

Are you still seeing this issue in recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6068; Package emacs. Full text available.
Changed bug title to 'make-frame-visible but not selected' from 'Please learn Emacs to distinguish between visible and active windows' Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Apr 2010 19:40:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 30 15:40:00 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1O7w48-0006qm-J2
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2010 15:40:00 -0400
Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <lennart.borgman@HIDDEN>) id 1O7w46-0006qg-IJ
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2010 15:39:59 -0400
Received: from lists.gnu.org ([199.232.76.165]:36769)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <lennart.borgman@HIDDEN>) id 1O7w42-0007hc-89
	for submit <at> debbugs.gnu.org; Fri, 30 Apr 2010 15:39:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1O7w41-0007E1-PG
	for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2010 15:39:53 -0400
Received: from [140.186.70.92] (port=35165 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1O7w3z-0007Dk-Lh
	for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2010 15:39:52 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=unavailable version=3.3.0
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <lennart.borgman@HIDDEN>) id 1O7w3y-0001gS-87
	for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2010 15:39:51 -0400
Received: from fg-out-1718.google.com ([72.14.220.153]:63278)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <lennart.borgman@HIDDEN>) id 1O7w3y-0001gI-2Y
	for bug-gnu-emacs@HIDDEN; Fri, 30 Apr 2010 15:39:50 -0400
Received: by fg-out-1718.google.com with SMTP id e21so48372fga.12
	for <bug-gnu-emacs@HIDDEN>; Fri, 30 Apr 2010 12:39:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:mime-version:received:from:date
	:message-id:subject:to:content-type;
	bh=UlcwOt+oPRxdCFy4sSvV3+s/j7YMY3kmBoqCNWyao2o=;
	b=Ms9y58JJZZ/dcnTZWsOPY2a2WrIAbBqw3aiuGFnw6axB2I0SkS33CYzsUL4JmdXXOn
	O0MF6vM0JLWxubwb+eIR/NZwCPFsct/xB6G8cjF7n89RavL7ZFrSRNbHQrfviUYskqOc
	zFdzQf8ObkwleLOv2gJXqCKNMxLCoPkok9S6s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:from:date:message-id:subject:to:content-type;
	b=ewM8PGbKCAsjWWbs601jv5vf8GgfRMZCMaarpfpYudxmNwtDO9owFFZ1POBP+ca7ER
	qrRZsHigI1Iaygnj+aSbPE12dd7+OpLjuJ8ZrTzmw/KRi81UoCurcFq7smHAACBrt5Pr
	3r3dV0PYN1LkKHBkvZyjZ8tF1xh7aWyej6gLQ=
Received: by 10.239.193.74 with SMTP id h10mr187596hbi.115.1272656389172; Fri, 
	30 Apr 2010 12:39:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.239.164.81 with HTTP; Fri, 30 Apr 2010 12:39:29 -0700 (PDT)
From: Lennart Borgman <lennart.borgman@HIDDEN>
Date: Fri, 30 Apr 2010 21:39:29 +0200
Message-ID: <o2je01d8a51004301239x415e4cbdhc74a9d9ca8eff8e1@HIDDEN>
Subject: Please learn Emacs to distinguish between visible and active windows
To: Emacs Bugs <bug-gnu-emacs@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -4.6 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.7 (----)

The function make-frame-visible also makes the frame active. That is
not always what you want.

Could we please add a new parameter ACTIVATE to this function and let
it default to t for interactive use?

The changes needed to support this seems small. The function
x_make_frame_visible needs a new parameter ACTIVATE  to support this.
(On w32 it is a very small change, but I do not know about X.)

The reason to support it is that it makes it possible to make better
in place completion (compare
http://www.emacswiki.org/emacs/CompanyMode). The current
implementations tends to use overlays. This solution breaks down
currently when there are invisible parts in the buffer. I think a
popup frame would be easier.





Acknowledgement sent to Lennart Borgman <lennart.borgman@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#6068; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 30 Jul 2021 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.