From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38143: 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 11:27:29 +0200 Message-ID: <83a7959z7i.fsf@gnu.org> References: <87mud5ivou.fsf@telefonica.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="168177"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ofv@wanadoo.es, 38143@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 10:28:19 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 1iTN2Z-000hct-K1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 10:28:19 +0100 Original-Received: from localhost ([::1]:35500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTN2Y-00010p-2V for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 04:28:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43225) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTN2J-00010e-4D for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:28:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTN2I-0005ni-4h for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:28:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTN2H-0005nb-Vx for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTN2H-0007J1-QF for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2019 09:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38143 X-GNU-PR-Package: emacs Original-Received: via spool by 38143-submit@debbugs.gnu.org id=B38143.157329166528053 (code B ref 38143); Sat, 09 Nov 2019 09:28:01 +0000 Original-Received: (at 38143) by debbugs.gnu.org; 9 Nov 2019 09:27:45 +0000 Original-Received: from localhost ([127.0.0.1]:48206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTN20-0007IP-UR for submit@debbugs.gnu.org; Sat, 09 Nov 2019 04:27:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTN1y-0007IC-SL for 38143@debbugs.gnu.org; Sat, 09 Nov 2019 04:27:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iTN1t-0005bT-E6; Sat, 09 Nov 2019 04:27:37 -0500 Original-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 ) id 1iTN1s-0008Ai-Gy; Sat, 09 Nov 2019 04:27:37 -0500 In-reply-to: (message from martin rudalics on Sat, 9 Nov 2019 10:01:34 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:171315 Archived-At: > From: martin rudalics > 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.