Subject: Re: bug#78894: 29.3; DIRED OUTPUT

From: Eli Zaretskii <[email-masked]>
Date: Wed, 25 Jun 2025 18:48:11 +0300

> From: Burak Bayramli <[email-masked]>
> Date: Wed, 25 Jun 2025 08:30:40 +0300
> 
> On my Emacs 29 on Ubuntu 24, I use dired, but when I browse a directory
> I get output like "//DIRED-OPTIONS//" [some numbers
> here]--quoting-style=literal" at the bottom of the listing. When I
> refresh the additional stuff goes away I get a clean directory listing.
> It doesn't look like Dired is taking out the DIRED-OPTIONS part when
> it shows ls output to the user.

Thanks, but please show a complete recipe to reproduce this, starting
from "emacs -Q".  I tried to reproduce it naïvely by typing "C-x d",
but didn't see any DIRED-OPTIONS thingies, and the
"--quoting-style=literal" part of your report seems to indicate that
you are using some specific command-line options to 'ls'.  So please
describe all those details.

> In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
>  cairo version 1.18.0) of 2024-04-01, modified by Debian built on
>  lcy02-amd64-083
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101011
> System Description: Ubuntu 24.04.2 LTS
> 
> Configured using:
>  'configure --build x86_64-linux-gnu --prefix=/usr
>  --sharedstatedir=/var/lib --libexecdir=/usr/libexec
>  --localstatedir=/var/lib --infodir=/usr/share/info
>  --mandir=/usr/share/man --with-libsystemd --with-pop=yes
>  -
> -enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share/emacs/site-lisp
> 
>  --with-sound=alsa --without-gconf --with-mailutils
>  --with-native-compilation --build x86_64-linux-gnu --prefix=/usr
>  --sharedstatedir=/var/lib --libexecdir=/usr/libexec
>  --localstatedir=/var/lib --infodir=/usr/share/info
>  --mandir=/usr/share/man --with-libsystemd --with-pop=yes
>  -
> -enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share/emacs/site-lisp
> 
>  --with-sound=alsa --without-gconf --with-mailutils
>  --with-native-compilation --with-cairo --with-x=yes
>  --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
>  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
>  -ffile-prefix-map=/build/emacs-0yuuFP/emacs-29.3+1=. -fstack-protector-strong
>  -fstack-clash-protection -Wformat -Werror=format-security
>  -fcf-protection
>  -fdebug-prefix-map=/build/emacs-0yuuFP/emacs-29.3+1=/usr/src/emacs-1:29.3+1-1ubuntu2
>  -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=3'
>  'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''
> 
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
> JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
> NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
> THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
> XPM GTK3 ZLIB
> 
> Important settings:
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: @im=ibus
>   locale-coding-system: utf-8-unix