Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!CSE.OGC.EDU!nosun!yamada-sun!eric From: nosun!yamada-sun!eric@CSE.OGC.EDU (Eric Hanchrow) Newsgroups: gnu.emacs.bug Subject: (none) Message-ID: <8910110051.AA21428@yamada-sun.UUCP> Date: 11 Oct 89 00:51:12 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 60 A real live (I think) bug in `dired'. Emacs 18.54. For what it's worth, the computer is a Sun-4/260 running SunOS 4.0.3. How to reproduce it: Make yourself a nice, virgin fresh C shell by typing at your present shell: csh -f Now create a file with execute permission: touch x.g chmod +x x.g Now invoke emacs, bypassing any startup code: emacs -q Now get a listing of all files in the current directory which have the `.g' extension: C-x d * . g RET (That's `dired' with argument `*.g'). If this really is a bug, you'll see something like: -rwxr-x--- 1 eric 0 Oct 10 16:51 x.g* ^ What constitutes a bug is the asterisk -------------------| visible in the file name. I followed the above steps, and then took a look at the variable `dired-listing-switches', to see if I foolishly put `-F' in there. That would have caused this kind of behavior. I had a dribble file open, and here it is, run through `od -a' so you can see what's in it: 0000000 can d * . g cr v v etx bs v d i r e d 0000020 - l i s ht cr can o can h esc x w r i t 0000040 e - r e g i o n cr s w i t c h e 0000060 s cr can etx 0000064 Here's the file called `switches' that was created from the `M-x write-region' command mentioned in the dribble file: dired-listing-switches's value is "-al" Documentation: *Switches passed to ls for Dired. MUST contain the `l' option. MUST NOT contain the `F, `s' or `i'' option. And that's about all I can think of to include. Please repsond by email if you have the time, if you feel this is worth looking into (or even if it isn't, to tell me what I might be doing wrong). Thank you. Eric Hanchrow Phase III Logic, Inc. ...!{tektronix, sun}!nosun!yamada-sun!eric