Hi, I am trying to tangle a file in batch mode using the script bellow: emacs.exe -Q --batch --no-init-file -l init.el --visit file.org -f org-babel-tangle --kill == init.el === (require 'org) (require 'org-exp) (require 'ob) (require 'ob-tangle) (require 'ob-R) (org-babel-do-load-languages 'org-babel-load-languages '((R . t) (latex . t) (sh . t) (plantuml . t) (emacs-lisp . t) )) ;; For windows (setq org-babel-R-command "\"C:/Users/XX/Documents/R/R3.2.0/bin/i386/Rterm.exe --ess --slave --no-save\"") == end file == And == file.org == -*- mode: org; mode: auto-fill; fill-column: 76 -*- # Babel settings #+PROPERTY: session *R* #+PROPERTY: comments yes #+PROPERTY: results output #+PROPERTY: exports none * Simple babel block #+name: setup_block #+begin_src R :tangle Rcode/setup_block.R :exports none :session proj.dir <- getwd() cat("Proj dir: ", proj.dir,"\n") #+end_src == end file == When I set #+PROPERTY: comments no, I am able to tangle the file file.org. However when I set #+PROPERTY: comments yes I have got this message: >>>>>>>> c:/Program\ Files\ \(x86\)/GNU\ Emacs\ 24.3/bin/emacs.exe -Q --batch --no-init-file -l init.el --visit file.org -f org-babel-tangle --kill OVERVIEW Loading vc-svn... (No changes need to be saved) No comment syntax is defined. Use: <<<<<< If I just press enter I end up with the error code: <<<<<< No comment syntax defined make: *** [tangle] Error 127 >>>> The file I want to tangle is a large file with a lot of org-babel blocks. I understand that the comment is not defined, but I don't know how to set it. I am running emacs on windows: GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) Org-mode version 8.3.1 Anyone can help me with that? Thanks,