From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2938: 23.0.91; elisp.info: auto-resize-tool-bars Date: Thu, 09 Apr 2009 14:04:17 +0100 Message-ID: <24967.1239282257@maps> Reply-To: Stephen Eglen , 2938@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1239283458 2949 80.91.229.12 (9 Apr 2009 13:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 13:24:18 +0000 (UTC) Cc: Stephen Eglen To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 09 15:25:36 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 1LruG0-00007w-FE for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 15:25:28 +0200 Original-Received: from localhost ([127.0.0.1]:54004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LruEb-0004FB-Nz for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 09:24:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LruEX-0004Et-70 for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 09:23:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LruES-0004Cg-2h for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 09:23:56 -0400 Original-Received: from [199.232.76.173] (port=34939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LruER-0004CN-RL for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 09:23:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39801) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LruER-0006Tw-DH for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 09:23:51 -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 n39DNngv005706; Thu, 9 Apr 2009 06:23:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n39DA6iL001047; Thu, 9 Apr 2009 06:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Eglen Original-Sender: sje30@damtp.cam.ac.uk Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Apr 2009 13:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2938 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123928226730750 (code B ref -1); Thu, 09 Apr 2009 13:10:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Apr 2009 13:04:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. 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 n39D4Nft030742 for ; Thu, 9 Apr 2009 06:04:25 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:53112) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lrtva-0002Yk-SA for emacs-pretest-bug@gnu.org; Thu, 09 Apr 2009 09:04:22 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LrtvZ-0003Al-Gv for emacs-pretest-bug@gnu.org; Thu, 09 Apr 2009 09:04:22 -0400 Original-Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]:43770) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrtvZ-0003AT-4A for emacs-pretest-bug@gnu.org; Thu, 09 Apr 2009 09:04:21 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from lapc-br1-101.maths.private.cam.ac.uk ([172.16.218.101]:48169 helo=maps) by ppsw-7.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.137]:25) with esmtp id 1LrtvX-0002k8-OQ (Exim 4.70) (return-path ); Thu, 09 Apr 2009 14:04:19 +0100 Original-Received: from stephen (helo=maps) by maps with local-esmtp (Exim 4.69) (envelope-from ) id 1LrtvV-0006Ui-GC; Thu, 09 Apr 2009 14:04:17 +0100 X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 23.0.91 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 09 Apr 2009 09:23:56 -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:27023 gmane.emacs.pretest.bugs:24251 Archived-At: In the elisp.info, there is reference to the variable: -- Variable: auto-resize-tool-bar If this variable is non-`nil', the tool bar automatically resizes to show all defined tool bar items--but not larger than a quarter of the frame's height. If the value is `grow-only', the tool bar expands automatically, but does not contract automatically. To contract the tool bar, the user has to redraw the frame by entering `C-l'. I think that should be 'auto-resize-tool-bars'. Also, from my limited experimentation, it seems that variable does not apply on unix with gtk or mac (under nextstep); if a frame is narrowed, the toolbar gains a right-arrow icon which shows the remaining icons, rather than moving the icons onto a second line. Should the doc string mention this restriction? In the elisp.info file, when describing Layout Parameters, it does say: `tool-bar-lines' The number of lines to use for the tool bar. A value of `nil' means don't display a tool bar. (GTK allows at most one tool bar line; it treats larger values as 1.) which confirms to me that GTK will not show multi-line tool bars. But I also saw the same behaviour on the mac under nextstep. Stephen In GNU Emacs 23.0.91.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.4) of 2009-03-13 on maps Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--with-x-toolkit=gtk' '--with-xft''