Subject: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon

From: Dan Nicolaescu <[email-masked]>
Date: Thu, 2 Oct 2008 13:52:12 -0700 (PDT)

Romain Francoise <[email-masked]> writes:

  > Dan Nicolaescu <[email-masked]> writes:
  > 
  > > Can you please test this patch:
  > 
  > > --- faces.el.~1.425.~	2008-09-24 12:55:17.000000000 -0700
  > > +++ faces.el	2008-10-02 12:39:46.000000000 -0700
  > > @@ -2001,7 +2001,6 @@ Value is the new frame created."
  > >  	  ;; Make sure the tool-bar is ready to be enabled.  The
  > >  	  ;; `tool-bar-lines' frame parameter will not take effect
  > >  	  ;; without this call.
  > > -	  (tool-bar-setup frame)
  > >  	  (if (null visibility-spec)
  > >  	      (make-frame-visible frame)
  > >  	    (modify-frame-parameters frame (list visibility-spec)))
  > 
  > Works for me, thanks.

Thanks, I am not completely convinced it's the right fix, given the
comment that precedes this code.  Not sure what to do...

  > While I'm at it: the user who reported this bug to me also has the
  > problem with `set-default-font', it seems to have no effect with
  > --daemon.

Unfortunately I don't know much about the font stuff, and I don't have
time at the moment to deal with it, so someone else will have to deal
with that.