From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#29986: Add frame arg to toggle-frame-maximized Date: Sun, 07 Jan 2018 23:30:14 +0200 Organization: LINKOV.NET Message-ID: <87r2r1peox.fsf@mail.linkov.net> References: <87r2r5z4g2.fsf@mail.linkov.net> <5A524617.2060602@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515362179 14094 195.159.176.226 (7 Jan 2018 21:56:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2018 21:56:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 29986@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 07 22:56:15 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYIvL-00036e-6c for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jan 2018 22:56:11 +0100 Original-Received: from localhost ([::1]:43868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYIxK-0006yj-Gu for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jan 2018 16:58:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYIxC-0006yU-MU for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2018 16:58:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYIx9-0000xO-AZ for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2018 16:58:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYIx9-0000xF-7D for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2018 16:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYIx9-0004Gk-0V for bug-gnu-emacs@gnu.org; Sun, 07 Jan 2018 16:58:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jan 2018 21:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29986-submit@debbugs.gnu.org id=B29986.151536224516308 (code B ref 29986); Sun, 07 Jan 2018 21:58:02 +0000 Original-Received: (at 29986) by debbugs.gnu.org; 7 Jan 2018 21:57:25 +0000 Original-Received: from localhost ([127.0.0.1]:39928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYIwX-0004Ey-0H for submit@debbugs.gnu.org; Sun, 07 Jan 2018 16:57:25 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:50124 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYIwV-0004Em-3J for 29986@debbugs.gnu.org; Sun, 07 Jan 2018 16:57:23 -0500 Original-Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id E73CD2B206A; Sun, 7 Jan 2018 13:57:21 -0800 (PST) Original-Received: from localhost.linkov.net (m91-129-109-142.cust.tele2.ee [91.129.109.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPSA id 168E02B2065; Sun, 7 Jan 2018 13:57:20 -0800 (PST) In-Reply-To: <5A524617.2060602@gmx.at> (martin rudalics's message of "Sun, 07 Jan 2018 17:08:55 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:141884 Archived-At: >> (add-to-list 'after-make-frame-functions >> 'toggle-frame-maximized) > > How would this behave when the frame is maximized initially by the > windowing system/manager? Would it then set the frame to its normal > size? Exactly. But as long as the frame is not maximized initially by the window manager, this should work fine.