8:36:33thijsoWhite_Flame: thanks for the explanation, I think I get it now
9:07:01thijsoIf I do (ensure-directories-exist "~/.storage/3") and don't get an error, I should reasonably expect that directory to exist afterwards, right? Is there anything I'm missing? Or is ECL's implementation of that function broken? I really can't imagine that, but on the surface it does look like it...
9:07:40thijsoThe really strange thing is, that creating "~/.storage" the same way, just before, *does* work
9:08:53jackdanielmaybe you need to add the slash in the end?
9:09:03thijsoHhmmm, and if I do the full path without just .storage before, it only creates .storage, not the full one
10:50:57Shinmerathijso: note that in Lisp the namestring "foo/bar" is always a file named "bar" in the directory "foo". If you expect it to be a directory, you need to add the trailing slash.
10:51:29ShinmeraThe confusion comes in because the implementation may treat the file "bar" as a directory on the filesystem too, since directories are also files.
10:51:51ShinmeraEither way, to be portable, always include the trailing slash.
11:13:31thijsoShinmera: yeah, I kinda knew this, but working often with files and directories in bash sorta trains you otherwise...
11:34:00jdzI think it helps to remember that operations on pathnames don't touch the file system at all (except the functions that are specified to do just that, like PROBE-FILE and TRUENAME).