GNU bug report logs - #3397
NS: modeline shows inactive frame after make-frame

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; Reported by: David Reitter <david.reitter@HIDDEN>; Keywords: confirmed; dated Wed, 27 May 2009 01:50:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 3397) by debbugs.gnu.org; 17 May 2016 17:58:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 17 13:58:10 2016
Received: from localhost ([127.0.0.1]:56201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b2jFy-00060F-2J
	for submit <at> debbugs.gnu.org; Tue, 17 May 2016 13:58:10 -0400
Received: from mail-wm0-f52.google.com ([74.125.82.52]:38532)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1b2jFx-000603-Ac
 for 3397 <at> debbugs.gnu.org; Tue, 17 May 2016 13:58:09 -0400
Received: by mail-wm0-f52.google.com with SMTP id g17so44237885wme.1
 for <3397 <at> debbugs.gnu.org>; Tue, 17 May 2016 10:58:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=H7ziDlUEaxJT4WHLzvI+6U0VY6ZI29Dqlo2IbEypbAM=;
 b=F9wIlCJcoYythfpLASxdQaRM+hYHSNHA8OHQV/5NahRPnlik2eLeTD3bk2pbFZbdbn
 pTKgX480eNMq+RiJyrdSpiCgS2ct7+fPhny3HSW7gckoit0xC8Gow6NoW5yo9nlK41X9
 RUiXfisaA65quvnH90LPU+Q1peqQoCbAJpUFdoBdz5TM5sur4QR0PP6s0wZtUMfxZY2G
 t20KSnSI9nnUtVR0q9iOGa2bf2nh4PVTkBgLluQngbb0UofT+Ff4PZ1kBPIFqVOrywdB
 +oTSA92vS774RgO9JMAjWz0fSx3JaGXTDIEktuIFpnM2gYXTeScZL5jBDTXy8CnCz3wW
 0AVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=H7ziDlUEaxJT4WHLzvI+6U0VY6ZI29Dqlo2IbEypbAM=;
 b=JfSZ8nJ5298qa5qZlVCrb62mUq2fw6hyG5nV0lGitZS9sje9NyynfIAlL7MkpwOqiX
 vsXy2lSEkuAXVyvBZupYgNEzJ+D716nPV/eo1lOgQg2YzRb5phxO5uXU7cagRHrW60Oe
 h/gb6rXu6ehMdOS/A5lMQIp936ULG/93KNEDTux5tkBUF4Ycc4vAkNYwl+GfryscDuO0
 cv1VH3bfyzKA7BLEAQAZlj3XpITgzjln+Vuum5ZV2zYeXbgiDew3WjaH663TQtuY81/S
 fe77XMq1bcEBr0sz1cV92KsZTnMeALnpQz0IkjZ2yGo+BVVp7WbiCjaEc2TUWmLXn5Mu
 9WQA==
X-Gm-Message-State: AOPr4FWaiNz7oU0DmCFmpuQtQxHUGUE9oY0xlgT/xU/jaIBhqkgcSUA/FpPMyhMKhPVYVQ==
X-Received: by 10.28.43.129 with SMTP id r123mr23841538wmr.99.1463507883622;
 Tue, 17 May 2016 10:58:03 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-dcd0-ea5c-d060-789e.holly.idiocy.org.
 [2001:8b0:3f8:8129:dcd0:ea5c:d060:789e])
 by smtp.gmail.com with ESMTPSA id a207sm4833514wma.8.2016.05.17.10.58.02
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 17 May 2016 10:58:02 -0700 (PDT)
From: Alan Third <alan@HIDDEN>
To: Adrian Robert <adrian.b.robert@HIDDEN>
Subject: Re: bug#3397: NS: modeline shows inactive frame after make-frame
References: <75DCB7B5-0963-41EA-B640-0B97C993896A@HIDDEN>
Date: Tue, 17 May 2016 18:58:02 +0100
In-Reply-To: <75DCB7B5-0963-41EA-B640-0B97C993896A@HIDDEN> (Adrian Robert's
 message of "Thu, 23 Jul 2009 12:34:08 -0400")
Message-ID: <m2shxg7ej9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 3397
Cc: 3397 <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: -0.5 (/)

Adrian Robert <adrian.b.robert@HIDDEN> writes:

> The docs for make-frame say:
>
>> This function itself does not make the new frame the selected frame.
>> The previously selected frame remains selected.  However, the
>> window system may select the new frame for its own reasons, for
>> instance if the frame appears under the mouse pointer and your
>> setup is for focus to follow the pointer.
>
> How does this work under X with click-to-focus?  Or W32?
>
> If these just leave the frame unselected, perhaps we should too,
> though it seems disturbing to users.

I just checked a GTK+ build and it selects the frame even when
after-make-frame-functions is set to nil, so I'd guess that the NS build
should probably do so too.

-- 
Alan Third




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

Message received at 3397@HIDDEN:


Received: (at 3397) by emacsbugs.donarmstrong.com; 23 Jul 2009 16:34:25 +0000
From adrian.b.robert@HIDDEN Thu Jul 23 09:34:25 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.6 required=4.0 tests=AWL autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6NGYLgI010927
	for <3397@HIDDEN>; Thu, 23 Jul 2009 09:34:22 -0700
Received: by qw-out-2122.google.com with SMTP id 9so581612qwb.13
        for <3397@HIDDEN>; Thu, 23 Jul 2009 09:34:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:from:to
         :content-type:content-transfer-encoding:mime-version:subject:date
         :x-mailer;
        bh=Fc/iBnrYmcfmhiqVYqFXiYElD/qvr26Zu1xgXf8QVK0=;
        b=m1BhVhIqg+Lxd0TDR+JkBTbMOboTlwgGrwkHoJoLZ2Xx3Hqp6JfQVP3CF8H+SmJXJN
         EbRQKEG2k+0PVc9wROjJEksYA9vuywfoh2/qWULEHg4iVNXepNAxDfQAZ+cMoRT6JnT3
         a7fDCAZOLgdFLhWBP+7xwTzDUALNsk+Nvg36w=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:from:to:content-type:content-transfer-encoding
         :mime-version:subject:date:x-mailer;
        b=Lk7umOfpZIHJV75bAgcHlNx3q6KbPl5J/vUC9PhxrwPETR0FJuMh8WNrTQ1fou0E1M
         q4Qq8GtijnF/0zyLxDR5WtcaBr8XYG8r6889l1CidGMCRREh07x90fqvZgcRAzpP2zoB
         U0Q1KchnGtgh2BhVv9zx+AS5G0oXuo8ZibWq4=
Received: by 10.224.11.136 with SMTP id t8mr2263791qat.164.1248366860575;
        Thu, 23 Jul 2009 09:34:20 -0700 (PDT)
Received: from ?10.0.1.3? (dpc6745214221.direcpc.com [67.45.214.221])
        by mx.google.com with ESMTPS id 6sm2816857qwk.24.2009.07.23.09.34.16
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 23 Jul 2009 09:34:20 -0700 (PDT)
Message-Id: <75DCB7B5-0963-41EA-B640-0B97C993896A@HIDDEN>
From: Adrian Robert <adrian.b.robert@HIDDEN>
To: 3397 <at> debbugs.gnu.org
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: NS: modeline shows inactive frame after make-frame
Date: Thu, 23 Jul 2009 12:34:08 -0400
X-Mailer: Apple Mail (2.935.3)

The docs for make-frame say:

> This function itself does not make the new frame the selected frame.
> The previously selected frame remains selected.  However, the
> window system may select the new frame for its own reasons, for
> instance if the frame appears under the mouse pointer and your
> setup is for focus to follow the pointer.

How does this work under X with click-to-focus?  Or W32?

If these just leave the frame unselected, perhaps we should too,  
though it seems disturbing to users.




Acknowledgement sent to Adrian Robert <adrian.b.robert@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>, owner@HIDDEN. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>, owner@HIDDEN:
bug#3397; Package emacs,ns. Full text available.
bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm+emacsbugs@HIDDEN> to control@HIDDEN. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 27 May 2009 01:43:03 +0000
From david.reitter@HIDDEN Tue May 26 18:43:02 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.6 required=4.0 tests=AWL autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4R1gw2V012817
	for <submit@HIDDEN>; Tue, 26 May 2009 18:43:00 -0700
Received: from mx10.gnu.org ([199.232.76.166]:48519)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <david.reitter@HIDDEN>)
	id 1M98AU-0001Gk-2N
	for emacs-pretest-bug@HIDDEN; Tue, 26 May 2009 21:42:58 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <david.reitter@HIDDEN>)
	id 1M98AS-0002yL-U5
	for emacs-pretest-bug@HIDDEN; Tue, 26 May 2009 21:42:57 -0400
Received: from mail-ew0-f162.google.com ([209.85.219.162]:40240)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <david.reitter@HIDDEN>)
	id 1M98AS-0002y3-Hb
	for emacs-pretest-bug@HIDDEN; Tue, 26 May 2009 21:42:56 -0400
Received: by ewy6 with SMTP id 6so4417122ewy.42
        for <emacs-pretest-bug@HIDDEN>; Tue, 26 May 2009 18:42:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:from:to
         :content-type:content-transfer-encoding:mime-version:subject:date
         :x-mailer;
        bh=EO86rsjIT2zgO3xQQvnMhqgqY0eKafSem/7Hr5ToUU8=;
        b=lp1hIMAOTb53EDlZWSZThZDQIJK1CLEDXgr3R8oy8TTnm90sdtiJR1HiHXwfWRY3mo
         JZHmarFCVsxBFRGxYsItTkcsjVJTCGccEZ2m8xne3xQSvzPOs06bSYeyiWdzk+SBy3Zd
         zxA09zfIGfGqzeCA6wgMACFo6FPkLXL6QzVLg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:from:to:content-type:content-transfer-encoding
         :mime-version:subject:date:x-mailer;
        b=GRcHCzNaSflnTaD5MOMtuFTx/hX72gRvkLjv0S3mEwBGFSII7oIXFKJA4p+kY1Ki1R
         CaSDuOgqOQCmkFlqfWVlua2bfSiARorjHgQgdEQXgNbETP46z6yMVtdVtdPS3PQ/+fsw
         zFYltWjuxwDuXuxdHf8ck9b8YyZyPl82g8gf8=
Received: by 10.210.36.8 with SMTP id j8mr999909ebj.44.1243388574912;
        Tue, 26 May 2009 18:42:54 -0700 (PDT)
Received: from ?192.168.1.42? (pool-71-162-19-47.pitbpa.east.verizon.net [71.162.19.47])
        by mx.google.com with ESMTPS id 24sm5262316eyx.23.2009.05.26.18.42.53
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Tue, 26 May 2009 18:42:54 -0700 (PDT)
Message-Id: <0D3CB334-EE07-4B93-A492-10A818B1B9A1@HIDDEN>
From: David Reitter <david.reitter@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: NS: modeline shows inactive frame after make-frame
Date: Tue, 26 May 2009 21:42:51 -0400
X-Mailer: Apple Mail (2.935.3)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)

When after-make-frame-functions is set to nil (which is should be by  
default),
after a (make-frame), the new frame is selected but the mode-line in  
its window shows it as unselected, even though it is selected.


after-make-frame-functions defaults to (select-frame) [ns-win.el] in  
order to work around this bug.



Acknowledgement sent to David Reitter <david.reitter@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3397; 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: Tue, 17 May 2016 18:00:02 UTC

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