unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2938: 23.0.91; elisp.info: auto-resize-tool-bars
@ 2009-04-09 13:04 ` Stephen Eglen
  2009-04-10  2:20   ` bug#2938: marked as done (23.0.91; elisp.info: auto-resize-tool-bars) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Eglen @ 2009-04-09 13:04 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: Stephen Eglen


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''






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#2938: marked as done (23.0.91; elisp.info: auto-resize-tool-bars)
  2009-04-09 13:04 ` bug#2938: 23.0.91; elisp.info: auto-resize-tool-bars Stephen Eglen
@ 2009-04-10  2:20   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-04-10  2:20 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]


Your message dated Thu, 09 Apr 2009 22:14:31 -0400
with message-id <87myaps1a0.fsf@cyd.mit.edu>
and subject line Re: 23.0.91; elisp.info: auto-resize-tool-bars
has caused the Emacs bug report #2938,
regarding 23.0.91; elisp.info: auto-resize-tool-bars
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2938: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2938
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3735 bytes --]

From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: emacs-pretest-bug@gnu.org
Cc: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: 23.0.91; elisp.info: auto-resize-tool-bars
Date: Thu, 09 Apr 2009 14:04:17 +0100
Message-ID: <24967.1239282257@maps>


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''



[-- Attachment #3: Type: message/rfc822, Size: 1135 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Cc: 2938-done@emacsbugs.donarmstrong.com
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>

I've checked in some changes to the manual, based on your suggestions.
Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-10  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87myaps1a0.fsf@cyd.mit.edu>
2009-04-09 13:04 ` bug#2938: 23.0.91; elisp.info: auto-resize-tool-bars Stephen Eglen
2009-04-10  2:20   ` bug#2938: marked as done (23.0.91; elisp.info: auto-resize-tool-bars) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).