From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1754: 23.0.60; tool-bar is shown with tool-bar-mode off Date: Mon, 12 Jan 2009 13:29:08 -0500 Message-ID: References: <005301c96b95$547ae890$c2b22382@us.oracle.com> <495CE033.70808@gmx.at> <008801c96c57$dcbd5540$0200a8c0@us.oracle.com> <495DC7A2.6000106@gmx.at> <495F3A4B.2070802@gmx.at> <4961BD57.9020202@gmx.at> <4967A764.2070809@gmx.at> <496872A2.2040404@gmx.at> <4969D690.5090004@gmx.at> <496A28FD.6090909@gmx.at> <496B145C.2070104@gmx.at> <496B690C.7070506@gmx.at> Reply-To: Stefan Monnier , 1754@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 1231785839 16886 80.91.229.12 (12 Jan 2009 18:43:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2009 18:43:59 +0000 (UTC) Cc: 1754@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 19:45:11 2009 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 1LMRmU-0004hN-C3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2009 19:44:58 +0100 Original-Received: from localhost ([127.0.0.1]:52730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMRlD-00024v-S4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2009 13:43:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMRl7-00021r-H4 for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:43:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMRl2-0001vn-SM for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:43:30 -0500 Original-Received: from [199.232.76.173] (port=56218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMRl2-0001vX-LK for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:43:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33436) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LMRl2-0008IP-Ay for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2009 13:43:28 -0500 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 n0CIhPdt007922; Mon, 12 Jan 2009 10:43:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0CIZ5N5005714; Mon, 12 Jan 2009 10:35:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 12 Jan 2009 18:35:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1754 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1754-submit@emacsbugs.donarmstrong.com id=B1754.12317849584260 (code B ref 1754); Mon, 12 Jan 2009 18:35:05 +0000 Original-Received: (at 1754) by emacsbugs.donarmstrong.com; 12 Jan 2009 18:29:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0CITEKY004254 for <1754@emacsbugs.donarmstrong.com>; Mon, 12 Jan 2009 10:29:16 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EADMba0lMCpxj/2dsb2JhbACBbNInhW+BbA X-IronPort-AV: E=Sophos;i="4.37,253,1231131600"; d="scan'208";a="32189903" Original-Received: from 76-10-156-99.dsl.teksavvy.com (HELO pastel.home) ([76.10.156.99]) by ironport2-out.teksavvy.com with ESMTP; 12 Jan 2009 13:29:09 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 8D3938440; Mon, 12 Jan 2009 13:29:08 -0500 (EST) In-Reply-To: <496B690C.7070506@gmx.at> (martin rudalics's message of "Mon, 12 Jan 2009 17:00:12 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 12 Jan 2009 13:43:30 -0500 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:24037 Archived-At: >> I'm not sure I understand the question. It doesn't add the setting to >> window-system-default-frame-alist, does it? So all it does is remove >> any overriding setting from it, just like it does with >> initial-frame-alist, which is necessary for the default-frame-alist >> setting to be effective. > I'm not sure whether toggling tool-/menu-bar-mode should override > window-system specific settings. When we set tool-bar-lines in > default-frame-alist we don't override window-system specific settings. > Is toggling tool-/menu-bar-mode conceptually "stronger" than setting > default-frame-alist WRT to future frames? What's the purpose of setting > `window-system-default-frame-alist' in .emacs when a simple click on a > menu entry will annihilate its effect for the rest of the session? Such > clicks are not window-system specific. That's a more general problem: I usually don't have a menu-bar in my frames, except for a few exception where I give them a menu-bar via special-display-buffer-names. Whenever I use M-x menu-bar-mode, these details are lost. The problem is that tool-bar-mode, and menu-bar-mode and too coarse: they offer no way for the user to say whether he wants it to apply to every single frame, or only to those currently displayed, or only the current one, or only those on the current terminal, ... Also, making them work right would probably require keeping track for each and ever frame of where its parameters came from. So tool-bar-mode could just set default-frame-alist and then "refresh" every frame's parameters. Stefan