From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: restore window configuration after org-edit-src-exit Date: Mon, 16 Dec 2019 17:30:33 +0100 Message-ID: <87lfrc9qs6.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58055) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igtGc-0007Ci-KG for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 11:30:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igtGa-0002Eh-Nh for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 11:30:42 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:49629) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igtGZ-0002B1-Cy for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 11:30:40 -0500 In-Reply-To: (Richard Kim's message of "Sat, 14 Dec 2019 11:06:44 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Richard Kim Cc: emacs-orgmode@gnu.org Hello, Richard Kim writes: > About a year ago change 819e98afd018cad3c13fd58bfcbd979ab36dfbc7 was checked in > to remove code that restored window configuration when =org-edit-src-exit= > finished. The net result is af if =C-x 1= is called to remove all windows except > the org buffer just edited. This is very inconvenient. > > Why not call =winner-undo= to restore window configuration as shown > here? I'd rather not add another dependency just for this. However, it doesn't mean the inconvenience shouldn't be fixed. I cannot remember why 819e98afd018cad3c13fd58bfcbd979ab36dfbc7 was necessary. I'm Cc'ing Matt Price. Regards, -- Nicolas Goaziou