unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name
@ 2009-01-26  6:54 Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-01-26  6:54 UTC (permalink / raw)
  To: emacs-pretest-bug

emacs -Q
 
Create a file named `grep.exe' in some directory. The file content is
unimportant.
 
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*"
 
That is, the display artifact `*' is included as part of the file
name. This is also a bug in Emacs 22.3. It is a regression from Emacs
21.3.1.
 

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2009-01-04 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 
 







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name
@ 2009-01-27 20:20 Chong Yidong
  2009-01-27 20:43 ` Drew Adams
  2009-01-28 13:57 ` Jason Rumney
  0 siblings, 2 replies; 4+ messages in thread
From: Chong Yidong @ 2009-01-27 20:20 UTC (permalink / raw)
  To: 2068

> 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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name
  2009-01-27 20:20 bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name Chong Yidong
@ 2009-01-27 20:43 ` Drew Adams
  2009-01-28 13:57 ` Jason Rumney
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-01-27 20:43 UTC (permalink / raw)
  To: 'Chong Yidong', 2068

> > 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.

Yes, I pretty much figured it was Windows-only.







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name
  2009-01-27 20:20 bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name Chong Yidong
  2009-01-27 20:43 ` Drew Adams
@ 2009-01-28 13:57 ` Jason Rumney
  1 sibling, 0 replies; 4+ messages in thread
From: Jason Rumney @ 2009-01-28 13:57 UTC (permalink / raw)
  To: Chong Yidong, 2068

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.







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-28 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-27 20:20 bug#2068: 23.0.60; dired-get-filename includes `*' for executable in name Chong Yidong
2009-01-27 20:43 ` Drew Adams
2009-01-28 13:57 ` Jason Rumney
  -- strict thread matches above, loose matches on Subject: below --
2009-01-26  6:54 Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).