From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#16052: 24.3.50; `set-frame-parameter` broken for `tool-bar-lines` Date: Sat, 04 Jan 2014 17:39:27 +0100 Message-ID: <52C8393F.8050801@gmx.at> References: <182110eb-2981-45c0-addb-61219af38e0a@default> <52C81046.7050803@gmx.at> <48a0fee9-164b-4f89-81bc-61a1adcda3e8@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1388853615 11442 80.91.229.3 (4 Jan 2014 16:40:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jan 2014 16:40:15 +0000 (UTC) Cc: 16052@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 04 17:40:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VzUGq-0005jB-Jv for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2014 17:40:20 +0100 Original-Received: from localhost ([::1]:55006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzUGq-0005jb-7u for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2014 11:40:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzUGg-0005jS-68 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 11:40:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzUGY-0004TI-Od for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 11:40:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzUGY-0004So-M6 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 11:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VzUGX-0004Ak-NM for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2014 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2014 16:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16052 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16052-submit@debbugs.gnu.org id=B16052.138885357615997 (code B ref 16052); Sat, 04 Jan 2014 16:40:01 +0000 Original-Received: (at 16052) by debbugs.gnu.org; 4 Jan 2014 16:39:36 +0000 Original-Received: from localhost ([127.0.0.1]:34049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzUG7-00049w-It for submit@debbugs.gnu.org; Sat, 04 Jan 2014 11:39:35 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:49350) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzUG5-00049o-7g for 16052@debbugs.gnu.org; Sat, 04 Jan 2014 11:39:34 -0500 Original-Received: from [62.47.40.146] ([62.47.40.146]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LlDx4-1VS5FV1GQ2-00b2jY for <16052@debbugs.gnu.org>; Sat, 04 Jan 2014 17:39:32 +0100 In-Reply-To: <48a0fee9-164b-4f89-81bc-61a1adcda3e8@default> X-Provags-ID: V03:K0:S7r1rhHg7w8QKhW5omr7kYfKJaSbmwbzF5hfI869k9WeZ9S/pVo /kArbyQG1envQ2msKYiokzAl4l9yuhzwrHDHnpwKiekNxPdYrb5ppYMt67E87EWN9DB0wR6 6OxYiqntrHvwQbf+NwUaUML+GaifL6trW5arLzPAa5lel2A7/1ptTxRf4xa8EZOvmOU0M0e R41OnHVOYxU36jcbT7I/Q== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82924 Archived-At: >> 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