From unknown Sat Jun 14 03:55:59 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2938: 23.0.91; elisp.info: auto-resize-tool-bars Reply-To: Stephen Eglen , 2938@debbugs.gnu.org Resent-From: Stephen Eglen Original-Sender: sje30@damtp.cam.ac.uk Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Apr 2009 13:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2938 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123928226730750 (code B ref -1); Thu, 09 Apr 2009 13:10:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 9 Apr 2009 13:04:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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/ 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 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 From: Stephen Eglen To: emacs-pretest-bug@gnu.org cc: Stephen Eglen X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 23.0.91 Date: Thu, 09 Apr 2009 14:04:17 +0100 Message-ID: <24967.1239282257@maps> Sender: sje30@damtp.cam.ac.uk X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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'' From unknown Sat Jun 14 03:55:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Stephen Eglen Subject: bug#2938 closed by Chong Yidong (Re: 23.0.91; elisp.info: auto-resize-tool-bars) Message-ID: References: <87myaps1a0.fsf@cyd.mit.edu> <24967.1239282257@maps> X-Emacs-PR-Message: they-closed 2938 X-Emacs-PR-Package: emacs Reply-To: 2938@debbugs.gnu.org Date: Fri, 10 Apr 2009 02:20:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1239330005-523-1" This is a multi-part message in MIME format... ------------=_1239330005-523-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2938: 23.0.91; elisp.info: auto-resize-tool-bars It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 2938: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2938 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1239330005-523-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2938-done) by emacsbugs.donarmstrong.com; 10 Apr 2009 02:12:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3A2CmrB031284 for <2938-done@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 19:12:49 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 4561157E251; Thu, 9 Apr 2009 22:14:31 -0400 (EDT) From: Chong Yidong To: Stephen Eglen Cc: 2938-done@debbugs.gnu.org Subject: Re: 23.0.91; elisp.info: auto-resize-tool-bars Date: Thu, 09 Apr 2009 22:14:31 -0400 Message-ID: <87myaps1a0.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in some changes to the manual, based on your suggestions. Thanks. ------------=_1239330005-523-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 9 Apr 2009 13:04:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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/ 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 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 From: Stephen Eglen To: emacs-pretest-bug@gnu.org cc: Stephen Eglen Subject: 23.0.91; elisp.info: auto-resize-tool-bars X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 23.0.91 Date: Thu, 09 Apr 2009 14:04:17 +0100 Message-ID: <24967.1239282257@maps> Sender: sje30@damtp.cam.ac.uk X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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'' ------------=_1239330005-523-1--