From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Devon Buchanan Newsgroups: gmane.emacs.bugs Subject: bug#21413: Top of buffer hidden when toolbar hidden and frame height is large Date: Sat, 05 Sep 2015 13:02:02 +0100 Message-ID: References: <55E9EE59.9030402@gmx.at> <55EAC753.6030100@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1441454603 3217 80.91.229.3 (5 Sep 2015 12:03:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2015 12:03:23 +0000 (UTC) Cc: 21413@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 05 14:03:12 2015 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 1ZYCBb-0000dW-Aw for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Sep 2015 14:03:11 +0200 Original-Received: from localhost ([::1]:39948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYCBa-0005L8-Ri for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Sep 2015 08:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYCBW-0005Kz-Am for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 08:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYCBT-0002fY-2I for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 08:03:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYCBS-0002fS-Ul for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 08:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZYCBS-00049w-Gd for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Devon Buchanan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2015 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21413-submit@debbugs.gnu.org id=B21413.144145452915926 (code B ref 21413); Sat, 05 Sep 2015 12:03:02 +0000 Original-Received: (at 21413) by debbugs.gnu.org; 5 Sep 2015 12:02:09 +0000 Original-Received: from localhost ([127.0.0.1]:49415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYCAa-00048n-57 for submit@debbugs.gnu.org; Sat, 05 Sep 2015 08:02:08 -0400 Original-Received: from mail-wi0-f176.google.com ([209.85.212.176]:38784) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYCAX-00048b-F6 for 21413@debbugs.gnu.org; Sat, 05 Sep 2015 08:02:06 -0400 Original-Received: by wiclk2 with SMTP id lk2so40897484wic.1 for <21413@debbugs.gnu.org>; Sat, 05 Sep 2015 05:02:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=mp/nHUq4a+AwdYSvU+RC3Pkbi599T4HuWTj99hTbn70=; b=VGzyZsp68uAFVSDKaIEOj+Q/iB3xGxhLk1xAS8G2+4ZcW043jKsZTAT6/xmXydmsfS mlW8Lnflug3q/eDlB8AIhuBLx//CWyW4izqVH5OOxSSWegChIog6n5ed1vjQcak2uP1I 1r7Ts8eXDX8uPc1DY7VXXIrAGr6un9JdfxlR0GfE9+rjF2pBXTi2HI/nF1wGWeB57Bcv zGJ/dIDzKnbK7o5NggEJkvj8+dqhtG2fr6751y0dsvn3b52CVnKXFU5gHqypezsMfKV8 KgtwY1bIVprrN8scK0y9G4yFGpfwmSztBmhDym59HDb/7DEpytIfB+z51/y7nD+XY4y/ iXiQ== X-Gm-Message-State: ALoCoQmsUEQGbFkCDEWaOWsv36HPGAs6Io8ncQOMxUxLHyRJ8Ysckk9gl+XEvxDrHKx4Wi9wTHhZ X-Received: by 10.194.246.199 with SMTP id xy7mr9398370wjc.61.1441454524767; Sat, 05 Sep 2015 05:02:04 -0700 (PDT) Original-Received: from localhost (host86-140-58-151.range86-140.btcentralplus.com. [86.140.58.151]) by smtp.googlemail.com with ESMTPSA id fs9sm5789572wic.24.2015.09.05.05.02.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2015 05:02:03 -0700 (PDT) In-reply-to: <55EAC753.6030100@gmx.at> 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: 208.118.235.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:106173 Archived-At: On Sat, Sep 05 2015, martin rudalics wrote: > I doubt it will help much but in such a mangled frame please put > the following snippet in *scratch* with point after it, type C-x > C-e, and post whatever it inserts here. > > (progn > (insert (format "%s" (frame-geometry))) (insert (format "%s" > (frame-edges nil 'outer))) (insert (format "%s" (frame-edges > nil 'native))) (insert (format "%s" (frame-edges nil > 'inner)))) I was not able to find the functions frame-geometry and frame-edges in emacs 24.5.1. M-x appropos found some functions which appear similar however. Here is the results of evaluating them in a mangled frame. cat >> test-init.el < ((tool-bar-position . top) (parent-id) (explicit-name) (display . Hester.home) (visibility . t) (icon-name) (window-id . 1) (bottom-divider-width . 0) (right-divider-width . 0) (top . 23) (left . 5) (buried-buffer-list) (buffer-list *scratch*) (unsplittable) (minibuffer . #) (modeline . t) (width . 80) (height . 100) (name . *scratch*) (environment) (cursor-color . black) (background-mode . light) (display-type . color) (horizontal-scroll-bars . t) (window-system . ns) (fullscreen) (alpha) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 0) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 10) (line-spacing) (background-color . White) (foreground-color . Black) (vertical-scroll-bars . right) (internal-border-width . 2) (border-width . 0) (font . -*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct ns)) #)) (0 0 85 99)(2 2 598 1388)(7 47 603 1433)(2 0 80 98)(12 2 572 1374)(17 47 577 1419) After resizing the window by dragging on its right border with my mouse the frame became un-mangled. Here is the output for that frame. (progn (insert (format "%s" (current-frame-configuration))) (insert (format "%s" (window-edges))) (insert (format "%s" (window-pixel-edges))) (insert (format "%s" (window-absolute-pixel-edges))) (insert (format "%s" (window-inside-edges))) (insert (format "%s" (window-inside-pixel-edges))) (insert (format "%s" (window-inside-absolute-pixel-edges)))) (frame-configuration (# ((tool-bar-position . top) (parent-id) (explicit-name) (display . Hester.home) (visibility . t) (icon-name) (window-id . 1) (bottom-divider-width . 0) (right-divider-width . 0) (top . 28) (left . 0) (buried-buffer-list) (buffer-list *scratch*) (unsplittable) (minibuffer . #) (modeline . t) (width . 80) (height . 53) (name . *scratch*) (environment) (cursor-color . black) (background-mode . light) (display-type . color) (horizontal-scroll-bars . t) (window-system . ns) (fullscreen) (alpha) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 0) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 10) (line-spacing) (background-color . White) (foreground-color . Black) (vertical-scroll-bars . right) (internal-border-width . 2) (border-width . 0) (font . -*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct ns)) #)) (0 0 85 52)(2 2 598 730)(2 52 598 780)(2 0 80 51)(12 2 572 716)(12 52 572 766) > Also: Can you reproduce the problem with an already existing or > another, newly created one or is only the initial frame > affected? When I create new frames with command-n it is not affected. Only the initial frame is affected under the conditions I described. The result of running the above in a frame created with command-n is: (progn (insert (format "%s" (current-frame-configuration))) (insert (format "%s" (window-edges))) (insert (format "%s" (window-pixel-edges))) (insert (format "%s" (window-absolute-pixel-edges))) (insert (format "%s" (window-inside-edges))) (insert (format "%s" (window-inside-pixel-edges))) (insert (format "%s" (window-inside-absolute-pixel-edges)))) (frame-configuration (# ((tool-bar-position . top) (parent-id) (explicit-name) (display . Hester.home) (visibility . t) (icon-name) (window-id . 2) (bottom-divider-width . 0) (right-divider-width . 0) (top . 42) (left . 0) (buried-buffer-list) (buffer-list *scratch*) (unsplittable) (minibuffer . #) (modeline . t) (width . 80) (height . 51) (name . *scratch*) (cursor-color . black) (background-mode . light) (display-type . color) (fullscreen) (alpha) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 0) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 10) (line-spacing) (background-color . White) (foreground-color . Black) (vertical-scroll-bars . right) (internal-border-width . 2) (border-width . 0) (font . -*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct ns)) #) (# ((tool-bar-position . top) (parent-id) (explicit-name) (display . Hester.home) (visibility . t) (icon-name) (window-id . 1) (bottom-divider-width . 0) (right-divider-width . 0) (top . 28) (left . 0) (buried-buffer-list) (buffer-list *scratch*) (unsplittable) (minibuffer . #) (modeline . t) (width . 80) (height . 100) (name . *scratch*) (environment) (cursor-color . black) (background-mode . light) (display-type . color) (horizontal-scroll-bars . t) (window-system . ns) (fullscreen) (alpha) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (title) (buffer-predicate) (tool-bar-lines . 0) (menu-bar-lines . 1) (right-fringe . 11) (left-fringe . 10) (line-spacing) (background-color . White) (foreground-color . Black) (vertical-scroll-bars . right) (internal-border-width . 2) (border-width . 0) (font . -*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1) (fontsize . 0) (font-backend mac-ct ns)) #)) (0 0 85 50)(2 2 598 702)(2 66 598 766)(2 0 80 49)(12 2 572 688)(12 66 572 752) Devon