From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#32628: 26; Rename `window-setup-hook' Date: Thu, 6 Sep 2018 17:31:40 -0700 (PDT) Message-ID: References: <572f4a89-a406-4eb7-8ec9-6ae363adfa09@default> <87o9dd7xfl.fsf@mail.linkov.net> <87lg8fy4q8.fsf@mail.linkov.net> <87tvn2jq2b.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536280208 6457 195.159.176.226 (7 Sep 2018 00:30:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 00:30:08 +0000 (UTC) Cc: 32628@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 07 02:30:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fy4ew-0001Y7-ST for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Sep 2018 02:30:03 +0200 Original-Received: from localhost ([::1]:35947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fy4h3-0005w0-2Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Sep 2018 20:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fy4gw-0005vt-Bs for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2018 20:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fy4gs-0000RD-S9 for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2018 20:32:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fy4gs-0000QP-Gf for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2018 20:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fy4gs-0005cH-8G for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2018 20:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Sep 2018 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32628-submit@debbugs.gnu.org id=B32628.153628031521572 (code B ref 32628); Fri, 07 Sep 2018 00:32:02 +0000 Original-Received: (at 32628) by debbugs.gnu.org; 7 Sep 2018 00:31:55 +0000 Original-Received: from localhost ([127.0.0.1]:48568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fy4gl-0005bs-Gy for submit@debbugs.gnu.org; Thu, 06 Sep 2018 20:31:55 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:48832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fy4gj-0005bg-Oz for 32628@debbugs.gnu.org; Thu, 06 Sep 2018 20:31:54 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w870TNox002168; Fri, 7 Sep 2018 00:31:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=rjTVnxQklMmAH3KgHG5y8+E4nLmOYqJdWdpI5vcl7dI=; b=yiDXIn4/GdvfibfeqjhfXmRt2dl6WBj3Cv+wLok3nwa621v1hbDtOogsYCxfNvKmIkZy +2aB/+t4rENWwKw2mR//tKwvIt6WUZfeiTzEniqixS1Xxp7ahI2yXcsbiFcBbCpZ5BtI wRHOY/PHG7meW+Q6SFK9Q7WeXxA/qJ3oXCcnQygCc8dLShvtvLTt6YKdnhmqZ2wvQnBa QOSDr4OOji6os1+w+h+oiNggA188wsLCXTvvkYQFFNbYpSvLcKxNRcKbut24V/X89FpC puGDa2HHa+9MjoRppy6E1LXlLhvlAet65Tzmh5lzChWZZOsl3ZXhHXt/7jPbgLW3DbwG 6A== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2m7kdqy298-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Sep 2018 00:31:48 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w870VgPd024358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 7 Sep 2018 00:31:42 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w870VfEe030277; Fri, 7 Sep 2018 00:31:42 GMT In-Reply-To: <87tvn2jq2b.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9008 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809070004 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: 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" Xref: news.gmane.org gmane.emacs.bugs:150102 Archived-At: > >> maybe a better rename for window-setup-hook would be after-init-frames= -hook > >> or even after-frames-setup-hook > > > > The frame settings involved are user settings; it's not about the init = frame without user settings. The latter name is OK: after-frames-setup-hook= . >=20 > Actually the prefix after- implies there is its counterpart before-=20 I don't think it does. > like in before-init-hook and after-init-hook.=20 The existence of some such pairs doesn't at all suggest, let alone imply, that either before or after must be paired with the other. The point of before and after is to signify occurrence relative to some other action/time. There is after-change-major-mode-hook. No such before hook. There is after-setting-font-mode-hook. No such before hook. There is bookmark-after-jump-hook. No such before hook. There is change-major-mode-after-body-hook. No such before hook. There is dframe-after-select-attached-frame-hook. No such before hook. There is ediff-after-quit-hook-internal. No such before hook.=20 There is find-function-after-hook. No such before hook. There is imenu-after-jump-hook. No such before hook. There is input-method-after-insert-chunk-hook. No such before hook. There is rmail-after-get-new-mail-hook. No such before hook. There is speedbar-after-create-hook. No such before hook. There is before-hack-local-variables-hook. No such after hook. There is before-make-frame -hook. No such after hook. There is ediff-before-setup-hook. No such after hook.=20 There is speedbar-before-delete-hook. No such after hook.=20 There is speedbar-before- popup-hook. No such after hook. There is speedbar-before-visiting-file-hook. No such after hook. There is speedbar-before-visiting-tag-hook. No such after hook. There is vc-before-checkin-hook. No such after hook. > So we don't need the prefix after-, I think we do. Or rather, I think it helps. > that leaves just frames-setup-hook. Is it better than window-setup-hook? I prefer after-frames-setup-hook. But I've already said that I'm probably O= K with whatever you decide. I'm OK with it.