Re: [O] [BABEL] BUG - error on tangling - disappears when changing the filename

2013-09-30 Thread Rainer M Krug
Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: OK - narrowed it down to a post tangle hook which I need for proper debugging of R (jumping to source line in org file and not tangled R file): , | #+begin_src emacs-lisp | (defvar org-babel-tangled-file

Re: [O] [BABEL] BUG - error on tangling - disappears when changing the filename

2013-09-30 Thread Eric Schulte
The question is now why is this function org-babel-mark-file-as-tangled receives NULL as a buffer-file-name? I'm not sure, but perhaps you could wrap the body of buffer-file-name in a (when (buffer-file-name) ...) form to protect against null files. Sounds reasonable and I'll put it in to

Re: [O] [BABEL] BUG - error on tangling - disappears when changing the filename

2013-09-28 Thread Eric Schulte
Rainer M Krug rai...@krugs.de writes: OK - narrowed it down to a post tangle hook which I need for proper debugging of R (jumping to source line in org file and not tangled R file): , | #+begin_src emacs-lisp | (defvar org-babel-tangled-file nil | If non-nill, current file was

[O] [BABEL] BUG - error on tangling - disappears when changing the filename

2013-09-27 Thread Rainer M Krug
Hi I have a strange error when tangling. I have a large org file with several code blocks tangling in about 20 R files and one bash file. Usually tangling works perfectly, but sometimes one code block does not tangle a code block to a file. These are different blocks. When I change the name of

Re: [O] [BABEL] BUG - error on tangling - disappears when changing the filename

2013-09-27 Thread Rainer M Krug
Forgot: tried with 8.2 stable release and with version from git - both the same. Rainer M Krug rai...@krugs.de writes: Hi I have a strange error when tangling. I have a large org file with several code blocks tangling in about 20 R files and one bash file. Usually tangling works

Re: [O] [BABEL] BUG - error on tangling - disappears when changing the filename

2013-09-27 Thread Rainer M Krug
OK - narrowed it down to a post tangle hook which I need for proper debugging of R (jumping to source line in org file and not tangled R file): , | #+begin_src emacs-lisp | (defvar org-babel-tangled-file nil | If non-nill, current file was tangled with org-babel-tangle) | (put