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 11:10:30 +0100 Message-ID: References: <55E9EE59.9030402@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1441447887 6188 80.91.229.3 (5 Sep 2015 10:11:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2015 10:11:27 +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 12:11: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 1ZYARC-0001X8-GW for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Sep 2015 12:11:10 +0200 Original-Received: from localhost ([::1]:39222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYARC-0006PM-GE for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Sep 2015 06:11:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYAR8-0006PB-R1 for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 06:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYAR4-0002Q2-Qd for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 06:11:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYAR4-0002Pw-Mn for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 06:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZYAR4-0008Ql-6H for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 06:11: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 10:11: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.144144783532368 (code B ref 21413); Sat, 05 Sep 2015 10:11:02 +0000 Original-Received: (at 21413) by debbugs.gnu.org; 5 Sep 2015 10:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:49381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYAQd-0008Pz-5q for submit@debbugs.gnu.org; Sat, 05 Sep 2015 06:10:35 -0400 Original-Received: from mail-wi0-f182.google.com ([209.85.212.182]:34378) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYAQa-0008Pr-Ux for 21413@debbugs.gnu.org; Sat, 05 Sep 2015 06:10:33 -0400 Original-Received: by wicfx3 with SMTP id fx3so43820079wic.1 for <21413@debbugs.gnu.org>; Sat, 05 Sep 2015 03:10:32 -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=YOl92YBTehqvQauCnXodthMKqrJA077zub2q4KvjyRk=; b=mg0TgaAbnVYVHEaBf69GKd8n0yG/UZqQFHhXl0rpWjR6vVjm3YJjVl1K0CTc55qij0 2m9Pcz4a/TASQtquxr45N9l/UDCjSiA1G6H6So7i06+QdsvAMuOodDKkE6EkPLlGNvm8 4JrOIeieuilBku5zbFbavukuqrNogopPXxy53YH/9dNURroxqDRpnZ2yY+q3esY21C9A m05JJP/Ymhf7xkhoz9JXrKA48nBdO/xpV7WY5CybemSWb9qdoSs7zv/h3PTOSb1rKGtj wOZfeTcua4QxplyIaa7leDGIPFnOLe2RxlMyQWxT9u4pndXWRWyawALwIIrOqTKjxoFq tG+Q== X-Gm-Message-State: ALoCoQlj7wGcRn3L3VaRXGRgP7hnSNBTI4oGNtjdoHPgko5LmvYE9os/q7fNSF23SFpPDgnPLvon X-Received: by 10.194.172.233 with SMTP id bf9mr16221296wjc.107.1441447832307; Sat, 05 Sep 2015 03:10:32 -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 kb5sm6718310wjc.17.2015.09.05.03.10.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2015 03:10:31 -0700 (PDT) In-reply-to: <55E9EE59.9030402@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:106171 Archived-At: On Fri, Sep 04 2015, martin rudalics wrote: > > Here are the steps to reproduce the problem using the NS > > build of emacs on OS X 10.10.4. > > > > cat >> test-init.el < > 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 The below produces the same behaviour described previously. cat >> test-init.el <