From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: `org-edit-special` doesn't respect dedicated windows Date: Sun, 01 Mar 2015 10:20:06 +0100 Message-ID: <877fv15b21.fsf@nicolasgoaziou.fr> References: <87vbil757a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YS01f-0004lV-43 for emacs-orgmode@gnu.org; Sun, 01 Mar 2015 04:19:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YS01b-0003iy-VP for emacs-orgmode@gnu.org; Sun, 01 Mar 2015 04:19:03 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:43869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YS01b-0003ik-PG for emacs-orgmode@gnu.org; Sun, 01 Mar 2015 04:18:59 -0500 In-Reply-To: <87vbil757a.fsf@gmail.com> (Alexis's message of "Sun, 01 Mar 2015 14:43:37 +1100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alexis Cc: emacs-orgmode Hello, Alexis writes: > ECM: > > 1. emacs -Q > 2. Split frame into two windows via `C-x 3`. > 3. Make one "*scratch*" buffer window dedicated via: > (a) `M-:` > (b) (set-window-dedicated-p (selected-window) t) > 4. Select the other window. > 5. Visit file `test.org`, containing: > > * Test > #+begin_src emacs-lisp > (message "Test.") > #+end_src > > 6. Move point within source block, do `org-edit-special`. > 7. The "*scratch*" buffer window will have its contents changed to > contain an Org buffer. Org uses `org-src-window-setup' to control the display, which overrides dedicated windows. You may want to customize the former. Regards, -- Nicolas Goaziou