GNU bug report logs - #2938
23.0.91; elisp.info: auto-resize-tool-bars

Previous Next

Package: emacs;

Reported by: Stephen Eglen <S.J.Eglen <at> damtp.cam.ac.uk>

Date: Thu, 9 Apr 2009 13:10:06 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stephen Eglen <S.J.Eglen <at> damtp.cam.ac.uk>
To: emacs-pretest-bug <at> gnu.org
Cc: Stephen Eglen <S.J.Eglen <at> damtp.cam.ac.uk>
Subject: 23.0.91; elisp.info: auto-resize-tool-bars
Date: Thu, 09 Apr 2009 14:04:17 +0100
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''




This bug report was last modified 16 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.