GNU bug report logs - #60819
28.2; `ls-lisp.el' regression introduced in Emacs 26

Previous Next

Package: emacs;

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

Date: Sat, 14 Jan 2023 22:29:02 UTC

Severity: normal

Found in version 28.2

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: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: drew.adams <at> oracle.com, 60819 <at> debbugs.gnu.org
Subject: bug#60819: 28.2; `ls-lisp.el' regression introduced in Emacs 26
Date: Mon, 16 Jan 2023 15:44:31 +0200
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  "60819-done <at> debbugs.gnu.org"
>  <60819-done <at> debbugs.gnu.org>
> Date: Mon, 16 Jan 2023 09:43:06 +0530
> 
> > To me it wasn't obvious that a glob pattern that
> > ends with `/' imposes a `file-name-as-directory'
> > interpretation on candidate matches (but that's
> > exactly what I wanted Emacs's handling of globs
> > to do).  I do think it would help for the doc to
> > point this out, if that's what's meant.  I do.
> 
> Please see above.  In my mind, it is not that glob patterns impose a
> restriction to match only directories when the patterns with /, it is
> more so that a wildcard pattern cannot / is why `dir*/' only matches
> directories that start with "dir".  IOW the restriction is implicit.

This is not really as clear-cut as you say.  For example, try

  C-x d emacs/src/bitmaps/ RET

as opposed to

  C-x d emacs/src/bitmaps*/ RET




This bug report was last modified 1 year and 155 days ago.

Previous Next


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