From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics 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, 9 Nov 2019 10:01:34 +0100 Message-ID: References: <87mud5ivou.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="72782"; mail-complaints-to="usenet@blaine.gmane.org" To: =?UTF-8?Q?=C3=93scar?= Fuentes , 38143@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 10:03:52 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 1iTMer-000Iny-2c for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 10:03:49 +0100 Original-Received: from localhost ([::1]:35414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTMep-0004Xj-OP for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 04:03:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41113) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTMd9-0004Bh-Jq for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:02:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTMd8-0005CD-Ko for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:02:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTMd8-0005C9-HT for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTMd8-0006cQ-EM for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 04:02: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: Sat, 09 Nov 2019 09:02:02 +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.157329010725397 (code B ref 38143); Sat, 09 Nov 2019 09:02:02 +0000 Original-Received: (at 38143) by debbugs.gnu.org; 9 Nov 2019 09:01:47 +0000 Original-Received: from localhost ([127.0.0.1]:48147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTMct-0006bZ-1F for submit@debbugs.gnu.org; Sat, 09 Nov 2019 04:01:47 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:57831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTMcq-0006bI-5S for 38143@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 Original-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 In-Reply-To: <87mud5ivou.fsf@telefonica.net> Content-Language: de-AT X-Provags-ID: V03:K1:14YJDx03pSAuanbUezEgN3XofNIsMvmPoe/jJehypqNBaontg0B rr691vQHE7YzFhyP5NwJv7lqwZgJ/BjlFvAriQXasYy9aHJqK/8S8pPbgcvO6bUgnC9Br+p lNgOvQT07bW/2B0EaoYtFLDYfTA32lXgCH3LeWHA/5NRrt12JAgbwU6mIwu+W1k36bSqn4p 7vHp9e0o0PwYsfjmD/Jcw== 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+GySAdDhAHJnNmq0fu 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:171308 Archived-At: > 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