From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Dynerman Subject: Bug: Write file while editing babel code block doesn't work as expected [8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)] Date: Tue, 10 May 2016 16:44:17 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0HKW-0000SA-An for emacs-orgmode@gnu.org; Tue, 10 May 2016 19:44:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0HKT-0000MZ-1f for emacs-orgmode@gnu.org; Tue, 10 May 2016 19:44:44 -0400 Received: from anti-capital.block-party.net ([94.254.0.205]:34597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0HKS-0000Lb-1T for emacs-orgmode@gnu.org; Tue, 10 May 2016 19:44:40 -0400 Received: from CIVIC-TV.local (c-24-6-208-4.hsd1.ca.comcast.net [24.6.208.4]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: david@block-party.net) by anti-capital.block-party.net (Postfix) with ESMTPSA id 7A5012151 for ; Tue, 10 May 2016 16:44:30 -0700 (PDT) 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: emacs-orgmode@gnu.org When visiting an org-babel code block in a dedicated window (C-c ' in the block), I would like to manually save the buffer to a file by calling write-file (C-x C-w) However, this doesn't work - it prompts you for a filename, as expected, but no matter what filename you enter it always just re-saves the .org file that contains the babel block you are editing. Is this expected? If it's not possible to have this functionality, some kind of error message would be helpful. Emacs : GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.4.0, NS appkit-1404.46 Version 10.11.4 (Build 15E65)) of 2016-03-24 Package: Org-mode version 8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)