GNU bug report logs - #80162
31.0.50; softlinks not working in dired-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Robert Marshall <robert@HIDDEN>; dated Fri, 9 Jan 2026 12:28:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Jan 2026 12:27:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 09 07:27:31 2026
Received: from localhost ([127.0.0.1]:47854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1veBaV-0001OS-3w
	for submit <at> debbugs.gnu.org; Fri, 09 Jan 2026 07:27:31 -0500
Received: from lists.gnu.org ([2001:470:142::17]:50634)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <robert@HIDDEN>)
 id 1veBaS-0001OE-7P
 for submit <at> debbugs.gnu.org; Fri, 09 Jan 2026 07:27:29 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <robert@HIDDEN>)
 id 1veBaL-0005Xo-0X
 for bug-gnu-emacs@HIDDEN; Fri, 09 Jan 2026 07:27:22 -0500
Received: from mx2.mythic-beasts.com ([2a00:1098:0:82:1000:0:2:1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <robert@HIDDEN>)
 id 1veBaI-0005nO-2f
 for bug-gnu-emacs@HIDDEN; Fri, 09 Jan 2026 07:27:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=capuchin.co.uk; s=mythic-beasts-k1; h=Date:Subject:To:From;
 bh=Q6XY0B0QzXKcluDQLpaFVKYnnDKbKVU8JGYOY5PKGes=; b=biY4vZon1oPE3iy3Dz4QOPqjJ7
 8Rfk2wp2WafkEhs8Qeiij2oMT1CJ8q2qo+p21b7JJWivPNL43QeUDmGmrPeYnzKdBRuq5SEY6GnZz
 hdtd2zs92B2nSN7dI0vQWOeSKpnkRt+/gyECQrGZSWNULUAswoPJ5ea1KnCdYUC9G+uIfQEwUgo0H
 fxnKIltpKhMSbP/c5rpbLlJ2Mn1nAzO+ukVU3xlHpNgHhgGrjbb6JDzsZOWDUGNApXuRblZzOuOM1
 q+P11B3uUBXBlIVmN3WvEu2cBNXVr+kq1Fn5o5jCL0YZY4zRWLcQDWZoNGi6xtDrTQ5AYiRYLWMJF
 V4OPdh0A==;
Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96)
 (envelope-from <robert@HIDDEN>) id 1veBaF-00GA8e-39
 for bug-gnu-emacs@HIDDEN; Fri, 09 Jan 2026 12:27:16 +0000
Received: from poulenc2.faure (poulenc2.lan [192.168.1.234])
 by capuchin.co.uk (Postfix) with ESMTPS id 77BB719F4DD
 for <bug-gnu-emacs@HIDDEN>; Fri,  9 Jan 2026 12:27:02 +0000 (GMT)
From: Robert Marshall <robert@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; softlinks not working in dired-mode
X-Debbugs-Cc: 
Date: Fri, 09 Jan 2026 12:27:01 +0000
Message-ID: <87ikdbug2y.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-BlackCat-Spam-Score: 0
X-Spam-Status: No, score=-0.1
Received-SPF: pass client-ip=2a00:1098:0:82:1000:0:2:1;
 envelope-from=robert@HIDDEN; helo=mx2.mythic-beasts.com
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

If a directory in dired mode contains soft links they are highlighted in
red and emacs claims that the file no longer exists - if you try to open
it.

If you create another soft link in emacs via dired-do-symlink that soft
link works, provided the directory is already active, but when you refresh
the buffer the soft link is again apparently broken.

In a teminal window (outside emacs) the links work correctly.

Verified in emacs -Q

Robert

In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw
 scroll bars) of 2026-01-08 built on poulenc2
Repository revision: 804f9655773e03b5257eea112433457b4aa9959a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101018
System Description: Ubuntu 25.10

Configured features:
GIF GLIB GMP GNUTLS GSETTINGS JPEG LIBSELINUX LIBXML2 MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Dired by name

Minor modes in effect:
  server-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  recentf-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/robert/elisp/dired-async hides /home/robert/.emacs.d/elpa/async-20191030.2138/dired-async
/home/robert/elisp/async hides /home/robert/.emacs.d/elpa/async-20191030.2138/async
/home/robert/.emacs.d/elpa/transient-20191115.1356/transient hides /home/robert/emacs-git/new/emacs/lisp/transient

Features:
(shadow sort mail-extr emacsbug lisp-mnt message yank-media rfc822 mml
mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils misearch
multi-isearch dired-aux dired-x dired dired-loaddefs compile
text-property-search comp-run comp-common cl-extra cus-edit pp cus-start
cus-load twittering-mode advice identica-mode url-http url-auth
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
nsm puny longlines xml cl cal-china cal-julian cal-bahai lunar solar
cal-dst cal-islam cal-hebrew holidays holiday-loaddefs diary-lib
diary-loaddefs cal-menu calendar cal-loaddefs server tbemail hi-lock
desktop frameset tramp-sh tramp-cache time-stamp tramp rx trampver
tramp-integration files-x tramp-message help-mode tramp-compat shell
pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec
ansi-color tramp-loaddefs recentf tree-widget wid-edit bbdb-loaddefs
finder-inf info warnings package browse-url xdg url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads inotify dynamic-setting x-toolkit x multi-tty move-toolbar
make-network-process tty-child-frames native-compile emacs)

Memory information:
((conses 16 292999 22999) (symbols 48 16953 4) (strings 32 78694 4417)
 (string-bytes 1 2587881) (vectors 16 44535)
 (vector-slots 8 568497 19304) (floats 8 1093 11088)
 (intervals 56 7680 0) (buffers 984 18))




Acknowledgement sent to Robert Marshall <robert@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#80162; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 9 Jan 2026 12:30:02 UTC

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