From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Kamm Subject: Re: restore window configuration after org-edit-src-exit Date: Sun, 22 Dec 2019 17:46:00 -0800 Message-ID: <87a77jddbb.fsf@gmail.com> References: <87lfrc9qs6.fsf@nicolasgoaziou.fr> <87woavd8j4.fsf@kyleam.com> <87sgljf3e1.fsf@gmail.com> <87mubrf2mm.fsf@gmail.com> <87lfr45shp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59841) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijCo5-00084C-33 for emacs-orgmode@gnu.org; Sun, 22 Dec 2019 20:46:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ijCo4-0000c2-2r for emacs-orgmode@gnu.org; Sun, 22 Dec 2019 20:46:48 -0500 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:54326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ijCo3-0000Xx-TC for emacs-orgmode@gnu.org; Sun, 22 Dec 2019 20:46:48 -0500 Received: by mail-pj1-x1032.google.com with SMTP id kx11so2641461pjb.4 for ; Sun, 22 Dec 2019 17:46:47 -0800 (PST) In-Reply-To: <87lfr45shp.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Richard Kim Hi, > I think any value that modifies the current layout ought to restore it: > - `split-window-below' > - `split-window-right' > - `reorganize-frame' > > OTOH, values that use the current layout should not restore it > afterwards: > - `current-window' > - `other-window' > - `other-frame' > > This should be mentioned in the docstring. > > WDYT? I agree, this sounds like the correct behavior to me.