From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: [PATCH] org-src: Add option to restore window configuration after edit Date: Mon, 17 Feb 2020 04:15:56 +0000 Message-ID: <87blpxq26b.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51026) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3XpE-0000XB-2p for emacs-orgmode@gnu.org; Sun, 16 Feb 2020 23:16:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3XpC-0005MS-UT for emacs-orgmode@gnu.org; Sun, 16 Feb 2020 23:16:03 -0500 Received: from pb-smtp21.pobox.com ([173.228.157.53]:55698) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j3XpC-0005El-IA for emacs-orgmode@gnu.org; Sun, 16 Feb 2020 23:16:02 -0500 In-Reply-To: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Tom Gillespie , emacs-orgmode@gnu.org Hi Tom, Tom Gillespie writes: > Hi all, > After hours of frustration ending in a realization that I should really > just read the change logs, I tracked down the reason why editing > source blocks was now destroying my window layout. I restored the > old behavior hidden behind a custom variable. Let me know if it looks > ok, or if more work is needed. Thanks! I haven't looked at your proposed change closely, but I think this is the same issue that was reported recently [0] and fixed by d833920de (org-src: restore windows for some values of org-src-window-setup, 2019-12-23). If you have a chance, please check whether that commit resolves the issue for you. [0]: https://lists.gnu.org/archive/html/emacs-orgmode/2019-12/msg00263.html