From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: tool-bars - broken again Date: Mon, 05 Jul 2010 14:01:45 -0400 Message-ID: <87k4p9lsdy.fsf@stupidchicken.com> References: <17A106BDF5AA40A9B41416AE7E8F13CB@us.oracle.com> <871vbk6w0m.fsf@stupidchicken.com> <5155443AC1FD4EF28DFB1F1BFFF412F1@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278353615 2323 80.91.229.12 (5 Jul 2010 18:13:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 18:13:35 +0000 (UTC) Cc: 'Emacs-Devel devel' To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 05 20:13:34 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OVqAd-0000Ht-Nh for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 20:13:32 +0200 Original-Received: from localhost ([127.0.0.1]:42567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVqAb-0002Lz-Q7 for ged-emacs-devel@m.gmane.org; Mon, 05 Jul 2010 14:13:29 -0400 Original-Received: from [140.186.70.92] (port=57574 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVqAS-0002FI-BO for emacs-devel@gnu.org; Mon, 05 Jul 2010 14:13:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVpzG-0003Cp-AD for emacs-devel@gnu.org; Mon, 05 Jul 2010 14:01:47 -0400 Original-Received: from pantheon-po41.its.yale.edu ([130.132.50.98]:60772) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVpzG-0003Ck-7Y for emacs-devel@gnu.org; Mon, 05 Jul 2010 14:01:46 -0400 Original-Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o65I1j9e029070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Jul 2010 14:01:45 -0400 Original-Received: by furry (Postfix, from userid 1000) id C7E45C011; Mon, 5 Jul 2010 14:01:45 -0400 (EDT) In-Reply-To: <5155443AC1FD4EF28DFB1F1BFFF412F1@us.oracle.com> (Drew Adams's message of "Mon, 5 Jul 2010 10:29:57 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126791 Archived-At: "Drew Adams" writes: > A user might well want the default frame setting to have a tool bar. > Yet s?he might also, at some point during a session (or in some > particular context, via code), want to turn off tool bars - and not > just for the current frames but also for future frames. And then > later, in a different context, s?he might want to turn tool bars back > on again. A convincing argument. The solution is for `tool-bar-mode' and `menu-bar-mode' to change `default-fame-alist' if, and only if, there is an existing `tool-bar-lines' or `menu-bar-lines' entry. I've checked in such a change.