GNU bug report logs -
#30994
27.0.50; Cursor doesn't blink (X window system)
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Fri, 30 Mar 2018 03:32:01 UTC
Severity: normal
Merged with 45857
Found in versions 27.0.50, 28.0.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #64 received at 30994 <at> debbugs.gnu.org (full text, mbox):
>> >> > Basically, some variables can only be usefully initialized after some
>> >> > part(s) of startup have happened already. One way of dealing with
>> >> > this is to have the variables record this information (e.g., in a
>> >> > plist of their symbol) that would allow us evaluate each variable only
>> >> > once, at the earliest opportunity where the prerequisites are
>> >> > fulfilled.
>> [...]
>> > I say we should get ready for the future now. Introducing the
>> > infrastructure I mentioned is not a big deal.
>> Hmm... maybe I misunderstood what you meant by that infrastructure, then.
>> Could you outline more concretely what it would look like?
> In a nutshell: record the startup phase for each variable in a plits
> of its symbol.
Ah, so instead of just
:initialize #'custom-initialize-delay
we'd have something like
:initialize (custom-initialize-delay 'before-early-init)
or
:initialize (custom-initialize-delay 'after-early-init)
Where `custom-initialize-delay` becomes something like
(defun custom-initialize-delay (phase)
(lambda (symbol)
(push (cons symbol phase) custom-delayed-init-variables)))
depending on when we want the initialization to take place?
>> Also, would it currently result in a behavior that's different from:
>>
>> - initialize all delayed vars before early-init
>> - re-initialize blink-cursor-mode after early-init
>>
>> ?
>
> With my proposal, blink-cursor-mode will not be mentioned by name in
> any of these places.
Yes, of course, but I'm asking whether the resulting *behavior* you're
after is this one.
Stefan
This bug report was last modified 4 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.