[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11385: 24.0.96; `image-dired-create-thumb': (file-error "Setting cur
bug#11385: 24.0.96; `image-dired-create-thumb': (file-error "Setting current directory" "no such file or directory" "$HOME/")
Sat, 12 May 2012 20:11:34 +0300
> From: "Drew Adams" <address@hidden>
> Date: Sat, 12 May 2012 09:34:16 -0700
> Cc: 'Chong Yidong' <address@hidden>, address@hidden
> > You need to find out who ever sets default-directory to
> > "c:/drews-lisp-20/$HOME/".
> Yes, it is my code that (mistakenly) does that. That is what is provoking the
> problem, but I think the image-dired code should anyway protect against such a
> case, instead of leading to a low-level error.
I think $HOME is not generally recognized in file names. Only a few
select functions know about it (substitute-in-file-name and
expand-file-name come to mind).