[Top][All Lists]

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

Re: Blink Cursor mode is off by default

From: dancol
Subject: Re: Blink Cursor mode is off by default
Date: Mon, 11 Jun 2018 21:12:52 -0700
User-agent: SquirrelMail/1.4.23 [SVN]

> On June 12, 2018 5:33:32 AM GMT+03:00, Daniel Colascione
> <address@hidden> wrote:
>> On 06/11/2018 07:31 PM, Eli Zaretskii wrote:
>> >> Date: Mon, 11 Jun 2018 16:19:42 -0700
>> >> From: address@hidden
>> >> Cc: "Eli Zaretskii" <address@hidden>,
>> >>   address@hidden
>> >>
>> >>>> Well, yes, but they aren't supposed to do that in that file,
>> right?
>> >>
>> >> What about temporarily setting a variable watcher on
>> blink-cursor-mode so
>> >> we can tell whether early init touched it?
>> >
>> > I think it's too gross.
>> Why? We have a tool. Let's use it.
> I cannot explain it, but it sounds inelegant.
> I think we can use (get var 'standard-value) instead to detect
> variables that were modified in early-init, and refrain from
> reinitializing them the second time.

Does that work? In the case of (blink-cursor-mode -1), we just set
blink-cursor-mode to nil --- but it starts nil anyway, so we can't tell
the difference. The standard-value property doesn't help, I think.

>> >>> Not sure: a valid choice now is to do all your customizations in
>> >>> early-init.el and not use any .emacs.d/init.el at all.
>> >>
>> >> That's what I do now.
>> >
>> > I suggest you don't.  This is not what early-init.el is for.
>> Why not? Now I can have the entire configuration loaded before the
>> first
>> frame is created. It looks clean.
> Clean, but unsafe, as important parts of startup has not yet
> been done.  E.g., anything related to fonts or faces will probably
> not work reliably at that point.

Works fine for me. We don't run early init _that_ early: it comes before
packages and site files, but the basic machinery is up. All I want is the
ability to configure the first frame before it appears, and only X
resources and early-init provide this ability.

reply via email to

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