emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Dynerman <david@block-party.net>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <m2mvnxpjfy.fsf@CIVIC-TV.local> (raw)

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/)

             reply	other threads:[~2016-05-10 23:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 23:44 David Dynerman [this message]
2016-05-11  9:20 ` 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/)] Phil Hudson
2016-05-11 21:26 ` Nicolas Goaziou
2016-05-13  0:00   ` Aaron Ecay
2016-05-13 12:12     ` Nicolas Goaziou
2016-05-13 19:05       ` Aaron Ecay
2016-05-15  4:11       ` Vladimir Lomov
2016-05-15  7:40         ` Nicolas Goaziou
2016-05-15 11:00           ` Vladimir Lomov
2016-05-15 17:03             ` Nicolas Goaziou
2016-05-16  2:48               ` Vladimir Lomov
2016-05-16  9:29                 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2mvnxpjfy.fsf@CIVIC-TV.local \
    --to=david@block-party.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).