GNU bug report logs - #38143
27.0.50; Say that before-make-frame-hook & after-make-frame-functions are not invoked for the initial 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: Óscar Fuentes <ofv@HIDDEN>; dated Sat, 9 Nov 2019 03:19:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 38143) by debbugs.gnu.org; 14 Nov 2019 09:59:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 14 04:59:20 2019
Received: from localhost ([127.0.0.1]:60973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iVBuK-0008EA-1o
	for submit <at> debbugs.gnu.org; Thu, 14 Nov 2019 04:59:20 -0500
Received: from mout.gmx.net ([212.227.17.21]:56729)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1iVBuI-0008Dm-9X
 for 38143 <at> debbugs.gnu.org; Thu, 14 Nov 2019 04:59:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1573725549;
 bh=eqFF16ziWrLxsPvlXaMAytzepSex1KpemwlBG2Hq+C0=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=I1WDyASaziSkwyn8gC0gFt6faqZEAM9y/kYfLuqr+VqOvP0gev2XHeLFPK8W6for1
 2vwIeVYgZ6g+8TrIuf9DvhrKvDXn5ATvNmf342+kTzxL3/lo7Y4Vj8LwpqKuevBv0B
 a05Uu0lKpq6HxXLQgq7JoMi6t6eb6NQwztmOVCi4=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.102] ([46.125.249.17]) by mail.gmx.com (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MoO6C-1i77cT2i8e-00opAo; Thu, 14
 Nov 2019 10:59:09 +0100
Subject: Re: bug#38143: 27.0.50; Say that before-make-frame-hook &
 after-make-frame-functions are not invoked for the initial frame
To: Eli Zaretskii <eliz@HIDDEN>
References: <87mud5ivou.fsf@HIDDEN>
 <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN> <83a7959z7i.fsf@HIDDEN>
 <95e91f77-c045-d3c3-e7e2-3de6cbe9d734@HIDDEN> <83tv767ptk.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <2b07e963-d740-c430-e932-d96dac7c033d@HIDDEN>
Date: Thu, 14 Nov 2019 10:59:07 +0100
MIME-Version: 1.0
In-Reply-To: <83tv767ptk.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-AT
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:2EkUEhLlkXfNkiA4isqux+AD81yypIJNGDtc5Xc4z+bLkgJm1RF
 HBvNEfaQGKHqVLxomo+k0ZKp9mvJJzeZOrkKz2AEEWZD40cjkNMrwsxUN+DLDs52569jdVh
 VVjyDcXVYk+tS/CBxxUU14MNrHOcNvt7tBpKMh26AWKU4hQnsfohgqYVSbgqzzme11s29l2
 DXJWsf4KtpeX7bv3WZVIQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:nU8sdH36IR8=:JcCuvU1A9t4GOtAyifYAML
 Yoa35iGTQyyp/7BOcMTX1w7aVoK0AXcJmBVPdjz/5DKU6aDh7XYGsdvIhNhfh5B2yy7Wx9s4Z
 IDSm/Y+pCpxhvapUxEJrXgE0bjKKJJVM05xWQQ8WSwD/kgoLm7lh8hFUKeEksI/hEwoX4TaIj
 m8jCGeUFEamnar1uQQ0WkGxeVn6rrAeDpYaoHTM1S3KSip7tROMP5g+WTS9rCIwf3j8486e4w
 qGEQ1EenuA/hmBpLOU7zJCcSRyGiDvRhHdAM4g19ZKr6Mf/tI6BQRyq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Envelope-To: 38143
Cc: ofv@HIDDEN, 38143 <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 (-)

 > I'm not sure I understand how this scenario affects the issue at hand
 > in any significant manner.

It doesn't.  It's a related issue I noticed when reading the manual.

martin




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

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


Received: (at 38143) by debbugs.gnu.org; 14 Nov 2019 09:47:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 14 04:47:15 2019
Received: from localhost ([127.0.0.1]:60950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iVBia-0007vA-Pz
	for submit <at> debbugs.gnu.org; Thu, 14 Nov 2019 04:47:15 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56777)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iVBiY-0007ux-Lz
 for 38143 <at> debbugs.gnu.org; Thu, 14 Nov 2019 04:47:11 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47219)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iVBiS-0004zx-Qx; Thu, 14 Nov 2019 04:47:04 -0500
Received: from [176.228.60.248] (port=4413 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iVBiR-0001DN-LT; Thu, 14 Nov 2019 04:47:04 -0500
Date: Thu, 14 Nov 2019 11:46:47 +0200
Message-Id: <83tv767ptk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-reply-to: <95e91f77-c045-d3c3-e7e2-3de6cbe9d734@HIDDEN> (message from
 martin rudalics on Sun, 10 Nov 2019 10:45:50 +0100)
Subject: Re: bug#38143: 27.0.50; Say that before-make-frame-hook &
 after-make-frame-functions are not invoked for the initial frame
References: <87mud5ivou.fsf@HIDDEN>
 <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN> <83a7959z7i.fsf@HIDDEN>
 <95e91f77-c045-d3c3-e7e2-3de6cbe9d734@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38143
Cc: ofv@HIDDEN, 38143 <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 (---)

> Cc: ofv@HIDDEN, 38143 <at> debbugs.gnu.org
> From: martin rudalics <rudalics@HIDDEN>
> Date: Sun, 10 Nov 2019 10:45:50 +0100
> 
>  > But without an init file, where would the hooks come from?
> 
> From an early-init file.  IIUC that file is read before the initial
> frame is created.

I'm not sure I understand how this scenario affects the issue at hand
in any significant manner.




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

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


Received: (at 38143) by debbugs.gnu.org; 10 Nov 2019 09:46:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 10 04:46:01 2019
Received: from localhost ([127.0.0.1]:50609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTjnF-00005T-Eh
	for submit <at> debbugs.gnu.org; Sun, 10 Nov 2019 04:46:01 -0500
Received: from mout.gmx.net ([212.227.17.21]:60147)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1iTjnD-00004y-Pq
 for 38143 <at> debbugs.gnu.org; Sun, 10 Nov 2019 04:46:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1573379149;
 bh=T9dOOAls4IEJ2qop7yP/1sQNDzskrb2y458i1VvX/JQ=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=UmZnjnoYRfaQaGarIbHq33v3T22rZubmfMXKxyViufQsS3k3RxThVsucw5+yHgAkr
 Lwm6Yvl4nYu9/2v0Kf2UZZ6aZka22tqgLbmAUWYnH3Tnwcpf/yCI6ZwQs4S8Ht9v4U
 Mt3XN649B0eJxprI8tz28BOxow9oPiQuKURMM5fI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.102] ([46.125.249.100]) by mail.gmx.com (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M8hZJ-1iXqWr3bu5-004mNI; Sun, 10
 Nov 2019 10:45:49 +0100
Subject: Re: bug#38143: 27.0.50; Say that before-make-frame-hook &
 after-make-frame-functions are not invoked for the initial frame
To: Eli Zaretskii <eliz@HIDDEN>
References: <87mud5ivou.fsf@HIDDEN>
 <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN> <83a7959z7i.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <95e91f77-c045-d3c3-e7e2-3de6cbe9d734@HIDDEN>
Date: Sun, 10 Nov 2019 10:45:50 +0100
MIME-Version: 1.0
In-Reply-To: <83a7959z7i.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-AT
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:KWlt/CkaUbtvW9vq8DyWutztxDh9jws7v0nsTBY5cdR7Z+BM1tI
 Nwf+zoRNAMzmgonX7XlHLmFLRC79IbS1A4Oax9IJCr7idA9EC95Kcw2zzftdFvdU6rdZ4uo
 3eWye9HB11QjSlSX5pEUo3BgDjPffWXCupVQKOz3zhKxo0XYajEhqoBnh3JkHIrmn8CFlbD
 Bhk0KEyJvQF5TIBwSeEBw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Tbrzq+Oam8E=:wAOsfDfCI0KldjXGR7yxF1
 EW+VwI/Yb6ZvZEwwblCk97f9pYDJsavMKaQEZXhI5YcX3gGBYrY532h7xpczgUopitdG2oG30
 q9aFp3DVLukBprUiAlPCwnrwWXCcPvYI1dF+JyDWF3H33WNNulR0HlUeFJEoY+ZLfEq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vgJnOngJoSL93RSNuok880sOVEpz+iH7/hnq7AnZyelqg/Ca7y+
 t+SUuOsLoLZvxSZ+NRWfXfTysqVmaoxsVRJ1C2PiEHLO7yGETajqhAk1yai4=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 38143
Cc: ofv@HIDDEN, 38143 <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 (-)

 > But without an init file, where would the hooks come from?

 From an early-init file.  IIUC that file is read before the initial
frame is created.

martin




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

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


Received: (at 38143) by debbugs.gnu.org; 9 Nov 2019 17:21:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 09 12:21:54 2019
Received: from localhost ([127.0.0.1]:50222 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTUQp-0006wM-VV
	for submit <at> debbugs.gnu.org; Sat, 09 Nov 2019 12:21:54 -0500
Received: from relayout04-redir.e.movistar.es ([86.109.101.204]:46111)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ofv@HIDDEN>) id 1iTUQn-0006w8-Ug
 for 38143 <at> debbugs.gnu.org; Sat, 09 Nov 2019 12:21:50 -0500
Received: from sky (233.red-79-151-7.dynamicip.rima-tde.net [79.151.7.233])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: 981711563@HIDDEN)
 by relayout04.e.movistar.es (Postfix) with ESMTPSA id 479P7m6KJ7z11M5;
 Sat,  9 Nov 2019 18:21:40 +0100 (CET)
From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#38143: 27.0.50; Say that before-make-frame-hook &
 after-make-frame-functions are not invoked for the initial frame
References: <87mud5ivou.fsf@HIDDEN>
 <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN> <83a7959z7i.fsf@HIDDEN>
Date: Sat, 09 Nov 2019 18:21:40 +0100
In-Reply-To: <83a7959z7i.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 09 Nov
 2019 11:27:29 +0200")
Message-ID: <87imnthsnv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-CTCH-Score: 0.000
X-CTCH-ScoreCust: 0.000
X-TnetOut-Country: IP: 79.151.7.233 | Country: ES
X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout04
X-TnetOut-MsgID: 479P7m6KJ7z11M5.A6911
X-TnetOut-SpamCheck: no es spam, Unknown
X-TnetOut-From: ofv@HIDDEN
X-TnetOut-Watermark: 1573924903.29088@sCNuny0g9t3A6EFF7s06Hg
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 38143
Cc: martin rudalics <rudalics@HIDDEN>, 38143 <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 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>>       Note that any functions added to these hooks by your initial file are
>>    usually not run for the initial frame, since Emacs reads the initial
>>    file only after creating that frame.  However, if the initial frame is
>>    specified to use a separate minibuffer frame (*note Minibuffers and
>>    Frames::), the functions will be run for both, the minibuffer-less and
>>    the minibuffer frame.
>> 
>> This explanation is slightly misleading: Since the initial frame is
>> not created by 'make-frame', Emacs would not run these hooks even if
>> it did read the initial file earlier.
>
> But without an init file, where would the hooks come from?
>
> And anyway, the issue is probably only meaningful for users who define
> these hooks in init files.  So I think the only missing piece in the
> above is to mention the daemon case.

Please note that Martin is referring to the manual, not to the
docstrings. Although mentioning the daemon case on the manual would be
nice too.

IMO the missing information on the docstrings is:

1. The hooks are not run for the initial frame because it is not created
   with `make-frame'.

2. Except when Emacs runs as daemon, in that case make-frame is always
   used and therefore the hooks are executed.

The added text would be something like this:

  When Emacs is not executed as a daemon, `make-frame` is not used for
  creating the initial frame, therefore the hooks are not invoked on
  that case.

Or this:

  `make-frame` is not used for the frame that is automatically created
  before the init file is processed, therefore the hooks are not invoked
  for that frame. Please note that when Emacs is executed as a daemon
  there is no such frame.




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

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


Received: (at 38143) by debbugs.gnu.org; 9 Nov 2019 09:27:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 09 04:27:45 2019
Received: from localhost ([127.0.0.1]:48206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTN20-0007IP-UR
	for submit <at> debbugs.gnu.org; Sat, 09 Nov 2019 04:27:45 -0500
Received: from eggs.gnu.org ([209.51.188.92]:34048)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iTN1y-0007IC-SL
 for 38143 <at> debbugs.gnu.org; Sat, 09 Nov 2019 04:27:43 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37167)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iTN1t-0005bT-E6; Sat, 09 Nov 2019 04:27:37 -0500
Received: from [176.228.60.248] (port=4167 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iTN1s-0008Ai-Gy; Sat, 09 Nov 2019 04:27:37 -0500
Date: Sat, 09 Nov 2019 11:27:29 +0200
Message-Id: <83a7959z7i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-reply-to: <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN> (message from
 martin rudalics on Sat, 9 Nov 2019 10:01:34 +0100)
Subject: Re: bug#38143: 27.0.50;
 Say that before-make-frame-hook & after-make-frame-functions are not
 invoked for the initial frame
References: <87mud5ivou.fsf@HIDDEN>
 <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38143
Cc: ofv@HIDDEN, 38143 <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 (---)

> From: martin rudalics <rudalics@HIDDEN>
> Date: Sat, 9 Nov 2019 10:01:34 +0100
> 
>       Note that any functions added to these hooks by your initial file are
>    usually not run for the initial frame, since Emacs reads the initial
>    file only after creating that frame.  However, if the initial frame is
>    specified to use a separate minibuffer frame (*note Minibuffers and
>    Frames::), the functions will be run for both, the minibuffer-less and
>    the minibuffer frame.
> 
> This explanation is slightly misleading: Since the initial frame is
> not created by 'make-frame', Emacs would not run these hooks even if
> it did read the initial file earlier.

But without an init file, where would the hooks come from?

And anyway, the issue is probably only meaningful for users who define
these hooks in init files.  So I think the only missing piece in the
above is to mention the daemon case.




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

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


Received: (at 38143) by debbugs.gnu.org; 9 Nov 2019 09:01:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 09 04:01:47 2019
Received: from localhost ([127.0.0.1]:48147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTMct-0006bZ-1F
	for submit <at> debbugs.gnu.org; Sat, 09 Nov 2019 04:01:47 -0500
Received: from mout.gmx.net ([212.227.17.21]:57831)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1iTMcq-0006bI-5S
 for 38143 <at> debbugs.gnu.org; Sat, 09 Nov 2019 04:01:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1573290093;
 bh=uBzSUOvBTEc3dNIFq4dDZjR6LEpza7OtY0WuqtiwQJA=;
 h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To;
 b=L1pzSnkSQxl2FEEZkdYau4lnKhWTLz4vW3KIqXqrmY9lmrK+fzUcfqhEZ86yrfXVE
 ve0WeqWbYKWdXYFgb03W4dF36+RmkphKX5Z3P1hU348pcJIYGJFGE4ZAKpj7nliRe5
 mfNv/jmPVzlYAxcSyah2eEffwsIT4OunhpmvckF8=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.102] ([46.125.249.42]) by mail.gmx.com (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mv31c-1hcUzF1b96-00qygw; Sat, 09
 Nov 2019 10:01:33 +0100
Subject: Re: bug#38143: 27.0.50; Say that before-make-frame-hook &
 after-make-frame-functions are not invoked for the initial frame
To: =?UTF-8?Q?=c3=93scar_Fuentes?= <ofv@HIDDEN>, 38143 <at> debbugs.gnu.org
References: <87mud5ivou.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <db7c4068-42fd-e903-be83-4992984ed51d@HIDDEN>
Date: Sat, 9 Nov 2019 10:01:34 +0100
MIME-Version: 1.0
In-Reply-To: <87mud5ivou.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-AT
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:14YJDx03pSAuanbUezEgN3XofNIsMvmPoe/jJehypqNBaontg0B
 rr691vQHE7YzFhyP5NwJv7lqwZgJ/BjlFvAriQXasYy9aHJqK/8S8pPbgcvO6bUgnC9Br+p
 lNgOvQT07bW/2B0EaoYtFLDYfTA32lXgCH3LeWHA/5NRrt12JAgbwU6mIwu+W1k36bSqn4p
 7vHp9e0o0PwYsfjmD/Jcw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:0SDfOwgbim0=:8z4Ko/MqeF/Bu7ZVBbbJ49
 BYhdZCNeNVA8BLq60g4Vt41fJFQH0/lcU+SM4o4Z2xAr3pRXgUMHOJi5oYjEsbgfPfnI4NcTo
 CTCJfwvknMEaj0PjhfPxiWAKubC9zSNq5OV9Ml3hwB0dCqJHl20AC/QE9L79uhINh+eu8CMxQ
 gkGwFasLSZoraOJ+gxIFoL4X8MGIT2Ug10uYnZLemtv31fSEem4+wyRikG1jIK+QDEs0vdD53
 klEeZMZ1eHuFwuNDElRap0VMC8lVZVQAZYyeRtpgtu5Hxw3cVueWqLZyn+YqeqM9+SKXlLEUm
 UEmtfxK84sxvZFOPYk9dt8wRh9eT53RB9uIeO8l6EwiNq/pqtmmO42jSeywpsM8rIQ3yza6hS
 NupJ2n3d8wV45CWEeyd8ISFbvgPhJZ6aECW2XA6wF+8zApW6lstyUBwW4G+m13nPF5rVQXKpl
 dyifFAKn8luNoADem2Kt8qvrAqjxlDssnmgdCKAitIDsJoHwOv3/utTBAAgd6S+iZ4S+n4xK7
 LGUDkRGXEKg9owvp9ZWJA9MQbu92mpZPnX8kJNY5ItrZCWuRwDTRev7Tq4wOS/OFyVbfL0wvC
 y0mmKcgpaMtd9TN+jOupPo06pHLZSAZ8apbzX7KeGgBO3Iimr48RjjO1trZTJHpiPJqBB4rbh
 I2QY9v8xuadUD5BYJdWJl2AgbjBMNZ5bV6CWRU9LDZWFxT+XjIiwJFWgAtLdEfr324noHR2DT
 ElZl+xjBTICMRVh/h6LkzR/pgu120UiZ0XAqwy1pLgsQ1YSHJGGKxX+GySAdDhAHJnNmq0fuv
 fSMTqq0wd/sC/kEB4fzVEQ8JWRS72wLMqihR0phM9x4si8djrliK+erGWiuv52+JSKClTzN+m
 Klh3oX8VecUHmrdCuvGot4DBMWHu5YFAqpq9nFG/d3egngVqigIYCJzPZ6/Klo6GXGt6ifVxP
 f5zpE6oeNACcbOtW+7W5eYCEXawutUXq+8iA8P1QcUO3ptUEvqH5uf532s9ON8SRXevg+pEX8
 cffdFv8GIUOVihj3hjfxXRocrtGaXGKWDg+wn97puR7hYqld+iOXkKGUWW/o2pMOBEPYdhE3r
 h3piRS7gFKM7bh92BgNYxlywyV86rTS7/d8koYV9xPOXL+fe5jJL5Jyy8CxL2nVtJT3gP57Je
 8K+Z17dAplNQgLAd/bPODnbdWcC972XMUyE/4x3mX7qxuye0etrq0zu5JR7r4MJr5K9FaVhyd
 n8km+yUR4IPcz78qR9B+JuiaIxlJTIdsdH6HXlA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 38143
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 (-)

 > Currently de docstrings of those variables do not mention that they are
 > not invoked for the initial frame. Adding that detail is trivial, except
 > that when the initial frame belongs to a daemon they are invoked.
 >
 > I'm not sure how to word that information.

The reason is that the initial frame is not made by 'make-frame'.  The
Elisp manual says

      Note that any functions added to these hooks by your initial file are
   usually not run for the initial frame, since Emacs reads the initial
   file only after creating that frame.  However, if the initial frame is
   specified to use a separate minibuffer frame (*note Minibuffers and
   Frames::), the functions will be run for both, the minibuffer-less and
   the minibuffer frame.

This explanation is slightly misleading: Since the initial frame is
not created by 'make-frame', Emacs would not run these hooks even if
it did read the initial file earlier.  Hints for improving the
documentation are welcome.

martin




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

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


Received: (at submit) by debbugs.gnu.org; 9 Nov 2019 03:18:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 08 22:18:52 2019
Received: from localhost ([127.0.0.1]:48038 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTHH2-00066v-9v
	for submit <at> debbugs.gnu.org; Fri, 08 Nov 2019 22:18:52 -0500
Received: from lists.gnu.org ([209.51.188.17]:42674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ofv@HIDDEN>) id 1iTHGz-00066m-UF
 for submit <at> debbugs.gnu.org; Fri, 08 Nov 2019 22:18:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38935)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ofv@HIDDEN>) id 1iTHGy-0000sZ-UX
 for bug-gnu-emacs@HIDDEN; Fri, 08 Nov 2019 22:18:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ofv@HIDDEN>) id 1iTHGx-0000Qt-OA
 for bug-gnu-emacs@HIDDEN; Fri, 08 Nov 2019 22:18:48 -0500
Received: from relayout01.e.movistar.es ([86.109.101.201]:57637
 helo=relayout01-redir.e.movistar.es)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ofv@HIDDEN>) id 1iTHGx-0000Kq-HP
 for bug-gnu-emacs@HIDDEN; Fri, 08 Nov 2019 22:18:47 -0500
Received: from sky (233.red-79-151-7.dynamicip.rima-tde.net [79.151.7.233])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: 981711563@HIDDEN)
 by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4792R65mTFzfZv0
 for <bug-gnu-emacs@HIDDEN>; Sat,  9 Nov 2019 04:18:42 +0100 (CET)
From: =?utf-8?Q?=C3=93scar_Fuentes?= <ofv@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; Say that before-make-frame-hook &
 after-make-frame-functions are not invoked for the initial frame
Date: Sat, 09 Nov 2019 04:18:41 +0100
Message-ID: <87mud5ivou.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-CTCH-Score: 0.000
X-CTCH-ScoreCust: 0.000
X-TnetOut-Country: IP: 79.151.7.233 | Country: ES
X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01
X-TnetOut-MsgID: 4792R65mTFzfZv0.AF0ED
X-TnetOut-SpamCheck: no es spam, Unknown
X-TnetOut-From: ofv@HIDDEN
X-TnetOut-Watermark: 1573874323.06155@+FTS3ytd9UWhbypGrZ/oDA
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 86.109.101.201
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
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 (---)


Currently de docstrings of those variables do not mention that they are
not invoked for the initial frame. Adding that detail is trivial, except
that when the initial frame belongs to a daemon they are invoked.

I'm not sure how to word that information.


In GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit)
 of 2019-11-09 built on sky
Repository revision: f8284f1e408b38e6a3c0e2a1d5a465fefac6800a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux bullseye/sid




Acknowledgement sent to Óscar Fuentes <ofv@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#38143; 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: Mon, 25 Nov 2019 12:00:02 UTC

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