From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.bugs Subject: bug#16430: 24.3.50; When fullscreen is triggered from the window manager, I can't resize window (via M-x org-export RET) Date: Mon, 20 Jan 2014 19:25:30 +0100 Message-ID: <878uuajysl.fsf@bzg.ath.cx> References: <87mwj0glf4.fsf@bzg.ath.cx> <52D427EA.5090609@gmx.at> <87txd7g0ew.fsf@bzg.ath.cx> <52D43FEA.7010602@gmx.at> <87y52jy52o.fsf@bzg.ath.cx> <52D4EBAE.2060903@gmx.at> <87iotmao4l.fsf@bzg.ath.cx> <52D51541.6040708@gmx.at> <87r48afrul.fsf@bzg.ath.cx> <52D57D3F.7090809@gmx.at> <877ga2iafk.fsf@bzg.ath.cx> <52D64215.7080805@gmx.at> <87sismherx.fsf@bzg.ath.cx> <52DA7149.60102@gmx.at> <878uucgcgc.fsf@bzg.ath.cx> <52DC0BDF.5020602@gmx.at> <87zjmqu46w.fsf@bzg.ath.cx> <52DD6884.2070301@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390242372 18747 80.91.229.3 (20 Jan 2014 18:26:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2014 18:26:12 +0000 (UTC) Cc: 16430@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 20 19:26:18 2014 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 1W5JY9-0007a1-Gt for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jan 2014 19:26:17 +0100 Original-Received: from localhost ([::1]:54064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5JY8-0001yO-TI for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jan 2014 13:26:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5JY0-0001y7-1x for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 13:26:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5JXu-0001kD-7u for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 13:26:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5JXu-0001k9-4C for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 13:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W5JXt-0003Nt-Mc for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 13:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bastien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jan 2014 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16430 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16430-submit@debbugs.gnu.org id=B16430.139024234012950 (code B ref 16430); Mon, 20 Jan 2014 18:26:01 +0000 Original-Received: (at 16430) by debbugs.gnu.org; 20 Jan 2014 18:25:40 +0000 Original-Received: from localhost ([127.0.0.1]:58677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5JXX-0003Ml-Cc for submit@debbugs.gnu.org; Mon, 20 Jan 2014 13:25:39 -0500 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:57010) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5JXS-0003MQ-7s for 16430@debbugs.gnu.org; Mon, 20 Jan 2014 13:25:35 -0500 Original-Received: by mail-wi0-f177.google.com with SMTP id m19so1200197wiv.4 for <16430@debbugs.gnu.org>; Mon, 20 Jan 2014 10:25:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=S13gLV5hIVMtqhmgZgZ+rz8VQXa6xmZJW/W9YT6VjNE=; b=PI0Bn+kB66NSqB34FVkA1x8gP1M+P0/yh2jwsh8A57088VoHN/q6IhWuyTgW2QKKUT sa1c4tzUW/xNBDqziCFocbIDVuS4qmhO1RLAlORaDJPjfFIvtZXz8EBIY+wZ2IegpFDQ 1Hld4n8EViM0laGeUwNNjFHwueldHGY9SQFUCzqfBtKwoRKTKQlts69fpZXodOSBeF2+ j0lryrv2ZE3hoLVTiH/4tyBbHmY7c0hU89F7/d6amdXQVViNYDfOEy2NIIIruoY757+r Gz/GUPZIUVL4Bmq+chSmdioA6fZbNcpkPTc/UGUDgc2lqfJHmk5YakwMSfgtjuY8EhMu cB9A== X-Received: by 10.194.63.228 with SMTP id j4mr15751710wjs.34.1390242332594; Mon, 20 Jan 2014 10:25:32 -0800 (PST) Original-Received: from bzg.localdomain (AMontsouris-651-1-1-52.w90-46.abo.wanadoo.fr. [90.46.36.52]) by mx.google.com with ESMTPSA id co15sm2811011wjb.12.2014.01.20.10.25.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2014 10:25:31 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id CE9441C2074C; Mon, 20 Jan 2014 19:25:30 +0100 (CET) In-Reply-To: <52DD6884.2070301@gmx.at> (martin rudalics's message of "Mon, 20 Jan 2014 19:18:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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: 140.186.70.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:83808 Archived-At: martin rudalics writes: >> window # height 17 > > Your buffer is too large to be fit to the window so > `fit-window-to-buffer' tries to get as much as it can. > `window-max-delta' in this case gives 17 because the minimum height of a > window is 4 and 21 - 4 = 17. Unfortunately, the window above is not 21 > lines high but only 372 / 18, that is, 20.666... lines. > > Now all this wouldn't be a problem per se: Unfortunately, > `window-resize' (the routine that does the actual resizing) counts > pixelwise internally and is very meticulous wrt minimum sizes so it > complains about the missing 0.333... lines. Thanks for the detailed explanations. > I'm not yet sure where precisely to handle this. Meanwhile, try the > `window--max-delta-1' below and tell me whether it fixes the > problem. It does wonderfully, thanks! > Thanks for your collaboration, martin Well, it was a long trip, I hope it will be useful. I'm surely not the only one to try exporting an Org file in a wm-fullscreen. Thansk again, -- Bastien