www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/13/10:55:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23523466.post@talk.nabble.com>
Date: Wed, 13 May 2009 07:54:43 -0700 (PDT)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: insert-directory function in Gnu emacs returns nil
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

Symptom: systematically empty dired in Gnu emacs,
no error message.

I first posted as a followup to an old message reporting the same symptom,
but this only confused the matters, as the cause was then probably 
different:
http://www.nabble.com/linked-dll-data-write-copy-failed-errors-to13750118.html
linked dll data write copy failed errors 

I do suffer from bloda-like problems (intermittent vfork failures), but this
seems to be non related, since it is systematic.
I may occasionally get a vfork error too, but this is then reported.
I debugged the elisp part down to the call to:

insert-directory is a compiled Lisp function in `files'.
(insert-directory FILE SWITCHES &optional WILDCARD FULL-DIRECTORY-P)

This one just returns nil, whatever the arguments:

(insert-directory "/home/emagiro" "-la")
nil
(insert-directory "/tmp" "-la")
nil

The variable: insert-directory-program is set to the default "ls", which is
in
my path and works otherwise. Changing it to the full path doesn't affect
the behaviour.

Gnu emacs is 21.2.1, and cygwin 1.7.
I already posted my cygcheck output.

Marc
-- 
View this message in context: http://www.nabble.com/insert-directory-function-in-Gnu-emacs-returns-nil-tp23523466p23523466.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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019