From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon Date: Thu, 2 Oct 2008 12:47:29 -0700 (PDT) Message-ID: <200810021947.m92JlTsB018187@mothra.ics.uci.edu> References: <871vyykgqb.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 1222978250 16280 80.91.229.12 (2 Oct 2008 20:10:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 20:10:50 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 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 22:11:47 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 1KlUWX-0003nu-Mt for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 22:11:46 +0200 Original-Received: from localhost ([127.0.0.1]:33250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlUVU-0006Xp-H0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 16:10:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlUUt-0006BE-1y for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 16:10:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlUUr-0006AI-MS for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 16:10:02 -0400 Original-Received: from [199.232.76.173] (port=47150 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlUUr-0006A4-H9 for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 16:10:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46749) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlUUq-0000F8-Jq for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 16:10:01 -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 m92K9uem023135; Thu, 2 Oct 2008 13:09:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m92Jt46m019005; Thu, 2 Oct 2008 12:55: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 19:55: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 submit@emacsbugs.donarmstrong.com id=B.122297688217723 (code B ref -1); Thu, 02 Oct 2008 19:55:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Oct 2008 19:48:02 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m92Jlw2V017717 for ; Thu, 2 Oct 2008 12:47:59 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:48986 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KlU7K-0005F8-1s for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 15:45:42 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KlU9S-0006Qb-5S for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 15:47:57 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:35908) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KlU9R-0006PP-JG for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 15:47:53 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m92JlVYl011473; Thu, 2 Oct 2008 12:47:34 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m92JlTsB018187; Thu, 2 Oct 2008 12:47:29 -0700 (PDT) In-Reply-To: <871vyykgqb.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Thu, 02 Oct 2008 20:13:32 +0200") Original-Lines: 26 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m92JlVYl011473 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: Solaris 10 (beta) X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 02 Oct 2008 16:10:02 -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:20995 gmane.emacs.pretest.bugs:23130 Archived-At: Romain Francoise writes: > When Emacs is started with --daemon, (tool-bar-mode -1) has no > effect when used in ~/.emacs. > > To reproduce: > 1. echo "(tool-bar-mode -1)" >~/.emacs > 2. Start Emacs, note that it has no tool bar, exit > 3. emacs --daemon > 4. emacsclient -c: the frame has a tool bar when it should not > > In the created frame, the first call to M-x tool-bar-mode has no > effect. A second call finally disables the tool bar. 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)))