GNU bug report logs - #16052
24.3.50; `set-frame-parameter` broken for `tool-bar-lines`

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Wed, 4 Dec 2013 15:03:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 16052 <at> debbugs.gnu.org:


Received: (at 16052) by debbugs.gnu.org; 4 Jan 2014 16:39:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 11:39:36 2014
Received: from localhost ([127.0.0.1]:34049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VzUG7-00049w-It
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2014 11:39:35 -0500
Received: from mout.gmx.net ([212.227.15.18]:49350)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rudalics@HIDDEN>) id 1VzUG5-00049o-7g
 for 16052 <at> debbugs.gnu.org; Sat, 04 Jan 2014 11:39:34 -0500
Received: from [62.47.40.146] ([62.47.40.146]) by mail.gmx.com (mrgmx103) with
 ESMTPSA (Nemesis) id 0LlDx4-1VS5FV1GQ2-00b2jY for
 <16052 <at> debbugs.gnu.org>; Sat, 04 Jan 2014 17:39:32 +0100
Message-ID: <52C8393F.8050801@HIDDEN>
Date: Sat, 04 Jan 2014 17:39:27 +0100
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#16052: 24.3.50;
 `set-frame-parameter` broken for `tool-bar-lines`
References: <182110eb-2981-45c0-addb-61219af38e0a@default>
 <52C81046.7050803@HIDDEN> <48a0fee9-164b-4f89-81bc-61a1adcda3e8@default>
In-Reply-To: <48a0fee9-164b-4f89-81bc-61a1adcda3e8@default>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:S7r1rhHg7w8QKhW5omr7kYfKJaSbmwbzF5hfI869k9WeZ9S/pVo
 /kArbyQG1envQ2msKYiokzAl4l9yuhzwrHDHnpwKiekNxPdYrb5ppYMt67E87EWN9DB0wR6
 6OxYiqntrHvwQbf+NwUaUML+GaifL6trW5arLzPAa5lel2A7/1ptTxRf4xa8EZOvmOU0M0e
 R41OnHVOYxU36jcbT7I/Q==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16052
Cc: 16052 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

 >> Before using terms like "wrong" in bug reports please consult the
 >> Elisp manual:
 >>
 >>     On each frame, the frame parameter `tool-bar-lines' controls
 >>     how many lines' worth of height to reserve for the tool bar.
 >
 > That does not contradict my expectation.  Is there some nuanced
 > interpretation of "reserved" that I need to guess here, such that
 > perhaps "reserving" that much height does not actually give the
 > tool bar area that much height?

No.  It's the term "lines' worth of height" you should have interpreted
correctly.

 >> What you see is either 0 when `tool-bar-mode' is turned off or 2
 >> which probably comes from the actual toolbar pixel height divided
 >> by the frame's default line height.
 >
 > What it really comes from should be *specified* in the manual.

Patches welcome.  Likely from someone who (1) uses toolbars and (2) on
most relevant platforms.

 > IOW, what is the default number?

One as stated.

 > Otherwise, it is pretty reasonable
 > to assume (as I did) that the default is one.  Whether reasonable or
 > not, users should not need to guess the default behavior for the
 > on state.
 >
 > And see above.  The manual in fact DOES say what the default is,
 > and it is not 2.

2 is not the default.  It's calculated from the font height you or your
system uses.

 > Is the manual wrong here or is the implementation
 > bugged in this regard?

Your bug report is bugged.

 > So if the behavior is as it is intended to be, then the doc is
 > inadequate.  It does not describe the behavior.  And what it does
 > suggest (i.e., by default, setting `tool-bar-lines' would do just
 > what the `tool-bar-lines' doc says: change the number of tool bar
 > lines) is something quite different from the actual behavior.

If you want to submit a patch, please do.  I only asked you to not use
the term "wrong" without consulting the manual first.  I read your
report and the manual and found the manual right and your report wrong.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16052; Package emacs. Full text available.

Message received at 16052 <at> debbugs.gnu.org:


Received: (at 16052) by debbugs.gnu.org; 4 Jan 2014 16:08:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 11:08:20 2014
Received: from localhost ([127.0.0.1]:33990 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VzTlr-0003HI-FF
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2014 11:08:19 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:45945)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1VzTlp-0003H8-1c
 for 16052 <at> debbugs.gnu.org; Sat, 04 Jan 2014 11:08:17 -0500
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id
 s04G8FXK026762
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Sat, 4 Jan 2014 16:08:16 GMT
Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86])
 by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s04G8EWX012042
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Sat, 4 Jan 2014 16:08:15 GMT
Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8])
 by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s04G8E9Y012034;
 Sat, 4 Jan 2014 16:08:14 GMT
MIME-Version: 1.0
Message-ID: <48a0fee9-164b-4f89-81bc-61a1adcda3e8@default>
Date: Sat, 4 Jan 2014 08:08:10 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: RE: bug#16052: 24.3.50; `set-frame-parameter` broken for
 `tool-bar-lines`
References: <182110eb-2981-45c0-addb-61219af38e0a@default>
 <52C81046.7050803@HIDDEN>
In-Reply-To: <52C81046.7050803@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8  (707110) [OL
 12.0.6680.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: 16052
Cc: 16052 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.7 (--)

> > M-x tool-bar-mode ; turn it on
> > M-x pp-eval-expression RET (frame-parameters)
> >
> > In frame *Pp Eval Output* search for `tool-bar-lines' =3D> 2
> > (wrong).

> > M-x pp-eval-expression RET
> >     (set-frame-parameter nil 'tool-bar-lines 1)
> > M-x pp-eval-expression RET (frame-parameters)
> >
> > In frame *Pp Eval Output* search for `tool-bar-lines' =3D> 2
> > (wrong).

> Before using terms like "wrong" in bug reports please consult the
> Elisp manual:
>=20
>     On each frame, the frame parameter `tool-bar-lines' controls
>     how many lines' worth of height to reserve for the tool bar.

That does not contradict my expectation.  Is there some nuanced
interpretation of "reserved" that I need to guess here, such that
perhaps "reserving" that much height does not actually give the
tool bar area that much height?

And actually, node (elisp) `Layout Parameters' says that it is "the
number of lines to USE for the tool bar."  Not just reserved but
used.

Furthermore, it says explicitly that "The default is 1 if Tool Bar
mode is enabled, and 0 otherwise."  That pretty much describes the
intended default behavior, and it coincides with my uninformed
expectation.

> What you see is either 0 when `tool-bar-mode' is turned off or 2
> which probably comes from the actual toolbar pixel height divided
> by the frame's default line height.

What it really comes from should be *specified* in the manual.

IOW, what is the default number?  Otherwise, it is pretty reasonable
to assume (as I did) that the default is one.  Whether reasonable or
not, users should not need to guess the default behavior for the
on state.

And see above.  The manual in fact DOES say what the default is,
and it is not 2.  Is the manual wrong here or is the implementation
bugged in this regard?

> Explicitly setting the `tool-bar-lines' parameter has no effect
> when `auto-resize-tool-bars' is non-nil (which it is with emacs -Q).

Thanks for that explanation of what the implementation does.
However, that too is unlikely to be guessed by users.  And the doc
does not say that at all, AFAICT.  It says only that the tool bar
gets resized automatically.

All of the info regarding `tool-bar-lines' should be either
documented in the same place or clearly interconnected using cross
references.

Layout parameter `tool-bar-lines' is documented primarily in node
`Layout Parameters' - that it the reference doc for it.  At the
very least there needs to be a cross reference from there to node
`Tool Bar' (and vice versa).

And preferably it would be explicitly mentioned at `Layout
Parameters' what the effect is of `auto-resize-tool-bars' on
`tool-bar-lines' (the latter is ignored if the former is non-nil,
i.e., it is IGNORED by DEFAULT).

So if the behavior is as it is intended to be, then the doc is
inadequate.  It does not describe the behavior.  And what it does
suggest (i.e., by default, setting `tool-bar-lines' would do just
what the `tool-bar-lines' doc says: change the number of tool bar
lines) is something quite different from the actual behavior.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16052; Package emacs. Full text available.

Message received at 16052 <at> debbugs.gnu.org:


Received: (at 16052) by debbugs.gnu.org; 4 Jan 2014 13:44:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 08:44:45 2014
Received: from localhost ([127.0.0.1]:33277 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VzRWv-0007bq-7V
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2014 08:44:45 -0500
Received: from mout.gmx.net ([212.227.17.21]:50985)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rudalics@HIDDEN>) id 1VzRWs-0007bg-L7
 for 16052 <at> debbugs.gnu.org; Sat, 04 Jan 2014 08:44:43 -0500
Received: from [62.47.40.146] ([62.47.40.146]) by mail.gmx.com (mrgmx002) with
 ESMTPSA (Nemesis) id 0MU11l-1Vr1Sq31Un-00Qo8N for
 <16052 <at> debbugs.gnu.org>; Sat, 04 Jan 2014 14:44:41 +0100
Message-ID: <52C81046.7050803@HIDDEN>
Date: Sat, 04 Jan 2014 14:44:38 +0100
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#16052: 24.3.50;
 `set-frame-parameter` broken for `tool-bar-lines`
References: <182110eb-2981-45c0-addb-61219af38e0a@default>
In-Reply-To: <182110eb-2981-45c0-addb-61219af38e0a@default>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:HnAWXaF4dyVsNrlcVsT0ttXugDm8KNV99kfUrV5arwVrJuTyRDe
 6vAIxJYpUMwjEb1IKsOCJ0qRT5Gm28tD2AyKwkeknFJtPBDX3ByDwFyGOpmaUWPo6i0/Tgl
 GXSh/aXo7N3LbXd3NllwR28T2Rz3WSaEombu02OX3JnTtQXT3Q9k819RTgLIQbhBJ9Lb1W4
 GaLV3BZv35eoMcz0K0jrA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 16052
Cc: 16052 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

> emacs -Q
>
> M-x set-variable RET pop-up-frames RET t
> M-x tool-bar-mode ; turn it off, to start from zero
> M-x pp-eval-expression RET (frame-parameters)
>
> In frame *Pp Eval Output* search for `tool-bar-lines' => 0 (good).
>
> In original frame (do all of the commands here, except isearch):
>
> M-x tool-bar-mode ; turn it on
> M-x pp-eval-expression RET (frame-parameters)
>
> In frame *Pp Eval Output* search for `tool-bar-lines' => 2 (wrong).
>
> In original frame (do all of the commands here, except isearch):
>
> M-x pp-eval-expression RET (set-frame-parameter nil 'tool-bar-lines 1)
> M-x pp-eval-expression RET (frame-parameters)
>
> In frame *Pp Eval Output* search for `tool-bar-lines' => 2 (wrong).
>
> In original frame (do all of the commands here, except isearch):
>
> M-x pp-eval-expression RET (set-frame-parameter nil 'tool-bar-lines 3)
> M-x pp-eval-expression RET (frame-parameters)
>
> In frame *Pp Eval Output* search for `tool-bar-lines' => 2 (wrong).
>
> etc.  It seems that the `tool-bar-lines' is always either 0 or 2.

Before using terms like "wrong" in bug reports please consult the Elisp
manual:

    On each frame, the frame parameter `tool-bar-lines' controls how
many lines' worth of height to reserve for the tool bar.

What you see is either 0 when `tool-bar-mode' is turned off or 2 which
probably comes from the actual toolbar pixel height divided by the
frame's default line height.  Explicitly setting the `tool-bar-lines'
parameter has no effect when `auto-resize-tool-bars' is non-nil (which
it is with emacs -Q).

martin





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#16052; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Dec 2013 15:02:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 04 10:02:22 2013
Received: from localhost ([127.0.0.1]:58115 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VoDy1-0007Xb-J8
	for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:02:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:32792)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1VoDxz-0007XT-5G
 for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:02:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1VoDxo-00039r-Ro
 for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:02:18 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37402)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1VoDxo-00039b-P6
 for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:02:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34410)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1VoDxf-0007E2-Dj
 for bug-gnu-emacs@HIDDEN; Wed, 04 Dec 2013 10:02:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1VoDxW-00032P-Ri
 for bug-gnu-emacs@HIDDEN; Wed, 04 Dec 2013 10:01:59 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:28523)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1VoDxW-000321-Kq
 for bug-gnu-emacs@HIDDEN; Wed, 04 Dec 2013 10:01:50 -0500
Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id
 rB4F1m2H017496
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Wed, 4 Dec 2013 15:01:49 GMT
Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230])
 by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB4F1kB3023587
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
 for <bug-gnu-emacs@HIDDEN>; Wed, 4 Dec 2013 15:01:47 GMT
Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17])
 by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB4F1k5V020484
 for <bug-gnu-emacs@HIDDEN>; Wed, 4 Dec 2013 15:01:46 GMT
MIME-Version: 1.0
Message-ID: <182110eb-2981-45c0-addb-61219af38e0a@default>
Date: Wed, 4 Dec 2013 07:01:46 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; `set-frame-parameter` broken for `tool-bar-lines`
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8  (707110) [OL
 12.0.6680.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


emacs -Q

M-x set-variable RET pop-up-frames RET t
M-x tool-bar-mode ; turn it off, to start from zero
M-x pp-eval-expression RET (frame-parameters)

In frame *Pp Eval Output* search for `tool-bar-lines' =3D> 0 (good).

In original frame (do all of the commands here, except isearch):

M-x tool-bar-mode ; turn it on
M-x pp-eval-expression RET (frame-parameters)

In frame *Pp Eval Output* search for `tool-bar-lines' =3D> 2 (wrong).

In original frame (do all of the commands here, except isearch):

M-x pp-eval-expression RET (set-frame-parameter nil 'tool-bar-lines 1)
M-x pp-eval-expression RET (frame-parameters)

In frame *Pp Eval Output* search for `tool-bar-lines' =3D> 2 (wrong).

In original frame (do all of the commands here, except isearch):

M-x pp-eval-expression RET (set-frame-parameter nil 'tool-bar-lines 3)
M-x pp-eval-expression RET (frame-parameters)

In frame *Pp Eval Output* search for `tool-bar-lines' =3D> 2 (wrong).

etc.  It seems that the `tool-bar-lines' is always either 0 or 2.


In GNU Emacs 24.3.50.2 (i686-pc-mingw32)
 of 2013-11-28 on LEG570
Bzr revision: 115271 rgm@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG=
=3D1'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#16052; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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