From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1754: 23.0.60; tool-bar is shown with tool-bar-mode off Date: Sun, 11 Jan 2009 12:22:56 +0100 Message-ID: <4969D690.5090004@gmx.at> 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> Reply-To: martin rudalics , 1754@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231674274 5206 80.91.229.12 (11 Jan 2009 11:44:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2009 11:44:34 +0000 (UTC) Cc: 1754@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 11 12:45:45 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 1LLylD-0004sX-TE for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jan 2009 12:45:44 +0100 Original-Received: from localhost ([127.0.0.1]:60566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLyjx-0001I6-JJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jan 2009 06:44:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLyj3-0000WQ-99 for bug-gnu-emacs@gnu.org; Sun, 11 Jan 2009 06:43:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLyj2-0000VN-8z for bug-gnu-emacs@gnu.org; Sun, 11 Jan 2009 06:43:28 -0500 Original-Received: from [199.232.76.173] (port=46034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLyj2-0000VE-4K for bug-gnu-emacs@gnu.org; Sun, 11 Jan 2009 06:43:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56607) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLyj1-0007M7-FG for bug-gnu-emacs@gnu.org; Sun, 11 Jan 2009 06:43:27 -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 n0BBhPFs017895; Sun, 11 Jan 2009 03:43:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0BBZ3TG015635; Sun, 11 Jan 2009 03:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 11 Jan 2009 11:35:03 +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.123167315114278 (code B ref 1754); Sun, 11 Jan 2009 11:35:03 +0000 Original-Received: (at 1754) by emacsbugs.donarmstrong.com; 11 Jan 2009 11:25:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n0BBPlhA014270 for <1754@emacsbugs.donarmstrong.com>; Sun, 11 Jan 2009 03:25:48 -0800 Original-Received: (qmail invoked by alias); 11 Jan 2009 11:25:41 -0000 Original-Received: from 62-47-50-147.adsl.highway.telekom.at (EHLO [62.47.50.147]) [62.47.50.147] by mail.gmx.net (mp040) with SMTP; 11 Jan 2009 12:25:41 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/FFQUaWDzF3XqtOMcS6K1kIpZu3hYiFd/s30RMX8 EO7lwlbLoN7/xf User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 11 Jan 2009 06:43:28 -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:23991 Archived-At: > It's not a question of optimization but of semantics. > It seems cleaner to only add the setting to default-frame-alist if > that's possible. Which is why I asked for a reason wy it's also added > to initial-frame-alist even tho it doesn't seem necessary. When the .emacs reader encounters the form (modify-all-frames-parameters (list (cons 'tool-bar-lines 1))) it will map both initial-frame-alist and default-frame-alist to an alist containing a (tool-bar-lines . 1) entry. If it then encounters the form (setq default-frame-alist (append (list (cons 'tool-bar-lines 0)) default-frame-alist)) it adds to default-frame-alist a (tool-bar-lines . 0) entry shadowing the (tool-bar-lines . 1) entry. With current Emacs, the initial frame will probably have a tool bar. If we "only add the setting to default-frame-alist", the initial frame likely will not have a tool bar. Hence, applying the change we're talking about can change the meaning of a valid .emacs file for some value of validity. But I suppose you know that. Alas, I don't know what kind of semantics you have in mind :-( martin