From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon Date: Thu, 2 Oct 2008 13:52:12 -0700 (PDT) Message-ID: <200810022052.m92KqBWq018504@mothra.ics.uci.edu> References: <871vyykgqb.fsf@elegiac.orebokech.com> <200810021947.m92JlTsB018187@mothra.ics.uci.edu> <87ej2ydald.fsf@elegiac.orebokech.com> Reply-To: Dan Nicolaescu , 1066@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222981929 28386 80.91.229.12 (2 Oct 2008 21:12:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 21:12:09 +0000 (UTC) Cc: 1066@emacsbugs.donarmstrong.com To: Romain Francoise Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 23:13:07 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlVTi-0003H6-Gn for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 23:12:54 +0200 Original-Received: from localhost ([127.0.0.1]:54129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlVSf-0002Wi-Cp for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 17:11:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlVQv-0000xu-3W for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:10:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlVQt-0000wi-U7 for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:10:00 -0400 Original-Received: from [199.232.76.173] (port=57099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlVQt-0000wb-Pl for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:09:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46037) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlVQs-0003ZD-NP for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:09:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m92L9uJb005513; Thu, 2 Oct 2008 14:09:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m92L047a002572; Thu, 2 Oct 2008 14:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Oct 2008 21:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1066 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1066-submit@emacsbugs.donarmstrong.com id=B1066.12229807471189 (code B ref 1066); Thu, 02 Oct 2008 21:00:04 +0000 Original-Received: (at 1066) by emacsbugs.donarmstrong.com; 2 Oct 2008 20:52:27 +0000 Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m92KqOSg001183 for <1066@emacsbugs.donarmstrong.com>; Thu, 2 Oct 2008 13:52:25 -0700 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m92KqC2T023315; Thu, 2 Oct 2008 13:52:13 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m92KqBWq018504; Thu, 2 Oct 2008 13:52:12 -0700 (PDT) In-Reply-To: <87ej2ydald.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Thu, 02 Oct 2008 22:07:58 +0200") Original-Lines: 29 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m92KqC2T023315 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 02 Oct 2008 17:10:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21000 Archived-At: Romain Francoise writes: > Dan Nicolaescu 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.