[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: woman doesn't work if current buffer's directory doesn't exist
From: |
Chris Moore |
Subject: |
Re: woman doesn't work if current buffer's directory doesn't exist |
Date: |
Sat, 27 Jan 2007 10:53:24 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> At this late stage in the pretest, won't it be safer to bind
> default-directory only if the original value doesn't exist?
I don't think so, because it's possible for the original value to
exist and yet not be accessible to us. For example, if the original
value exists but we don't have execute permission on it, then
call-process still fails like this:
Debugger entered--Lisp error: (file-error "Setting current directory"
"permission denied" "/tmp/444/")
On the other hand, if we can't cd to (file-name-directory infile) then
we won't be able to read infile anyway.
- Re: woman doesn't work if current buffer's directory doesn't exist, (continued)
- Re: woman doesn't work if current buffer's directory doesn't exist, Richard Stallman, 2007/01/24
- Re: woman doesn't work if current buffer's directory doesn't exist, Chris Moore, 2007/01/24
- Re: woman doesn't work if current buffer's directory doesn't exist, Richard Stallman, 2007/01/25
- Re: woman doesn't work if current buffer's directory doesn't exist, Juanma Barranquero, 2007/01/25
- Re: woman doesn't work if current buffer's directory doesn't exist, Richard Stallman, 2007/01/25
- Re: woman doesn't work if current buffer's directory doesn't exist, Juanma Barranquero, 2007/01/26
- Re: woman doesn't work if current buffer's directory doesn't exist, Richard Stallman, 2007/01/26
- Re: woman doesn't work if current buffer's directory doesn't exist, Chris Moore, 2007/01/26
- Re: woman doesn't work if current buffer's directory doesn't exist, Eli Zaretskii, 2007/01/26
- Re: woman doesn't work if current buffer's directory doesn't exist, Richard Stallman, 2007/01/26
- Re: woman doesn't work if current buffer's directory doesn't exist,
Chris Moore <=
- Re: woman doesn't work if current buffer's directory doesn't exist, Eli Zaretskii, 2007/01/27
- Re: woman doesn't work if current buffer's directory doesn't exist, Chong Yidong, 2007/01/28