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: Sun, 30 Jun 2013 00:18:35 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CD49CF.1090103@gmx.at> <2FB4C583-960C-4DA8-8B2E-29DF8D96770E@swipnet.se> <51CD6324.2040504@gmx.at> <834ncifkq9.fsf@gnu.org> <83zjuae19s.fsf@gnu.org> <83r4fmdsw5.fsf@gnu.org> <85k3ldtion.fsf@member.fsf.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372544362 14590 80.91.229.3 (29 Jun 2013 22:19:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 22:19:22 +0000 (UTC) Cc: Emacs developers To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 30 00:19:22 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 1Ut3UI-0003fA-6D for ged-emacs-devel@m.gmane.org; Sun, 30 Jun 2013 00:19:22 +0200 Original-Received: from localhost ([::1]:48075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3UH-0000ZD-FG for ged-emacs-devel@m.gmane.org; Sat, 29 Jun 2013 18:19:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3UD-0000Z6-0C for emacs-devel@gnu.org; Sat, 29 Jun 2013 18:19:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ut3UC-0000Fd-6h for emacs-devel@gnu.org; Sat, 29 Jun 2013 18:19:16 -0400 Original-Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:45767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3UC-0000FX-0g for emacs-devel@gnu.org; Sat, 29 Jun 2013 18:19:16 -0400 Original-Received: by mail-we0-f172.google.com with SMTP id q56so2254565wes.17 for ; Sat, 29 Jun 2013 15:19:15 -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; bh=DcNI9Vv02W3JIwDMcm+InBEA//u2QUnssL+hlU4wUpM=; b=WGL/rYbGF9iOqHZ8Ejq/bvBJyJ5vgVuZaRF4HybheZtL3CTEjZvBB2ZgGDm2S2Yjeg ieqqabhe89PnI+tk4W6hJBzW4zOp9V1afqXo0V4gGe4sX+sfvtdlAVr4MBd3NCnryIYS 7uhmsgWDXdpom+dmQ64lh7C2nHufewopqaznT+kczLLjeMcVwQIF+OWI7MjZDZk7kEIb oYXCJiM32kIAR0/aoD/TQY1S/cZVtKYCcgNoWwTpiqD0ZdzRx888wgC/0ZbZAGi2i/EM K95+swo1YbElog83Hx2MYHcSQu4ESqTqfgnk8vdTMo98q4TbwnW5nlp9SlkOVYTDpw9b 67gA== X-Received: by 10.194.63.229 with SMTP id j5mr15394330wjs.79.1372544355205; Sat, 29 Jun 2013 15:19:15 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Sat, 29 Jun 2013 15:18:35 -0700 (PDT) In-Reply-To: <85k3ldtion.fsf@member.fsf.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22c 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:161303 Archived-At: On Sat, Jun 29, 2013 at 10:39 AM, Stephen Leake wrote: > Moving the frame outside the current display is an issue; it would be > nice if the restore could detect that, and keep the frames in view. How can I do that? Is there any way to get from Emacs the maximum dimensions of a frame in the current display, other than (let ((frame (make-frame '((fullscreen . maximized))))) (prog1 (cons (frame-width frame) (frame-height frame)) (delete-frame frame))) which has the downside of being noticeable to the user? J > > -- > -- Stephe >