On Sat, May 3, 2014 at 4:19 AM, Achim Gratz wrote:
> R. Michael Weylandt writes:
>> ;; Possibly create the parent directories for file.
>> (when (let ((m (funcall get-spec :mkdirp)))
>>(and m (not (string= m "no"
>> -
R. Michael Weylandt writes:
> ;; Possibly create the parent directories for file.
> (when (let ((m (funcall get-spec :mkdirp)))
>(and m (not (string= m "no"
> - (make-directory (file-name-directory file-
On Fri, May 2, 2014 at 11:43 PM, R. Michael Weylandt
wrote:
> Patch attached. Should apply cleanly against master and maint.
Bah, botched the formatting. Attached should be fixed.
0001-Fix-tangle-with-mkdirp-yes-tangle-FILE.patch
Description: Binary data
On Thu, May 1, 2014 at 3:47 PM, Michael Weylandt
wrote:
> If it intended that setting :mkdirp yes should break tangling with
> 'directory-free' file names?
>
> I.e., should
> #
> #+TITLE: test
> #+BEGIN_SRC python :mkdirp yes :tangle test.py
> print 1+2
> #+END_SRC
> ###
>
If it intended that setting :mkdirp yes should break tangling with
'directory-free' file names?
I.e., should
#
#+TITLE: test
#+BEGIN_SRC python :mkdirp yes :tangle test.py
print 1+2
#+END_SRC
###
tangle without error?
It currently doesn't because (file-name-directory "t