emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG?] org-edit-src-save active in Org-Babel Previewo
@ 2020-09-06 12:10 Rick Frankel via General discussions about Org-mode.
  2020-09-06 16:31 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Frankel via General discussions about Org-mode. @ 2020-09-06 12:10 UTC (permalink / raw)
  To: emacs-orgmode

In an babel preview buffer opened with 'org-babel-expand-src-block,
<C-cC-s> ('org-edit-src-save) writes the expanded view back to the org
file, with all the variable expansions, etc.

I may be wrong, but i don't remember this behavior in older versions of
Org, and this has bitten me a couple of times, breaking babel code
blocks with dynamically set variables (:var …).


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG?] org-edit-src-save active in Org-Babel Previewo
  2020-09-06 12:10 [BUG?] org-edit-src-save active in Org-Babel Previewo Rick Frankel via General discussions about Org-mode.
@ 2020-09-06 16:31 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-09-06 16:31 UTC (permalink / raw)
  To: Rick Frankel via General discussions about Org-mode.; +Cc: Rick Frankel

Hi Rick,

thanks for the report.

Rick Frankel via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:

> In an babel preview buffer opened with 'org-babel-expand-src-block,
> <C-cC-s> ('org-edit-src-save) writes the expanded view back to the org
> file, with all the variable expansions, etc.
>
> I may be wrong, but i don't remember this behavior in older versions of
> Org, and this has bitten me a couple of times, breaking babel code
> blocks with dynamically set variables (:var …).

Can you share a reproducible step by step example, stating what you
get and what you expected instead?  

Thanks,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-06 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-06 12:10 [BUG?] org-edit-src-save active in Org-Babel Previewo Rick Frankel via General discussions about Org-mode.
2020-09-06 16:31 ` Bastien

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