From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Annoying (frameset bug?): desktop-mode and maxmized frame Date: Sun, 10 Nov 2013 10:35:08 +0530 Message-ID: <87ob5srgmz.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384059909 20990 80.91.229.3 (10 Nov 2013 05:05:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2013 05:05:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 10 06:05:13 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 1VfNCy-0003rk-AN for ged-emacs-devel@m.gmane.org; Sun, 10 Nov 2013 06:05:12 +0100 Original-Received: from localhost ([::1]:59101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfNCx-0000GP-SI for ged-emacs-devel@m.gmane.org; Sun, 10 Nov 2013 00:05:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfNCo-0000Bp-1U for emacs-devel@gnu.org; Sun, 10 Nov 2013 00:05:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfNCg-0004uN-NZ for emacs-devel@gnu.org; Sun, 10 Nov 2013 00:05:01 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:39089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfNCg-0004uH-H0 for emacs-devel@gnu.org; Sun, 10 Nov 2013 00:04:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VfNCf-0003Sl-KM for emacs-devel@gnu.org; Sun, 10 Nov 2013 06:04:53 +0100 Original-Received: from 115.242.147.33 ([115.242.147.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Nov 2013 06:04:53 +0100 Original-Received: from kjambunathan by 115.242.147.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Nov 2013 06:04:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 65 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 115.242.147.33 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:P4pdVV2Ktifklzfin/nbFjKu9UQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:165106 Archived-At: I am not sure this counts as an bug or an area for improvement. The description is fuzzy. Please be patient. Timeline: Happens post Juanma's frameset enhancements. ---------------------------------------------------------------- Problem: Minibuffer gets much below (or beyond) the visible area of my monitor (I use netbook.) See the attached screenshot. This makes Emacs practically useless. ---------------------------------------------------------------- How do I get in to above scenario: 0. No desktop file. 1. emacs -Q but with desktop enabled. (custom-set-variables '(desktop-base-file-name "~/.emacs.desktop") '(desktop-save-mode t)) 2. The frame occupies only a part of my screen. Maximize it. 3. IMPORTANT STEP: Open a lot of buffers. This is step is important to ensure that there is a notable delay between "the initial frame" and "maximized frame" when Emacs is restarted. 4. Save desktop. Quit Emacs. 5. Restart Emacs. Emacs starts with an *un*-maximized frame. The frame would remain in this state until the .emacs (and hence the desktop) is fully loaded. CRUCIAL STEP: Don't wait for intitalization to finish. Maximize the frame via the window manager. (I do this out of habit.) 6. After the Emacs has inited, see a frame where the minibuffer has gone underneath my monitor. i.e., minibuffer is totally inaccessible. ---------------------------------------------------------------- Expected behaviour: 1. Setting of initial frame size should take precedence over other initialization stuff or 2. The frameset code should account for the above quirky behaviour of me. (If frame is maximized, then nothing to do.)