From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: org-mode export behavior change in 9.2? Date: Sat, 12 Jan 2019 18:24:57 +0000 Message-ID: <8B78585C-6836-44CE-AC26-D5AA495790F1@ucsd.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giNzG-0001pU-KZ for emacs-orgmode@gnu.org; Sat, 12 Jan 2019 13:26:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giNxt-0001XC-3y for emacs-orgmode@gnu.org; Sat, 12 Jan 2019 13:25:01 -0500 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:23509) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1giNxs-0001UR-9E for emacs-orgmode@gnu.org; Sat, 12 Jan 2019 13:25:01 -0500 In-Reply-To: Content-Language: en-US Content-ID: <2D774B9AC147D6489C5B381E5361E524@AD.UCSD.EDU> 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: Haider Rizvi Cc: org-mode-email > On Jan 11, 2019, at 5:03 PM, Haider Rizvi wrote: >=20 > 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! >=20 > I don't think it was this way before? =20 AFAICS, nothing has changed in the way :session is handled for shell src bl= ocks in a very long time.=20 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 mig= ht be possible to dig deeper. HTH, Chuck=