From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#14970: crash deleting frames Date: Sun, 28 Jul 2013 19:34:23 +0200 Message-ID: References: <831u6izoyz.fsf@gnu.org> <83y58qy4p6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1375032978 24125 80.91.229.3 (28 Jul 2013 17:36:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jul 2013 17:36:18 +0000 (UTC) Cc: 14970-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 19:36:19 2013 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 1V3UtG-0007H8-7J for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 19:36:18 +0200 Original-Received: from localhost ([::1]:38213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3UtF-0002Gc-RU for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 13:36:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3Ut6-00028p-6n for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 13:36:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3Ut1-0002Hg-DW for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 13:36:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3Ut1-0002Hc-3I for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 13:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V3Ut0-0003GW-Gw for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2013 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14970 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14970-done@debbugs.gnu.org id=D14970.137503291312441 (code D ref 14970); Sun, 28 Jul 2013 17:36:02 +0000 Original-Received: (at 14970-done) by debbugs.gnu.org; 28 Jul 2013 17:35:13 +0000 Original-Received: from localhost ([127.0.0.1]:54670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3UsC-0003EY-AB for submit@debbugs.gnu.org; Sun, 28 Jul 2013 13:35:13 -0400 Original-Received: from mail-ee0-f49.google.com ([74.125.83.49]:49883) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Us9-0003EC-Oj for 14970-done@debbugs.gnu.org; Sun, 28 Jul 2013 13:35:10 -0400 Original-Received: by mail-ee0-f49.google.com with SMTP id b57so2450080eek.36 for <14970-done@debbugs.gnu.org>; Sun, 28 Jul 2013 10:35:03 -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=WAufPmdAgAi3h2TNCH2CnswMpf7zxOVVlaYRePOAF8w=; b=ps9zWv0YBFBvoabdx/+qWOzbO5LWjUQnYu8Q4YD3iKYYsuoUSpu9oeM/lv3TVjUgWD IfcMsnzmJ/JvUhlyWlViD8gAXcxkvkvb02vTlHkCPs/BQIIWqqmJAgV4Mh9h4C9WCsu7 ksv8Ng97fA6Hnel6G+hsujxUCM36qBf9QVfKWHuCrkxIjEl4fPVTYDW9ZNNaNDd+yJhy O6b6lI7sdmKR4x/LxjgzTn+H6k9D8BoIsn1GFCyOsITAtS/5reXrdHvNOhxfNXUxsfbA E7ktL/Ij488vqL4dDwOHhwxSXVm/x29jmtAGyooT+aGPt33auwT+v2beC9M5FlLFBv72 Vhdw== X-Received: by 10.14.218.8 with SMTP id j8mr56101024eep.129.1375032903819; Sun, 28 Jul 2013 10:35:03 -0700 (PDT) Original-Received: by 10.15.23.70 with HTTP; Sun, 28 Jul 2013 10:34:23 -0700 (PDT) In-Reply-To: <83y58qy4p6.fsf@gnu.org> 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:76738 Archived-At: On Sun, Jul 28, 2013 at 7:28 PM, Eli Zaretskii wrote: > Did you create the frames manually, or do you have some Lisp to > sweeten the pill? I was using this. Dimensions are harcoded to make frames be totally or partially offscren in my 1920x1040 workarea. If you create the frames and then save the frame config with desktop and restore with the current default, those frames that are totally offscreen should be moved onscreen. Once that has finished, you can start clicking Close buttons happily. (defvar test-frame-alist-list ;; 1920 x 1040 '( ((name . "top full (400 -3000)") (left . 400) (top + -3000)) ((name . "top part (500 -200)") (left . 500) (top + -200)) ;ok ((name . "bot full (400 4000)") (left . 400) (top . 4000)) ((name . "bot part (500 900)") (left . 500) (top . 900)) ;ok ((name . "left full (-3000 300)") (left + -3000) (top . 300)) ((name . "left part (-400 300)") (left + -400) (top . 300)) ;ok ((name . "right full (4000 200)") (left . 4000) (top . 200)) ((name . "right part (1800 300)") (left . 1800) (top . 300)) ;ok ((name . "upleft full (-2000 -2000)") (left + -2000) (top + -2000)) ((name . "upleft part (-100 -100)") (left + -100) (top + -100)) ;ok ((name . "dnleft full (-2000 3000)") (left + -2000) (top . 3000)) ((name . "dnleft part (-300 800)") (left + -300) (top . 800)) ;ok ((name . "upright full (3000 -2000)") (left . 3000) (top + -2000)) ((name . "upright part (1700 -200)") (left . 1700) (top + -200)) ;ok ((name . "dnright full (3000 3000)") (left . 3000) (top . 3000)) ((name . "dnright part (1600 900)") (left . 1600) (top . 900)) ;ok ((name . "top full width") (left . 100) (top + -1000) (width . 400)) ((name . "top full height") (left . 100) (top + -6000) (height . 300)) ((name . "top full full") (left . 100) (top + -6000) (width . 400) (height . 300)) ((name . "top part width") (left . 100) (top + -300) (width . 400)) ((name . "top part height") (left . 200) (top + -3900) (height . 300)) ((name . "top part full") (left . 300) (top + -4200) (width . 400) (height . 300)) ((name . "left full width") (left + -4000) (top . 200) (width . 400)) ((name . "left full height") (left + -4000) (top . 300) (height . 300)) ((name . "left full full") (left + -4000) (top . 400) (width . 400) (height . 300)) ((name . "left part width") (left + -3000) (top . 200) (width . 400)) ((name . "left part height") (left + -300) (top . 300) (height . 300)) ((name . "left part full") (left + -3200) (top . 400) (width . 400) (height . 300)) ((name . "bot full width") (left . 100) (top . 2000) (width . 400)) ((name . "bot full height") (left . 200) (top . 3000) (height . 300)) ((name . "bot full full") (left . 300) (top . 4000) (width . 400) (height . 300)) ((name . "bot part width") (left . 100) (top . 700) (width . 400)) ((name . "bot part height") (left . 200) (top . 800) (height . 300)) ((name . "bot part full") (left . 300) (top . 900) (width . 400) (height . 300)) ((name . "right full width") (left . 3000) (top . 200) (width . 400)) ((name . "right full height") (left . 3000) (top . 300) (height . 300)) ((name . "right full full") (left . 3000) (top . 400) (width . 400) (height . 300)) ((name . "right part width") (left . 1600) (top . 200) (width . 400)) ((name . "right part height") (left . 1700) (top . 300) (height . 300)) ((name . "right part full") (left . 1800) (top . 400) (width . 400) (height . 300)) ((name . "upleft full width") (left + -3000) (top + -1000) (width . 400)) ((name . "upleft full height") (left + -3000) (top + -6000) (height . 300)) ((name . "upleft full full") (left + -3000) (top + -6000) (width . 400) (height . 300)) ((name . "upleft part width") (left + -3000) (top + -300) (width . 400)) ((name . "upleft part height") (left + -500) (top + -3900) (height . 300)) ((name . "upleft part full") (left + -3200) (top + -4200) (width . 400) (height . 300)) )) (defun make-all () (interactive) (dolist (frame-cfg test-frame-alist-list) (modify-frame-parameters (make-frame) frame-cfg)))