[Top][All Lists]

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

Re: [O] org-mode export behavior change in 9.2?

From: Haider Rizvi
Subject: Re: [O] org-mode export behavior change in 9.2?
Date: Sat, 12 Jan 2019 14:33:17 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

"Berry, Charles" <address@hidden> writes:

>> On Jan 11, 2019, at 5:03 PM, Haider Rizvi <address@hidden> wrote:
>> I've been using literate programming approach with org-babel for a
>> while. I just noticed that with 9.2, when I try to export (c-c c-e h
>> o) an org doc / section, any shell blocks with a named session are
>> executed as it is exporting to html!
>> I don't think it was this way before?
> AFAICS, nothing has changed in the way :session is handled for shell src 
> blocks in a very
> long time.
> Perhaps, you had set `:eval never-export' previously, but not now. ??
>>  Is there a way to not have it
>> execute each shell block when trying to export.
> This seems to work as you would want:
> #+begin_src shell :session sh-pcnw3 :eval never-export
> /usr/bin/say something         # say it out loud!
> #+end_src
> If you can identify a release in which the behavior was as you said, it might 
> be possible to
> dig deeper.

Chuck, thanks for responding.

I've never had the never-export set. I'll try to go back and pinpoint
when the change shows up if I can.

Is the difference between named session and without it expected? With
the named session, the block is executed on export, and without it, it
is not executed!


reply via email to

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