[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restore window configuration after org-edit-src-exit
From: |
Nicolas Goaziou |
Subject: |
Re: restore window configuration after org-edit-src-exit |
Date: |
Sun, 22 Dec 2019 15:45:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Jack Kamm <address@hidden> writes:
> Rather than adding a new option, how about we make the behavior
> dependent on the value of org-src-window-setup?
>
> Basically, when org-src-window-setup is current-window, it never makes
> sense to restore the original layout. But when org-src-window-setup is
> reorganize-frame (the default), it always makes sense to restore the
> original layout.
>
> I'm not sure what the "correct" behavior would be for the other options
> however.
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?
Regards,
--
Nicolas Goaziou
- restore window configuration after org-edit-src-exit, Richard Kim, 2019/12/16
- Re: restore window configuration after org-edit-src-exit, Nicolas Goaziou, 2019/12/16
- Re: restore window configuration after org-edit-src-exit, Kyle Meyer, 2019/12/16
- Re: restore window configuration after org-edit-src-exit, Jack Kamm, 2019/12/17
- Re: restore window configuration after org-edit-src-exit, Jack Kamm, 2019/12/17
- Re: restore window configuration after org-edit-src-exit, Fraga, Eric, 2019/12/17
- Re: restore window configuration after org-edit-src-exit,
Nicolas Goaziou <=
- Re: restore window configuration after org-edit-src-exit, Jack Kamm, 2019/12/22
- Re: restore window configuration after org-edit-src-exit, Nicolas Goaziou, 2019/12/23
- Re: restore window configuration after org-edit-src-exit, Jack Kamm, 2019/12/23
- Re: restore window configuration after org-edit-src-exit, Nicolas Goaziou, 2019/12/23
- [PATCH] restore window configuration after org-edit-src-exit, Jack Kamm, 2019/12/23