From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: set Babel default header argument don't eval when export seems does not work Date: Fri, 25 May 2018 00:55:08 +0200 Message-ID: <87603cr7eb.fsf@nicolasgoaziou.fr> References: <87603g9wm2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLz8f-0001rE-2d for emacs-orgmode@gnu.org; Thu, 24 May 2018 18:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLz8a-0003jE-5q for emacs-orgmode@gnu.org; Thu, 24 May 2018 18:55:17 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35267) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLz8Z-0003hJ-WD for emacs-orgmode@gnu.org; Thu, 24 May 2018 18:55:12 -0400 In-Reply-To: <87603g9wm2.fsf@gmail.com> (stardiviner's message of "Tue, 22 May 2018 11:51:01 +0800") 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: stardiviner Cc: org-mode Hello, stardiviner writes: > I set Babel default header arguments to this: > > ,---- > | (setq-default org-babel-default-header-args > | '((:session . "none") > | (:noweb . "no") (:hlines . "no") > | (:tangle . "no") (:comments . "links") > | (:cache . "yes") > | (:results . "replace") > | ;; for exporting > | (:eval . "never-export") > | (:exports . "both") > | )) > `---- > > When I export with org-publish, src blocks still evaluated. Seems > `:eval never-export` does not work? This is rather vague. Could you send an ECM demonstrating the issue? Also, did you try with regular export? Did you try with synchronous publishing? Regards, -- Nicolas Goaziou