emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] source block variable expansion


From: Eric Schulte
Subject: Re: [O] source block variable expansion
Date: Thu, 12 Jan 2012 07:48:15 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

I just pushed up a fix for this issue.  Thanks for the report,

Rick Frankel <address@hidden> writes:

> Since org-mode v7.8, editing a code block in an indirect buffer causes
> any referenced code blocks to be executed. While this behavior is
> desired for viewing code in an indirect buffer (as the behavior has
> always been) it is not for editing (esp. if the named block takes a
> long time to run).
>
> Given a referenced source block:
>
> #+name: var
> #+begin_src elisp
>   "you shouldn't see this in the mini-buffer"
> #+end_src
>
> When editing the followiing code block (via =C-c '=), the above block
> (=var=) will be executed. The message =executing Elisp code block
> (var)...= will appear in the =*Message*= buffer and the message above
> will appear in the mini-buffer.
>
> #+name: edit-test(var=var)
> #+begin_src perl
>   $var;
> #+end_src
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]