Subject: Re: bug#29423: 27.0.50; ls-lisp does not handle -F switch properly

From: Eli Zaretskii <[email-masked]>
Date: Fri, 24 Nov 2017 19:02:28 +0200

> Date: Fri, 24 Nov 2017 08:30:47 -0800 (PST)
> From: Drew Adams <[email-masked]>
> 
> > Goto the *scratch* buffer, and perform
> > M-: (ls-lisp-insert-directory "/tmp/" '(?F) nil nil nil)
> > Move the cursor into the string /tmp/, and perform
> > M-x describe-char
> > 
> > There is no text property 'dired-filename, as it should.
> 
> I think you're talking (only) about the final / char.
> That seems to be the only place where the property is not
> present.
> 
> Is that / part of the (directory as) file name?

No, it isn't.  It's what -F append to the file name to indicate that
it's a directory.

So if that's the problem, the patch is not TRT, IMO.