From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 17:32:48 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <51C9C790.3020407@gmx.at> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CD49CF.1090103@gmx.at> <51CD5489.10902@g> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <83a9maflnx.fsf@gnu.org> <51CD97C5.6030000@gmx.at> <2ABAD72B-9408-4DEA-A96E-B8CE2A515BF8@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372433621 31538 80.91.229.3 (28 Jun 2013 15:33:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 15:33:41 +0000 (UTC) Cc: Angelo Graziosi , Emacs developers , martin rudalics , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: =?UTF-8?Q?Jan_Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 17:33:42 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 1Usag9-0002Sm-VU for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 17:33:42 +0200 Original-Received: from localhost ([::1]:41848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usag9-0006nM-KJ for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 11:33:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usag4-0006mo-Qc for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:33:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Usag3-0004ul-EQ for emacs-devel@gnu.org; Fri, 28 Jun 2013 11:33:36 -0400 Original-Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]:42803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usafx-0004sj-Bv; Fri, 28 Jun 2013 11:33:29 -0400 Original-Received: by mail-ie0-f170.google.com with SMTP id e11so4440845iej.1 for ; Fri, 28 Jun 2013 08:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=K+YhRnmcUuuFzV2r5asZ9gVFSyoAMEORQF1RNMiLm/4=; b=URRC27oyD1xAjGjnja542JGsI+XPpITP7UN9+i9GbaIuA/7B1+op+wprL8WYzna4CT ynF8K26n5gouZEvNeahESzJM3UpyPfg9yLau0dGqhYzxcLw88BGU6bCLR037Pe9heVYn 7MQKJOHBt6xIrzWFPdqKCG0FwtOgbs8WqpM6XdFWsQGXrcybu0uJRqy1z06Rpb9V6rAs 5HQlLUROCxOjvLc2I0qx54Su/JqdZo/QEOuCGJviqw8M6rRxkjn9QRAA/dAyXHh6NJZe wE6+NhEq3MSWthEkunl8laldnKj4TGBMoJ04dV4YuSraDYmie/+Zry1jkMe07ep4pYPC Ll+A== X-Received: by 10.50.122.65 with SMTP id lq1mr4553659igb.11.1372433608676; Fri, 28 Jun 2013 08:33:28 -0700 (PDT) Original-Received: by 10.64.126.161 with HTTP; Fri, 28 Jun 2013 08:32:48 -0700 (PDT) In-Reply-To: <2ABAD72B-9408-4DEA-A96E-B8CE2A515BF8@swipnet.se> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22a 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:161236 Archived-At: On Fri, Jun 28, 2013 at 5:22 PM, Jan Dj=C3=A4rv wrote: > So when I do: > > (make-frame '((fullscreen . maximized))) > > and de-maximize it, it comes out as a frame with geometry 80x32. That's not what happens on Windows. In fact, on Emacs for Windows, (fullscreen . maximized) is decoupled from the window manager "mazimized" state. With emacs- Q I get 80x38 frames by default, but after (make-frame '((fullscreen . maximized))) I get a frame that uses the full screen (minus the taskbar), but that is not really maximized (it has borders, for example). Clicking on the maximize/restore button does maximized it, according to the window manager definition (and clicking again brings it back to its non-maximized, but full-screen-covering previous size). OTOH, (make-frame '((fullscreen . fullscreen))) does indeed work as you describe; M-x toggle-frame-fullscreen gives a default, 80x38 frame. J