From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>
Cc: 32628@debbugs.gnu.org
Subject: bug#32628: 26; Rename `window-setup-hook'
Date: Thu, 6 Sep 2018 17:31:40 -0700 (PDT) [thread overview]
Message-ID: <bcc17e8a-c3dd-4c29-8cca-d96768eb5ce8@default> (raw)
In-Reply-To: <87tvn2jq2b.fsf@mail.linkov.net>
> >> 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.
>
> Actually the prefix after- implies there is its counterpart before-
I don't think it does.
> like in before-init-hook and after-init-hook.
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.
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.
There is speedbar-before-delete-hook. No such after hook.
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 OK with whatever you decide. I'm OK with it.
next prev parent reply other threads:[~2018-09-07 0:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-03 20:31 bug#32628: 26; Rename `window-setup-hook' Drew Adams
2018-09-04 21:41 ` Juri Linkov
2018-09-04 22:13 ` Drew Adams
2018-09-05 22:11 ` Juri Linkov
2018-09-05 22:35 ` Drew Adams
2018-09-06 21:44 ` Juri Linkov
2018-09-07 0:31 ` Drew Adams [this message]
2018-09-11 23:58 ` Juri Linkov
2022-01-29 15:26 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bcc17e8a-c3dd-4c29-8cca-d96768eb5ce8@default \
--to=drew.adams@oracle.com \
--cc=32628@debbugs.gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.