From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21864: 25.0.50; `raise-frame' steals focus some time after being called if the frame was iconified Date: Sun, 08 Nov 2015 19:24:33 +0100 Message-ID: <563F9361.9070503@gmx.at> References: <87a8qofhbw.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447007182 27398 80.91.229.3 (8 Nov 2015 18:26:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Nov 2015 18:26:22 +0000 (UTC) To: Artur Malabarba , 21864@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 08 19:26:11 2015 Return-path: Envelope-to: geb-bug-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 1ZvUfK-0004hg-MZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Nov 2015 19:26:10 +0100 Original-Received: from localhost ([::1]:48446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUfJ-0003JJ-Mt for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Nov 2015 13:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUfF-0003Gt-N0 for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvUfC-0000yr-J0 for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:26:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUfC-0000yn-Gu for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZvUfC-00028z-7x for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Nov 2015 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21864-submit@debbugs.gnu.org id=B21864.14470071088176 (code B ref 21864); Sun, 08 Nov 2015 18:26:02 +0000 Original-Received: (at 21864) by debbugs.gnu.org; 8 Nov 2015 18:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:57832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvUeK-00027n-1A for submit@debbugs.gnu.org; Sun, 08 Nov 2015 13:25:08 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:52654) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvUdz-00026z-4J for 21864@debbugs.gnu.org; Sun, 08 Nov 2015 13:25:05 -0500 Original-Received: from [192.168.1.100] ([213.162.68.71]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MO77c-1Zpyrx2wTs-005YyU; Sun, 08 Nov 2015 19:24:45 +0100 In-Reply-To: <87a8qofhbw.fsf@gmail.com> X-Provags-ID: V03:K0:5NXfD78RwP1fAEmHv2bwX2cuSRTXokwdpZmHVaj2VR4GY5v5Xky M1sB9ksvZvjXHbqCZB1siJqeeRqfdymWSV8UJdMJpi08MPGOGMY6tHKx3FZ+6KcSbkAAZN2 27AWsBjtJnqZjRf1RR0UqfEQfGiKlrpQ6AU2fz/UwtvH/k/QDv/F2leU9xDnPElK7IcIy5s KTGgglNXDqZ/E1tni3yoQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:0LG44guQfVQ=:fCrAaCelF9A647J95ewW6P I+SRFkwXjRTksE51z6DUw9Giv+/hrOdjd3pJDZW3KozLdNNNJ4GjPFOa2Hc4hRUq3GtqN7wox ntvczYddnm+Q7h+RLj+GvVuJIPbB75qiPYvCwn4/Aqq1hGgdck1ukI3+lNSD1OFA72yxR/HdK eLA4Bwz6s9QZ08qJaLf9qtqK/SZeuYDgSINTd2ySp8TsMe/tLg8XZDmcohB6Jmm0OlFvMD493 PFsdXQiy8D+GlRqcG2oJnfOZZGQK8y+CzNbR8QaW22G47CN3Q/R6z2gsW79wxaMjCIPhnHU3q J6W5qGDH1Q0jF0HZYQD2k/9JVM2Zn28kyqOyR9lr5yWaFHKLAxmusO1+muvjzaaWqKR3ZFCAX iClq3BT8N9Rx7osV2fEmAXlwEAl37ukjPNHgUNaETi1rBNgc3wlIKfEdDnUdAf6ijbWVPu2j3 bErylQZogqhRLk8keqevX2yc/Y9+WeP06gJrDSfz2q6ZWKH/xCqsJEn3tSfPKejNXzfuiqkNh lrsYTIcUUwe1cGar6DFg9YkOtCw8D2IJk1Jm8oXSc7TgRWBlMafXWXF4YF7fU5w8O5nnd/IBT AppPeRQm+F/nF0SbEVz0AUNzjPtorJ9YoQ94NUN0q+CtLD0xYQmSwShulZ+KbG7E2qRCfW711 LP5k7ugAumx2p4UCNOXyFyzcpTWRme2uIsMmS0mlwIZBsCF9Fz2eKLrc+Peu5PFuvw8biAKgB v2gTE4rHXU7qatRglIKGZxjlIADvmp5tF5zsMaFnObFBPQN3nPYwzXxOOKe/IO/IwQA4NDDm X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108580 Archived-At: > (let ((cur (selected-frame))) > (raise-frame other-frame) > (select-frame cur)) > > Result: Even though that snippet ends with `(select-frame cur)', focus= > is left on `other-frame'. =E2=80=98raise-frame=E2=80=99 requires an interaction with the window man= ager. If the latter decides that raising a minimized frame will give focus to that frame that's it. You might want to look into bug#745 where you can find many references to window manager behaviors and older discussions on emacs-devel. martin