GNU bug report logs - #2068
23.0.60; dired-get-filename includes `*' for executable in name

Previous Next

Packages: w32, emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 26 Jan 2009 17:55:04 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jason Rumney <jasonr <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>, 2068 <at> debbugs.gnu.org
Subject: bug#2068: 23.0.60;	dired-get-filename includes `*' for executable in name
Date: Wed, 28 Jan 2009 21:57:32 +0800
Chong Yidong wrote:
>> emacs -Q
>>
>> Create a file named `grep.exe' in some directory.
>>
>> Use `C-u C-x d' to visit the directory, and specify `-alF' as the
>> listing switches.
>>
>> Put the cursor on the line of the file named `grep.exe', which is
>> displayed as `grep.exe*' to show that it is executable.
>>     
>  
>   
>> M-: (dired-get-filename) returns "/the/dir/to/grep.exe*"
>>     
>  
> Can't reproduce this.  If this bug exists, it's probably Windows-only.
>   

It seems to be another bug in ls-lisp.

emacs -Q
(require 'ls-lisp)
(setq ls-lisp-use-insert-directory-program nil)
then C-u C-x d as above to visit a directory with executable files in it.





This bug report was last modified 16 years and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.