Subject: Re: bug#1754: 23.0.60; tool-bar is shown with tool-bar-mode off

From: Stefan Monnier <[email-masked]>
Date: Sun, 04 Jan 2009 23:10:01 -0500

>>> you also create a (tool-bar-lines . 0) entry for _both_
>>> `initial-frame-alist' and `default-frame-alist'.  When you do
>> Makes me wonder: why does it set it in initial-frame-alist since that
>> alist is always combined with default-frame-alist?
> If you mean that `modify-all-frames-parameters' should not change
> `initial-frame-alist' because the "right" value will be eventually found
> when scanning `default-frame-alist', you're maybe right.

Yes, I think that's what I mean.

> OTOH a user may have set `initial-frame-alist' to contain
> a tool-bar-lines entry and wants to explicitly turn off
> `tool-bar-mode' for the initial frame.  Consider Drew's example with
> "initial" replacing "default".

But modify-all-frames-parameters beings by removing any such setting in
initial-frame-alist anyway, so it seems this case still doesn't justify
adding the setting to initial-frame-alist.

        Stefan