bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32628: 26; Rename `window-setup-hook'


From: Juri Linkov
Subject: bug#32628: 26; Rename `window-setup-hook'
Date: Thu, 06 Sep 2018 01:11:27 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> > What should the new name be?  Maybe something like
>> > `after-set-frame-parameters-startup-hook'?
>> 
>> This is the clear winner of the contest for the longest hook name.
>
> So far...  ;-)  Please suggest a good name.
>
> I'm probably OK with nearly any name that tries to suggest what this is 
> really for.
>
> `*-startup-hook' makes sense, I think, given the context and the other 
> `*-startup-hook'.
>
> `after-*' is conventional.
>
> Not sure how to shorten `set-frame-parameters', to get across what is done. 
> Maybe `set-frame-params'?

Looking at the existing hooks in startup.el:

before-init-hook
after-init-hook
emacs-startup-hook
term-setup-hook
inhibit-startup-hooks
window-setup-hook

maybe a better rename for window-setup-hook would be

after-init-frames-hook

or even

after-frames-setup-hook





reply via email to

[Prev in Thread] Current Thread [Next in Thread]