From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gJ5tAICa4l5AOgAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 20:56:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cPDuN3+a4l6oMwAAbx9fmQ (envelope-from ) for ; Thu, 11 Jun 2020 20:56:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6F1FB94036C for ; Thu, 11 Jun 2020 20:56:31 +0000 (UTC) Received: from localhost ([::1]:59744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjUFS-0007EV-FK for larch@yhetil.org; Thu, 11 Jun 2020 16:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjTJy-0001Js-Lu for emacs-orgmode@gnu.org; Thu, 11 Jun 2020 15:57:06 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:25565 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jjTJw-0003cM-4m for emacs-orgmode@gnu.org; Thu, 11 Jun 2020 15:57:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mathworks.com; s=mimecast20180117; t=1591905421; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9lRgRBPXCUhUgyNh34mL2DydlyM+Qe6/XDBdASt8tDc=; b=Nd6z3JL50n4mzkoNBcj9Q1cOGP191eDQKbm4CrDu9YuwGKWPNVxssC8TdJaJBUkwW7DNid H+DTuhK/tfL4YfZbmNkGB0JAZNdU+RR9dB/TRK0DfYHSEOGoegW2E19IMcJwTefBbk24cO 7Puua3F4XKNkpV20+ueO1nHX0ld6xCQ= Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-426-skuIVzoyNJGxyqEyRroAAw-1; Thu, 11 Jun 2020 15:55:44 -0400 X-MC-Unique: skuIVzoyNJGxyqEyRroAAw-1 Received: from DM6PR03CA0047.namprd03.prod.outlook.com (2603:10b6:5:100::24) by DM6PR05MB6138.namprd05.prod.outlook.com (2603:10b6:5:3a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.9; Thu, 11 Jun 2020 19:55:42 +0000 Received: from DM6NAM12FT004.eop-nam12.prod.protection.outlook.com (2603:10b6:5:100:cafe::31) by DM6PR03CA0047.outlook.office365.com (2603:10b6:5:100::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.18 via Frontend Transport; Thu, 11 Jun 2020 19:55:42 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 144.212.100.42) smtp.mailfrom=mathworks.com; gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=mathworks.com; Received: from exedge.mathworks.com (144.212.100.42) by DM6NAM12FT004.mail.protection.outlook.com (10.13.178.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.10 via Frontend Transport; Thu, 11 Jun 2020 19:55:41 +0000 Received: from ex16-00-ah.mathworks.com (172.31.39.22) by ex16edge-00-ah.mathworks.com (172.31.187.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 11 Jun 2020 15:54:45 -0400 Received: from ex16-00-ah.mathworks.com (172.31.39.22) by ex16-00-ah.mathworks.com (172.31.39.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 11 Jun 2020 15:55:22 -0400 Received: from mail-vif.mathworks.com (144.212.95.101) by ex16-00-ah.mathworks.com (172.31.39.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5 via Frontend Transport; Thu, 11 Jun 2020 15:55:22 -0400 Received: from ah-ciolfi-l.dhcp.mathworks.com (ah-ciolfi-l.dhcp.mathworks.com [172.21.82.130]) by mail-vif.mathworks.com (8.14.7/8.14.7) with ESMTP id 05BJtMcc024285; Thu, 11 Jun 2020 15:55:22 -0400 Received: (from ciolfi@localhost) by ah-ciolfi-l.dhcp.mathworks.com (8.15.2/8.15.2/Submit) id 05BJtM3Q211707; Thu, 11 Jun 2020 15:55:22 -0400 X-Authentication-Warning: ah-ciolfi-l.dhcp.mathworks.com: ciolfi set sender to ciolfi@mathworks.com using -f From: John Ciolfi To: Subject: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)] Date: Thu, 11 Jun 2020 15:55:22 -0400 Message-ID: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:144.212.100.42; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:exedge.mathworks.com; PTR:airwatch-dmz-ah.mathworks.com; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(39860400002)(396003)(136003)(46966005)(42186006)(316002)(8936002)(478600001)(186003)(8676002)(3450700001)(336012)(83380400001)(26005)(426003)(6916009)(70206006)(70586007)(5660300002)(82310400002)(82740400003)(356005)(7636003)(47076004)(86362001)(2906002); DIR:OUT; SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 37ec9d7e-0687-4456-6183-08d80e416bec X-MS-TrafficTypeDiagnostic: DM6PR05MB6138: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0431F981D8 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E5kF+nJnZMINHOXTxjWh/MBruQdv0VE9cLoow2D+J2y/URw8epUlZqMCNDgz7mC+EW+p+nHmuAXC16JiKX8Z3RlFM3Gevh0BKfZ3a2ilBxGMBZkbd7XVuZpJTFcxYxDtv5w+Qcvizb9Eq8gsBk5qHl9AL1lyAgFvN2JUL2mraj05abBcPJz3hBZNaFRiI9CoCc7Wf/h+O2yO3yCKWXJkve3twsJs/UoI8uQWvqC2CZzvGS5x8Kw/8CwatLvu+jvQNBvUo9iIIEqIzZBLh54WVPEXdlSjjBckuW1oo1peNAfEM3MlvkYCKddALI0ypB+kmaMyTutMm6B1DPS5W9YKggONwQmYZLe1rNqqM5Gy0ra/e27HnCuRfQq4eRh8U3sGYlzworl2qhwbPMrYhqri6A== X-OriginatorOrg: mathworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2020 19:55:41.7782 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 37ec9d7e-0687-4456-6183-08d80e416bec X-MS-Exchange-CrossTenant-Id: 99dd3a11-4348-4468-9bdd-e5072b1dc1e6 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=99dd3a11-4348-4468-9bdd-e5072b1dc1e6; Ip=[144.212.100.42]; Helo=[exedge.mathworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB6138 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: mathworks.com Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=205.139.110.61; envelope-from=ciolfi@mathworks.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 14:57:53 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ciolfi@mathworks.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=mathworks.com header.s=mimecast20180117 header.b=Nd6z3JL5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: mtuOdhcj7Bga Could you add an option to disable evaluation of code blocks when exporting= ? If I have an org-file with many code blocks setup for evaulation (babel), when I= export, I get prompted for every code block. Also the prompt does not clearly show which = code block it's asking to evaluate. One solution would be to have org-export-dispatch have an option at top whi= ch says whether or not to evaluate code blocks during export. It should be configurable to be = on or off. I would suggest off as I see most of us running the evaluation as we write the code= and not during export. I'm able to work around this issue by adding advice, e.g. (defun sb-org-export-dispatch-no-babel (orig-fun &rest args) (let* ((org-babel-default-header-args (cons '(:eval . "never-export") org-babel-default-header-args)) (result (apply orig-fun args))) result)) (advice-add 'org-export-dispatch :around #'sb-org-export-dispatch-no-babe= l) Thanks John Emacs : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-09-22, modified by Debian Package: Org mode version 9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/si= te-lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-latex-listings 'minted org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-latex-default-packages-alist '(("colorlinks=3Dtrue,linkcolor=3D{red!50= !black},citecolor=3D{blue!50!black},urlcolor=3D{blue!80!black}" "hyperref" = nil) ("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "gr= aphicx" t) ("" "grffile" t) ("" "longtable" nil) (= "" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" = t) ("" "amsmath" t) ("" "textcomp" t) ("" "amssymb" t) ("" = "capt-of" nil) ("" "hyperref" nil)) org-odt-format-headline-function 'org-odt-format-headline-default-function org-latex-pdf-process '("pdflatex -file-line-error -shell-escape -interact= ion nonstopmode -output-directory %o %f" "pdflatex -file-line-error -shell-= escape -interaction nonstopmode -output-directory %o %f") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function org-imenu-= get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append loc= al] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-a= ll append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n= (fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-link-file-path-type 'relative org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS = WIDTH)"] org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-babel-tangle-lang-exts '(("perl" . "pl") ("D" . "d") ("C++" . "cpp") (= "emacs-lisp" . "el") ("elisp" . "el")) org-latex-image-default-width "" org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export o= rg-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store= org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-sto= re-link) ("mhe" :follow org-mhe-open :store org-mhe-store-lin= k) ("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export) ("info" :follow org-info-open :export org-info-expor= t :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-= link) ("docview" :follow org-docview-open :export org-docv= iew-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-= store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-expor= t :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("fil= e+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302Q!\207" ["news" browse-url ":"] = 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302Q!\207" ["mailto" browse-url ":"= ] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302Q!\207" ["https" browse-url ":"]= 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302Q!\207" ["http" browse-url ":"] = 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302Q!\207" ["ftp" browse-url ":"] 5= "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follo= w org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-latex-logfiles-extensions '("aux" "bcf" "blg" "fdb_latexmk" "fls" "fig= list" "idx" "nav" "out" "ptc" "run.xml" "snm" "toc" "vrb" "xdv") org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"= ] org-latex-packages-alist '(("cache=3Dfalse" "minted")) org-html-format-headline-function 'org-html-format-headline-default-functi= on org-list-indent-offset 2 org-latex-minted-options '(("xleftmargin" "1em") ("breaklines" "true") ("f= ontsize" "\\small")) )