From unknown Fri Aug 15 16:19:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16300 <16300@debbugs.gnu.org> To: bug#16300 <16300@debbugs.gnu.org> Subject: Status: 24.3.50; 'M-' doesn't work always Reply-To: bug#16300 <16300@debbugs.gnu.org> Date: Fri, 15 Aug 2025 23:19:49 +0000 retitle 16300 24.3.50; 'M-' doesn't work always reassign 16300 emacs submitter 16300 Dani Moncayo severity 16300 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 30 07:02:16 2013 Received: (at submit) by debbugs.gnu.org; 30 Dec 2013 12:02:16 +0000 Received: from localhost ([127.0.0.1]:51870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VxbY0-00022i-9Z for submit@debbugs.gnu.org; Mon, 30 Dec 2013 07:02:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59370) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VxbXx-00022X-7F for submit@debbugs.gnu.org; Mon, 30 Dec 2013 07:02:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxbXs-0002ll-7A for submit@debbugs.gnu.org; Mon, 30 Dec 2013 07:02:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxbXs-0002le-4A for submit@debbugs.gnu.org; Mon, 30 Dec 2013 07:02:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxbXp-0000um-5D for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2013 07:02:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxbXn-0002kY-SY for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2013 07:02:05 -0500 Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:59977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxbXn-0002gZ-Le for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2013 07:02:03 -0500 Received: by mail-la0-f54.google.com with SMTP id b8so5398354lan.41 for ; Mon, 30 Dec 2013 04:02:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3/OeQ19PrUbhNwqhTefNQaugHz3JpvAAuOAQTwbxZ5Q=; b=XS9bQTw8TuWEHhyG28bELqNrPAYCZmzHLaDxcyHlzlaZAaFgcGc7g0CcYLhI5yQi+J 0I6FQUbZSiunT9udyLlCE8yxJ/FLR8yKpx1Ab4m+8WKcM1ijVu6iL63c24o1iLjumMln yhe6LrSa4Y3f8gar8UTC7e2h/5jSrov+LyKzPxGz63z7g9xtZDgQIUIrLRZ3oLyHq45E BOCtvOpD4/t0WhCv8viy9T2od65csp26lLCGUebQSzK1eiak+Dm/YWuqpXgbjRY9VdwI 4TjcHvUe00YtksfOl6c/sdEtPik8QBs3iYGxpZq4WpIpdSa3BYnxICab+I6hiaI+qZLG uypw== MIME-Version: 1.0 X-Received: by 10.152.143.101 with SMTP id sd5mr14619538lab.26.1388404921884; Mon, 30 Dec 2013 04:02:01 -0800 (PST) Received: by 10.114.172.71 with HTTP; Mon, 30 Dec 2013 04:02:01 -0800 (PST) Date: Mon, 30 Dec 2013 13:02:01 +0100 Message-ID: Subject: 24.3.50; 'M-' doesn't work always From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Recipe from "emacs -Q": M- M- M- The first time 'M-' is typed the emacs frame is maximized (OK), the second time it is un-maximized (OK), but the third time nothing happens (it should be maximized again). In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-12-29 on LEG570 Bzr revision: 115804 jan.h.d@swipnet.se-20131229131709-3xodjuaj5k14kpev Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1' -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 04:34:04 2014 Received: (at 16300) by debbugs.gnu.org; 4 Jan 2014 09:34:04 +0000 Received: from localhost ([127.0.0.1]:33014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzNcK-00082k-85 for submit@debbugs.gnu.org; Sat, 04 Jan 2014 04:34:04 -0500 Received: from mout.gmx.net ([212.227.17.20]:63606) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzNcH-00082J-Th for 16300@debbugs.gnu.org; Sat, 04 Jan 2014 04:34:02 -0500 Received: from [62.47.53.200] ([62.47.53.200]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MNq8p-1W59BD2UmJ-007XZV for <16300@debbugs.gnu.org>; Sat, 04 Jan 2014 10:34:00 +0100 Message-ID: <52C7D585.20704@gmx.at> Date: Sat, 04 Jan 2014 10:33:57 +0100 From: martin rudalics MIME-Version: 1.0 To: Dani Moncayo Subject: Re: bug#16300: 24.3.50; 'M-' doesn't work always References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:IkkufoFjnaYok2+ppon4cMs2TXSBHy0Ql3ihTYtgotFZ8nZqCKu mFNPHdpjjXzH8+jq4+/RqKIQuYCISQegaC1R43klik+zbUo4otNsPyb4MCEih0ndg5CkeBn frToMDFh0GDO1W1JUWii9SoF0ULbeaV1BoDYhJ1zHSyOjJH81bpG9mPlLnSX6CKf0ArilkL Y6WI/XpJJUr+oLTqz2JGQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16300 Cc: 16300@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Recipe from "emacs -Q": > M- M- M- > > The first time 'M-' is typed the emacs frame is maximized (OK), the > second time it is un-maximized (OK), but the third time nothing happens (it > should be maximized again). Should behave better with revision 115865 on trunk. Please test it. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 06:19:02 2014 Received: (at 16300) by debbugs.gnu.org; 4 Jan 2014 11:19:02 +0000 Received: from localhost ([127.0.0.1]:33106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzPFt-0002SX-SH for submit@debbugs.gnu.org; Sat, 04 Jan 2014 06:19:02 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:42044) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzPFr-0002S7-Mx for 16300@debbugs.gnu.org; Sat, 04 Jan 2014 06:19:00 -0500 Received: by mail-la0-f46.google.com with SMTP id eh20so8689346lab.19 for <16300@debbugs.gnu.org>; Sat, 04 Jan 2014 03:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8a8apROUnA1ym7XzAcsuNOPCE4c62Nhc5dcv+eMKFOA=; b=Nu9wOBu6mq9VqWh7fWzy39Nyce+QCUrpsBJ3Iqzn4JdA/9BH7c6lT62uq9o//ec4Z0 PmmkEKEEvazMmsy2vgK1nFPr7xsGzhDotILRoGE4u3nmvA87cuahJkpAjxAY9gRutkSM iC+PAgVraDAMLw1oWfFIRHHl/xgVbBtSsLDcsSFBgnfziXfcnUXz8BgISAeNRfxIgW9a xTwtx68yhQlSPAxPqybIVjNsR1x45dxnHvZWB3jIxxD9hrM8Teug6JFgrG4QUKNt9Awj 7prOB64ThukVkQCISwAoep65LSvzRMxVvzmHCqAsRn/xZb6otRhQUFtl1v02eh3StSiX oORw== MIME-Version: 1.0 X-Received: by 10.152.197.67 with SMTP id is3mr24746lac.61.1388834338536; Sat, 04 Jan 2014 03:18:58 -0800 (PST) Received: by 10.114.172.71 with HTTP; Sat, 4 Jan 2014 03:18:58 -0800 (PST) In-Reply-To: <52C7D585.20704@gmx.at> References: <52C7D585.20704@gmx.at> Date: Sat, 4 Jan 2014 12:18:58 +0100 Message-ID: Subject: Re: bug#16300: 24.3.50; 'M-' doesn't work always From: Dani Moncayo To: martin rudalics Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16300 Cc: 16300@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sat, Jan 4, 2014 at 10:33 AM, martin rudalics wrote: >> Recipe from "emacs -Q": >> M- M- M- >> >> The first time 'M-' is typed the emacs frame is maximized (OK), the >> second time it is un-maximized (OK), but the third time nothing happens >> (it >> should be maximized again). > > Should behave better with revision 115865 on trunk. Please test it. It seems fixed, indeed. And BTW, I don't know if it's due to this change, but I can't reproduce the bug #14239 anymore with the current trunk. So it could be closed as well. Thank you! -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 08:43:40 2014 Received: (at 16300-done) by debbugs.gnu.org; 4 Jan 2014 13:43:40 +0000 Received: from localhost ([127.0.0.1]:33269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzRVr-0007ZE-Qc for submit@debbugs.gnu.org; Sat, 04 Jan 2014 08:43:40 -0500 Received: from mout.gmx.net ([212.227.15.18]:60703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzRVp-0007Z6-Ec for 16300-done@debbugs.gnu.org; Sat, 04 Jan 2014 08:43:37 -0500 Received: from [62.47.40.146] ([62.47.40.146]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MNYxW-1W2BbW1zg2-0079Nu for <16300-done@debbugs.gnu.org>; Sat, 04 Jan 2014 14:43:36 +0100 Message-ID: <52C81005.8040700@gmx.at> Date: Sat, 04 Jan 2014 14:43:33 +0100 From: martin rudalics MIME-Version: 1.0 To: Dani Moncayo Subject: Re: bug#16300: 24.3.50; 'M-' doesn't work always References: <52C7D585.20704@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Y3R2tVxHzGLzsGJLRYHAfc2mE+X3aJ3fJI98yTzUAZUzzYkQED3 HA7DM5QtZWOFtQ756XIxiU+RCdQgiLUDSZ+ayd6MUUAVnZtjS5ZrYPVGqhP0cfkRqqxwxgw k7noSuQM64bG21zpAjyW4oMP1bIjzl9m8Zqm7rBIpJx9bTNeqFZgwluIAALPkobeDiJP//q bH6ikU5i+IUapoF1N8fCQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16300-done Cc: 16300-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > It seems fixed, indeed. The current code still doesn't catch all possible transitions. For example, a FULLSCREEN_HEIGHT followed by two M-s will get you a normalized window which is arguable not TRT but catching this without introducing additional states seems hardly possible. Here I do (defun toggle-full-height () (interactive) (if (eq (frame-parameter nil 'fullscreen) 'fullheight) (set-frame-parameter nil 'fullscreen 'fullnone) (set-frame-parameter nil 'fullscreen 'fullheight))) which IMO is the best way to use the FULLHEIGHT feature. I'll close this bug. > And BTW, I don't know if it's due to this change, but I can't > reproduce the bug #14239 anymore with the current trunk. The old code used SetWindowPos which according to http://msdn.microsoft.com/en-us/library/windows/desktop/ms632611%28v=vs.85%29.aspx should not be used: The coordinates used in a WINDOWPLACEMENT structure should be used only by the GetWindowPlacement and SetWindowPlacement functions. Passing workspace coordinates to functions which expect screen coordinates (such as SetWindowPos) will result in the window appearing in the wrong location. For example, if the taskbar is at the top of the screen, saving window coordinates using GetWindowPlacement and restoring them using SetWindowPos causes the window to appear to "creep" up the screen. > So it could > be closed as well. Please do that. martin From unknown Fri Aug 15 16:19:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Feb 2014 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator