On Sat, Jun 22, 2013 at 7:47 AM, Kalman Reti <span dir="ltr"><<a href="mailto:kalman.reti@gmail.com" target="_blank">kalman.reti@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and I cannot figure out a way past it:</blockquote><div><br></div><div>In windows explorer the file name shows up as:</div><div><br></div><div>execute-button-app_ç☂𠀀.pet_2013-06-11-09-42-21_28472.dom</div><div><br></div>
<div>which I'm not sure will get through html, but after app_ there is a c-cedilla, an</div><div>umbrella-looking character and a funny Korean-looking glyph that looks like a</div><div>conjoined lowercase h and backwards capital L rotated ninety-degrees clockwise.</div>
<div><br></div><div>Clearly something weird happened when that file was created, but its existence should</div><div>not make it impossible to enumerate a directory, should it? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div><div>? (length (setq all (directory "c:/Foobarwork/2013-06-11/*.*")))</div><div>> Error: The value #\U+20000 is not of the expected type (MOD 1114112).</div>
<div>> While executing: CCL::%GET-NATIVE-UTF-16-CSTRING, in process listener(1).</div><div>> Type :POP to abort, :R for a list of available restarts.</div><div>> Type :? for other options.</div><div>1 > :b</div>
<div>*(22429728) : 0 (%GET-NATIVE-UTF-16-CSTRING #<A Foreign Pointer #x6019AC>) 687</div><div> (224297C0) : 1 (GET-FOREIGN-NAMESTRING #<A Foreign Pointer #x6019AC>) 37</div><div> (224297D8) : 2 (%READ-DIR 78) 181</div>
<div> (224297F0) : 3 (%FILES-IN-DIRECTORY "/Foobarwork/2013-06-11/" #P"c:/Foobarwork/2013-06-11/*.*" 150 (:DIRECTORIES T :FILES T :ALL ...) #S(CCL::DIRECTORY-RESULT :TRUENAMES #<HASH-TABLE :TEST STRING= size 23/60 #x21034A397D> :DIRECTORIES-SEEN ("c:/Foobarwork/2013-06-11/"))) 2613</div>
<div> (224298E0) : 4 (DIRECTORY "c:/Foobarwork/2013-06-11/*.*" :DIRECTORIES T :FILES T :ALL T :DIRECTORY-PATHNAMES T :INCLUDE-EMACS-LOCKFILES NIL :TEST NIL :FOLLOW-LINKS T) 677</div><div> (22429990) : 5 (CALL-CHECK-REGS DIRECTORY "c:/Foobarwork/2013-06-11/*.*") 221</div>
<div> (224299C8) : 6 (CHEAP-EVAL-IN-ENVIRONMENT ((DIRECTORY "c:/Foobarwork/2013-06-11/*.*")) NIL) 1805</div><div> (22429A18) : 7 (CHEAP-EVAL-IN-ENVIRONMENT (LENGTH (SETQ ALL #)) NIL) 3453</div><div> (22429A68) : 8 (TOPLEVEL-EVAL (LENGTH (SETQ ALL #)) NIL) 693</div>
<div> (22429B00) : 9 (READ-LOOP :INPUT-STREAM #<SYNONYM-STREAM to *TERMINAL-IO* #x210069DFFD> :OUTPUT-STREAM #<SYNONYM-STREAM to *TERMINAL-IO* #x210069DE9D> :BREAK-LEVEL 0 :PROMPT-FUNCTION #<Compiled-function (:INTERNAL CCL::READ-LOOP) (Non-Global) #x100518CEF>) 2261</div>
<div> (22429D58) : 10 (RUN-READ-LOOP :BREAK-LEVEL 0) 157</div><div> (22429D80) : 11 (TOPLEVEL-LOOP) 101</div><div> (22429DA8) : 12 (FUNCALL #'#<(:INTERNAL (TOPLEVEL-FUNCTION (CCL::LISP-DEVELOPMENT-SYSTEM T)))>) 101</div>
<div> (22429DC8) : 13 (FUNCALL #'#<(:INTERNAL CCL::MAKE-MCL-LISTENER-PROCESS)>) 645</div><div> (22429E60) : 14 (RUN-PROCESS-INITIAL-FORM #<TTY-LISTENER listener(1) [Active] #x210069CC7D> (#<COMPILED-LEXICAL-CLOSURE # #x210069C7AF>)) 669</div>
<div> (22429EF0) : 15 (FUNCALL #'#<(:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS)))> #<TTY-LISTENER listener(1) [Active] #x210069CC7D> (#<COMPILED-LEXICAL-CLOSURE # #x210069C7AF>)) 573</div><div>
(22429F98) : 16 (FUNCALL #'#<(:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION)>) 277</div><div>1 > </div></div><div><br></div><div>The directory in question has vanilla-looking (if somewhat long) pathnames. The problem is that</div>
<div>I cannot find a way to skip the offending entry and continue with the rest of the wildcard</div><div>directory listing. Is there such a way that I am missing?</div><div><br></div>
</blockquote></div><br>