GNU bug report logs - #78493
30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:'

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> SDF.ORG>

Date: Mon, 19 May 2025 12:16:02 UTC

Severity: normal

Found in version 30.1.90

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

Full log


View this message in rfc822 format

From: Van Ly <van.ly <at> SDF.ORG>
To: 78493 <at> debbugs.gnu.org
Subject: bug#78493: 30.1.90; dired-listing-switches "-hail --group-directories-first" fumbles filename ending with `:'
Date: Mon, 19 May 2025 12:15:26 +0000
[Message part 1 (text/plain, inline)]
Hello,

The contents of directory `plan9-4e/rc/bin' has filenames ending with `:'.

This is a problem when the following setting applies.

  (setopt dired-listing-switches "-hail --group-directories-first")

Before the setting is applied a line appears as follows.

  -rwxr-xr-x 1 van staff  354 Dec 25  2021 9fat:

After the setting is applied the line now looks like this.

  /u/van/src/plan9/plan9-4e/rc/bin/11291923 -rwxr-xr-x 1 van staff  354 Dec 25  2021 9fat:

I am using the `gls' gnu ls command with dired-use-ls-dired variable value being `t'.

I expect the file `9fat:' to appear like `9fs', compare A and B below.

 [A] -> https://sdf.org/~van.ly/img/emacs-30.1.90-dired-1-before-setting.webp
 [B] -> https://sdf.org/~van.ly/img/emacs-30.1.90-dired-2-after-setting.webp

To reproduce observed bug,

  1. start, `emacs -Q'
  2. dired, `C-x d plan9-4e/rc/bin/'
     see: [A]
  3. apply, `(setopt dired-listing-switches "-hail --group-directories-first")'
  4. destroy dired buffer listing `plan9-4e/rc/bin'
  5. dired, `C-x d plan9-4e/rc/bin/'
     see: [B]
  6. note the appearance on the line with filename `9fat:'

[bug_gnu_emacs_diagnostics.text (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
vl

This bug report was last modified 23 days ago.

Previous Next


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