From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Wed, 3 Jul 2013 12:36:20 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <834ncifkq9.fsf@gnu.org> <83zjuae19s.fsf@gnu.org> <83r4fmdsw5.fsf@gnu.org> <85k3ldtion.fsf@member.fsf.org> <4E4C522D-DBCC-4133-A764-82C9CCE81E2D@swipnet.se> <8913208E-7FE2-41F5-AC93-000108413C47@swipnet.se> <51D126A4.50402@gmx.at> <51D2ADC1.5060902@gmx.at> <51D3EE80.9000304@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372847834 23282 80.91.229.3 (3 Jul 2013 10:37:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 10:37:14 +0000 (UTC) Cc: Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 03 12:37:15 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UuKQw-0003ej-AH for ged-emacs-devel@m.gmane.org; Wed, 03 Jul 2013 12:37:10 +0200 Original-Received: from localhost ([::1]:45167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKQs-0002VT-O3 for ged-emacs-devel@m.gmane.org; Wed, 03 Jul 2013 06:37:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKQp-0002VA-0b for emacs-devel@gnu.org; Wed, 03 Jul 2013 06:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuKQn-0002bY-KO for emacs-devel@gnu.org; Wed, 03 Jul 2013 06:37:02 -0400 Original-Received: from mail-ie0-x233.google.com ([2607:f8b0:4001:c03::233]:63140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKQn-0002bN-Cl for emacs-devel@gnu.org; Wed, 03 Jul 2013 06:37:01 -0400 Original-Received: by mail-ie0-f179.google.com with SMTP id c10so13855887ieb.24 for ; Wed, 03 Jul 2013 03:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Wf+jFYJt7M1P/FukgfeHbhWn2yuRSOUTbXNoKCOkgO0=; b=RjUYEyU/PO88UtNJ7FRMQptiI2ZpFT3OhgJx6V1xe4OXC3nUZhKQfcJ+tezzHABrza jAbu6OL1MbMhFz9YmbxrX6G7u41RT5qGVlVu/nkasDgm2h45uX1lkHOem5lFr+vFkkqc xTxX1QgIkOseThMnXpQKWed5IOp0FVkxXQHMIqGURsU0al9Lv/8+aCGSmJpP4o7/1BkA Q4spP3WvbMf6vdgoXPQLeHJ8LuHC3kjv5xWH7dBoLBWLxkcVtO+YSk77GJXzL3G/3zEG jT4IFKbbTfSBG+dHwvZBQmaKWDthdAixD5sAddVVMq0vW4xgc3/78HgrcZlORPN/FEm9 gnaQ== X-Received: by 10.42.32.132 with SMTP id e4mr71154icd.118.1372847820623; Wed, 03 Jul 2013 03:37:00 -0700 (PDT) Original-Received: by 10.64.250.7 with HTTP; Wed, 3 Jul 2013 03:36:20 -0700 (PDT) In-Reply-To: <51D3EE80.9000304@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161462 Archived-At: On Wed, Jul 3, 2013 at 11:27 AM, martin rudalics wrote: > 3 lines reserved for the toolbar, obviously. Yes. > No. In a `fit-frame-to-buffer' function you find in my window.el I use > a workaround with a comment going as > > ;; When tool-bar-mode is enabled and we just created a new > ;; frame, reserve lines for toolbar resizing. Needed > ;; because for reasons unknown to me Emacs (1) reserves one > ;; line for the toolbar when making the initial frame and > ;; toolbars are enabled, and (2) later adds the remaining > ;; lines needed. Our code runs IN BETWEEN (1) and (2). > ;; YMMV when you're on a system that behaves differently. > > So this is still an unsolved mystery, probably to straighten out > differences with external toolbar implementations. I can look into it > again but do not expect too much. Drew should have experienece with > this problem as well. Has someone filed a bug report about this? J