This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insert-directory function in Gnu emacs returns nil



Ken Brown-6 wrote:
> 
> I doubt if anyone on the cygwin list is going to be able to help you 
> debug this.
> 
Unless the problem is in fact with the 1.7 root...

I have 1.5 installed as c:/cygwin and 1.7 as c:/cygwin2.
Now running 1.7:

emacs> df /tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
C:/cygwin2            58612732  40769352  17843380  70% /

The insert-dired function seems to invoke ls as follows,
from my "*scratch*" buffer:

(call-process "/usr/bin/ls" nil t "-la" "--" "/tmp")
0

(call-process "/usr/bin/ls" nil t "-la" "--" "/tmp/foo")
/usr/bin/ls: cannot access /tmp/foo: No such file or directory
2

(call-process "/usr/bin/ls" nil t "-la" "--" "/cygdrive/c/cygwin/tmp/foo")
/cygdrive/c/cygwin/tmp/foo
0

So, ls finds something under the 1.5 root, but the 1.7 ones seems empty.



> But you might try a more recent version of emacs to see if 
> you still have the problem.  I've built emacs 23 (still in pre-release 
> testing) for cygwin-1.7, and it works fine for me except for a minor bug 
> that's easy to work around:
> 
> 	http://cygwin.com/ml/cygwin-apps/2009-04/msg00116.html
> 

Excellent. Of course I wish to try this.
Thanks,
Marc
-- 
View this message in context: http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23524451.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]