emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* set Babel default header argument don't eval when export seems does not work
@ 2018-05-22  3:51 stardiviner
  2018-05-24 22:55 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: stardiviner @ 2018-05-22  3:51 UTC (permalink / raw)
  To: org-mode

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?

-- 
[ stardiviner ] don't need to convince with trends.
       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: set Babel default header argument don't eval when export seems does not work
  2018-05-22  3:51 set Babel default header argument don't eval when export seems does not work stardiviner
@ 2018-05-24 22:55 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-05-24 22:55 UTC (permalink / raw)
  To: stardiviner; +Cc: org-mode

Hello,

stardiviner <numbchild@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-24 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22  3:51 set Babel default header argument don't eval when export seems does not work stardiviner
2018-05-24 22:55 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).