From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Bug: problem when exporting a org-mode file with a lots of code blocks Date: Tue, 10 Mar 2015 12:51:33 -0400 Message-ID: References: <87d24hs3pa.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVNNh-0005r5-Do for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:51:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVNNZ-0006I1-RX for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:51:45 -0400 Received: from mail-qc0-x232.google.com ([2607:f8b0:400d:c01::232]:40891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVNNZ-0006Hr-Gq for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:51:37 -0400 Received: by qcvs11 with SMTP id s11so3386517qcv.7 for ; Tue, 10 Mar 2015 09:51:37 -0700 (PDT) In-reply-to: <87d24hs3pa.fsf@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: XIE Yuheng Cc: emacs-orgmode@gnu.org I could not reproduce this on 8.2.10. I tangled 106 blocks out with no errors. XIE Yuheng writes: > Bug: org-babel-parse-src-block-match reporting "Wrong type argument: > stringp, nil" when exporting a org-mode file with a lots of code blocks > [8.3beta (release_8.3beta-895-g375c83 @ /usr/share/emacs/site-lisp/org/)] > > > > the following is *Messages* buffer > https://www.refheap.com/98243 > the following is the org-mode file with a lot of code blocks > https://github.com/the-little-language-designer/cicada-nymph/blob/master/cicada-nymph.org > the following is an the fasm-mode I am using > https://github.com/the-little-language-designer/fasm-mode/blob/master/fasm-mode.el > > > Emacs : GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.7) > of 2015-01-18 on bisson > Package: Org-mode version 8.3beta (release_8.3beta-895-g375c83 @ /usr/share/emacs/site-lisp/org/) > > > > current state: > ============== > (setq > org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) > org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) > org-occur-hook '(org-first-headline-recenter) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-html-format-drawer-function '(lambda (name contents) contents) > org-src-window-setup 'current-window > org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function > org-confirm-shell-link-function 'yes-or-no-p > org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default > org-babel-no-eval-on-ctrl-c-ctrl-c t > org-latex-format-headline-function 'org-latex-format-headline-default-function > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-latex-format-drawer-function '(lambda (name contents) contents) > org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer > (lambda nil (local-set-key (kbd "C-s C-s") (quote org-edit-src-exit)))) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-babel-pre-tangle-hook '(save-buffer) > org-mode-hook '((lambda nil (local-set-key (kbd "C-,") (quote ska-jump-to-register))) t current-window 0 nil > #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] > #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-archive-hook '(org-attach-archive-delete-maybe) > org-ascii-format-drawer-function '(lambda (name contents width) contents) > org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-todo-keywords '((sequence "><" "|" "><><" "|" "><><><") (sequence "todo") (sequence "待") (sequence "note" "|" "test") > (sequence "記" "|" "測") (sequence "记" "|" "测")) > org-reveal-hlevel 2 > org-babel-tangle-lang-exts '(("lisp" . "lisp") ("emacs-lisp" . "el") ("elisp" . "el")) > org-confirm-elisp-link-function 'yes-or-no-p > org-src-ask-before-returning-to-edit-buffer nil > org-edit-src-content-indentation 0 > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-html-format-headline-function 'org-html-format-headline-default-function > org-structure-template-alist '(("sf" "#+end_src\n?\n#+begin_src" "\n\n") > ("s" "#+begin_src\n?\n#+end_src" "\n\n") > ("picturef" "#+end_src\n?\n#+begin_src picture" "\n\n") > ("picture" "#+begin_src picture\n?\n#+end_src" "\n\n") > ("yamlf" "#+end_src\n?\n#+begin_src yaml" "\n\n") > ("yaml" "#+begin_src yaml\n?\n#+end_src" "\n\n") > ("bnff" "#+end_src\n?\n#+begin_src bnf" "\n\n") > ("bnf" "#+begin_src bnf\n?\n#+end_src" "\n\n") > ("coqf" "#+end_src\n?\n#+begin_src coq" "\n\n") > ("coq" "#+begin_src coq\n?\n#+end_src" "\n\n") > ("ljf" "#+end_src\n?\n#+begin_src lojban" "\n\n") > ("lj" "#+begin_src lojban\n?\n#+end_src" "\n\n") > ("ssf" "#+end_src\n?\n#+begin_src scheme" "\n\n") > ("ss" "#+begin_src scheme\n?\n#+end_src" "\n\n") > ("lispf" "#+end_src\n?\n#+begin_src lisp" "\n\n") > ("lisp" "#+begin_src lisp\n?\n#+end_src" "\n\n") > ("shenf" "#+end_src\n?\n#+begin_src shen" "\n\n") > ("shen" "#+begin_src shen\n?\n#+end_src" "\n\n") > ("clojuref" "#+end_src\n?\n#+begin_src clojure" "\n\n") > ("clojure" "#+begin_src clojure\n?\n#+end_src" "\n\n") > ("seef" "#+end_src\n?\n#+begin_src emacs-lisp :tangle \"~/.emacs\"" "\n\n") > ("see" "#+begin_src emacs-lisp :tangle \"~/.emacs\"\n?\n#+end_src" "\n\n") > ("sef" "#+end_src\n?\n#+begin_src emacs-lisp" "\n\n") > ("se" "#+begin_src emacs-lisp\n?\n#+end_src" "\n\n") > ("cf" "#+end_src\n?\n#+begin_src cicada" "\n\n") > ("c" "#+begin_src cicada\n?\n#+end_src" "\n\n") > ("cnf" "#+end_src\n?\n#+begin_src cicada-nymph" "\n\n") > ("cn" "#+begin_src cicada-nymph\n?\n#+end_src" "\n\n") > ("forthf" "#+end_src\n?\n#+begin_src forth" "\n\n") > ("forth" "#+begin_src forth\n?\n#+end_src" "\n\n") > ("smlf" "#+end_src\n?\n#+begin_src sml" "\n\n") > ("sml" "#+begin_src sml\n?\n#+end_src" "\n\n") > ("camlf" "#+end_src\n?\n#+begin_src caml" "\n\n") > ("caml" "#+begin_src caml\n?\n#+end_src" "\n\n") > ("erlangf" "#+end_src\n?\n#+begin_src erlang" "\n\n") > ("erlang" "#+begin_src erlang\n?\n#+end_src" "\n\n") > ("lfef" "#+end_src\n?\n#+begin_src lfe" "\n\n") > ("lfe" "#+begin_src lfe\n?\n#+end_src" "\n\n") > ("fasmf" "#+end_src\n?\n#+begin_src fasm" "\n\n") > ("fasm" "#+begin_src fasm\n?\n#+end_src" "\n\n") > ("nasmf" "#+end_src\n?\n#+begin_src nasm" "\n\n") > ("nasm" "#+begin_src nasm\n?\n#+end_src" "\n\n") > ("Cf" "#+end_src\n?\n#+begin_src C" "\n\n") > ("C" "#+begin_src C\n?\n#+end_src" "\n\n") > ("javaf" "#+end_src\n?\n#+begin_src java" "\n\n") > ("java" "#+begin_src java\n?\n#+end_src" "\n\n") > ("jsf" "#+end_src\n?\n#+begin_src javascript" "\n\n") > ("js" "#+begin_src javascript\n?\n#+end_src" "\n\n") > ("luaf" "#+end_src\n?\n#+begin_src lua" "\n\n") > ("lua" "#+begin_src lua\n?\n#+end_src" "\n\n") > ("perlf" "#+end_src\n?\n#+begin_src perl" "\n\n") > ("perl" "#+begin_src perl\n?\n#+end_src" "\n\n") > ("shf" "#+end_src\n?\n#+begin_src sh" "\n\n") > ("sh" "#+begin_src sh\n?\n#+end_src" "\n\n") > ("sqlf" "#+end_src\n?\n#+begin_src sql :result value" "\n\n") > ("sql" "#+begin_src sql :result value\n?\n#+end_src" "\n\n") > ("rubyf" "#+end_src\n?\n#+begin_src ruby" "\n\n") > ("ruby" "#+begin_src ruby\n?\n#+end_src" "\n\n") > ("tclf" "#+end_src\n?\n#+begin_src tcl" "\n\n") > ("tcl" "#+begin_src tcl\n?\n#+end_src" "\n\n") > ("hsf" "#+end_src\n?\n#+begin_src haskell" "\n\n") > ("hs" "#+begin_src haskell\n?\n#+end_src" "\n\n") > ("xmonadf" "#+end_src\n?\n#+begin_src haskell :tangle \"~/.xmonad/xmonad.hs\"" > "\n\n") > ("xmonad" "#+begin_src haskell :tangle \"~/.xmonad/xmonad.hs\"\n?\n#+end_src" > "\n\n") > ("conff" "#+end_src\n?\n#+begin_src conf :tangle " "\n\n") > ("conf" "#+begin_src conf :tangle \n?\n#+end_src" "\n\n") > ("confuf" "#+end_src\n?\n#+begin_src conf-unix :tangle " "\n\n") > ("confu" "#+begin_src conf-unix :tangle \n?\n#+end_src" "\n\n") > ("confxf" "#+end_src\n?\n#+begin_src conf-xdefaults :tangle " "\n\n") > ("confx" "#+begin_src conf-xdefaults :tangle \n?\n#+end_src" "\n\n")) > org-babel-load-languages '((scheme . t) (lisp . t) (emacs-lisp . t) (coq . t)) > org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function > org-agenda-files "~/.org-agenda-files" > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > org-confirm-babel-evaluate nil > ) -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu