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#21413: Top of buffer hidden when toolbar hidden and frame height is large Date: Fri, 04 Sep 2015 21:17:45 +0200 Message-ID: <55E9EE59.9030402@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441394305 8741 80.91.229.3 (4 Sep 2015 19:18:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 19:18:25 +0000 (UTC) To: Devon Buchanan , 21413@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 04 21:18:13 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 1ZXwV3-0006mO-9P for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Sep 2015 21:18:13 +0200 Original-Received: from localhost ([::1]:34528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwV3-0007vo-5B for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Sep 2015 15:18:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwUx-0007sT-Kx for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwUs-0001eG-KC for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:18:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwUs-0001eB-FI for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXwUr-0005ri-Vh for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2015 15:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2015 19:18:01 +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.144139427722534 (code B ref 21413); Fri, 04 Sep 2015 19:18:01 +0000 Original-Received: (at 21413) by debbugs.gnu.org; 4 Sep 2015 19:17:57 +0000 Original-Received: from localhost ([127.0.0.1]:48995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXwUn-0005rO-CG for submit@debbugs.gnu.org; Fri, 04 Sep 2015 15:17:57 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:62052) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXwUm-0005rG-8i for 21413@debbugs.gnu.org; Fri, 04 Sep 2015 15:17:56 -0400 Original-Received: from [188.22.110.110] ([188.22.110.110]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MMoU7-1ZbWKz248l-008ZXB; Fri, 04 Sep 2015 21:17:54 +0200 In-Reply-To: X-Provags-ID: V03:K0:iXPzcyXfN1USGP2Ge3F8GGgezHNLQyJQWbAbdaEXsEnnZW1tAWl 2QuCkZ6rMF/DGfUqluLuoDZDK5DTFpjTItqSi94guQ0RAmxWuXHKnu3qQubxa8rJl9ZjSVQ nWYr2p/D0pcjJ75p8yCP8eZLjqwJz3kfQBod5ittK7C76xxZepg8Qtq98ZOSfHwdK4LbyTv IqjDGsVPfVleiZQdwtQ4g== X-UI-Out-Filterresults: notjunk:1;V01:K0:CRR0hcJ5yjs=:MQ+9uWSIoU2oggnpzShRP6 ZESVTG4CGW2bGbGJKSDeaT5Ya1sOrTDkw8pSEXkk+0UcsUcNgM5LFFWbZa4x271MuIsiWpITw iocdjyNbSfmBo3mWiss7hm6ibELks9MDQ+aMw3bpeou4fakkilKPEgaCz9lAgU4sNNaqi7Ugg St5olENfN6fzliCsx0FHRLOYg8HyDNN1iZnQD28gyLk7VfY3TscP0c1QmqlwxYQu2mtAViIVS XaCVTIbhvpVty0upAXWZbylSl9ZmIhqCU3FeZcxmQVT5p1Xk9bd1PPA+kO1T9DfVsdDLc5vPp YpuTspUK0IAq5Qjv9Fq4Cdt5zcOXiX3XBp1+zyKpp6fvARsE+zTvCxcQ6m4D96tUJtry/4wij HYnnpC+w58jZP+VYj+Ifj5N7UmEl5Aso4WewRbBYeLcwu13YhckquFOa8Ikftth9WPa/2sgbe pExZb5ryLgNJinbTM89r44kNPRts0kF3MfUj1kfpuDo6MUfMnvJyE/vKhY5v638Q3MczXm5F8 pw83298jks0psiC6UAnbMhAERppOSn0HPt5YyNYbqtM6tfZghlSovm9YkdRzym+2GY346stcl 3L4fBURxKPEW7P+1n9bMe4r78tAOZkrj4BttOWm+Yf4CpLL66dVX8D6oIwYRQcNmuGTnkQfX9 WPtzI5bTZmUp15VfQ1AjWjfYSPERKuOXuPg22R3vGBwWzScYonOKUrYrUBQbzIbtOUvjha+ry UbEkh7L+E86SzXQZQI/EL2g6e3+hVwg7FGFGBg== 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:106153 Archived-At: > Here are the steps to reproduce the problem using the NS build of emacs on OS X 10.10.4. > > cat >> test-init.el < (tool-bar-mode -1) > (setq default-frame-alist '((height . 100))) > EOF > open -a Emacs.app --args -Q -l ~/test-init.el > > This opens a graphical emacs frame showing the *scratch* > buffer. Neither the cursor is visible, nor is the text normally shown > in the *scratch* buffer. Scrolling up will not make either of these > visible. C-x C-f RET will display the contents of > that buffer with some or all of the lines at the start hidden. > > The hidden sections of the buffer can be made visible by clicking and > dragging on any edge of the window and resizing it. > * Expected behaviour > > When I set the frame size to be taller than the screen will allow, I > expect the frame to occupy as much vertical space as possible without > the top of the buffer being hidden. This is the behaviour seen when > tool-bar-mode is on. This is probably beyond Emacs' control. I suppose that your window manager normally tries to assure that the tool bar is visible. When there's no tool bar it simply puts the frame somwhere if it's taller than your screen. What happpens when you also explicitly put the top left edge at some visible position like with (setq default-frame-alist '((top . 5) (left . 5) (height . 100))) martin