From unknown Tue Aug 19 21:02:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56126 <56126@debbugs.gnu.org> To: bug#56126 <56126@debbugs.gnu.org> Subject: Status: 28.1; ardired: poor management of links under windows Reply-To: bug#56126 <56126@debbugs.gnu.org> Date: Wed, 20 Aug 2025 04:02:08 +0000 retitle 56126 28.1; ardired: poor management of links under windows reassign 56126 emacs submitter 56126 Pascal Quesseveur severity 56126 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 12:54:51 2022 Received: (at submit) by debbugs.gnu.org; 21 Jun 2022 16:54:51 +0000 Received: from localhost ([127.0.0.1]:33185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3h9O-0004ol-Vj for submit@debbugs.gnu.org; Tue, 21 Jun 2022 12:54:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:35962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3fkC-0002IS-UI for submit@debbugs.gnu.org; Tue, 21 Jun 2022 11:24:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3fkA-0004Qv-3Q for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 11:24:42 -0400 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:6132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3fk7-0005Ym-JS; Tue, 21 Jun 2022 11:24:41 -0400 Received: from dagon (unknown [88.165.6.12]) (Authenticated sender: pascal.quesseveur@free.fr) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 3C82EB00533; Tue, 21 Jun 2022 17:24:32 +0200 (CEST) From: Pascal Quesseveur To: bug-gnu-emacs@gnu.org Subject: 28.1; ardired: poor management of links under windows Date: Tue, 21 Jun 2022 17:24:32 +0200 Message-ID: <825ykughu7.fsf@abaksystemes.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a01:e0c:1:1599::10; envelope-from=quesseveur@abaksystemes.fr; helo=smtp1-g21.free.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 21 Jun 2022 12:54:49 -0400 Cc: tsdh@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I open a dired buffer on a dir named "C:/Users/Public/Applis" containing a symbolic link named "Dir01" (the link has been created on Windows 10 with command mklink /D). In dired Dir01 is followed by -> and the name of the real directory. In 27.1 when I hit i (dired-maybe-insert-subdir) on Dir01, it opens content of Dir01 in the current dired buffer. In 28.1, emacs displays an error message: C:/Users/Public/Applis/Dir01 not in this directory tree There is a change in (dired-insert-subdir-validate). To verify the directory emacs now calls (file-in-directory-p) instead of (dired-in-this-tree-p). And: (dired-in-this-tree-p "C:/Users/Public/Applis/Dir01/" "C:/Users/Public/") -> 0 (file-in-directory-p "C:/Users/Public/Applis/Dir01/" "C:/Users/Public/") -> nil In GNU Emacs 28.1 (build 2, x86_64-w64-mingw32) of 2022-04-21 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19044 System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.1766) Configured using: 'configure --with-modules --without-dbus --with-native-compilation --without-compress-install CFLAGS=-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings: value of $LANG: FRA locale-coding-system: cp1252 Major mode: Summary Minor modes in effect: display-time-mode: t shell-dirtrack-mode: t icomplete-mode: t auto-image-file-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: c:/Users/Public/emacs-site/lisp/bbdb/bbdb-vcard-export hides c:/Users/Public/emacs-site/lisp/utils/bbdb-vcard-export c:/Users/Public/emacs-site/lisp/utils/wdired hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/wdired c:/Users/Public/emacs-site/lisp/utils/ls-lisp hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/ls-lisp c:/Users/Public/emacs-site/lisp/utils/iimage hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/iimage c:/Users/Public/emacs-site/lisp/utils/calculator hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/calculator c:/Users/Public/emacs-site/lisp/utils/table hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/textmodes/table c:/Users/Public/emacs-site/lisp/remember/remember hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/textmodes/remember c:/Users/Public/emacs-site/lisp/utils/rlogin hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/net/rlogin c:/Users/Public/emacs-site/lisp/dictionary-1.8.7/dictionary hides c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/net/dictionary Features: (shadow emacsbug supercite regi shr-color color grep skeleton latexenc ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table comp comp-cstr warnings quail ox-ascii ox-publish ox tex-mode mule-util canlock sh-script smie executable rfc2104 mailalias bbdb-gui url-http url-gw url-auth url-cache gnus-icalendar org-capture org-refile vcard flow-fill mm-archive sort smiley gnus-cite gnus-async gnus-bcklg qp gnus-ml gnus-topic nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nnml utf-7 gnutls nnfolder gnus-cache network-stream nsm nntp tabify time-stamp org-element avl-tree generator ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs bookmark misearch multi-isearch eieio-opt cl-extra speedbar ezimage dframe find-func shortdoc help-fns radix-tree help-mode dired-aux autorevert filenotify gnus-dired emms-info-libtag emms-player-vlc emms-player-mpv emms-player-mplayer emms-playlist-limit emms-volume emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-i18n emms-stream-info emms-mode-line-icon emms-playlist-sort emms-last-played emms-playing-time emms-player-simple emms-streams emms-show-all emms-tag-editor emms-mark emms-mode-line emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-source-playlist emms-source-file locate music-list music-album emms-setup emms emms-compat time highlight-current-line color-theme smtpmail sendmail tumblesocks tumblesocks-view tumblesocks-compose markdown-mode noutline outline htmlize tumblesocks-user tumblesocks-api oauth sasl sasl-anonymous sasl-login sasl-plain hex-util hmac-sha1 plantuml-mode pcase dash thingatpt html2help footnote rx muse-odf muse-xml muse-help muse-bbcode muse-blosxom muse-wiki muse-texinfo texnfo-upd texinfo texinfo-loaddefs muse-latex muse-html muse-docbook muse-xml-common cus-edit pp cus-load muse-publish muse-project muse-protocols info muse-regexps muse muse-nested-tags muse-mode u-vm-color org-import-icalendar icalendar diary-lib diary-loaddefs bbdb-gnus gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom browse-url gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader bbdb-snarf mail-extr bbdb-com message rmc puny dired-explore dired-sort-menu wid-edit acid dired-arc file-op dired-x dired dired-loaddefs rfc822 mml mml-sec gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader bbdb-vcard-export bbdb-export bbdb-autoloads bbdb timezone tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 time-date format-spec which idb gud easy-mmode compile text-property-search comint ansi-color ring qproj-opascal jsee javadoc-lookup ido jserial jswat qproj-java jdok tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json subr-x map seq byte-opt bytecomp byte-compile cconv url-vars mailcap xml-parse doxymacs qproj-cpp qproj server dos-indent generic generic-x cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs lunar solar cal-dst cal-tex cal-iso cal-menu calendar cal-loaddefs epa-file epa derived epg rfc6068 epg-config ps-mule ipp cl-seq cl-macs cl gv printing ps-print ps-print-loaddefs ps-def lpr icomplete advice image-file image-converter edmacro kmacro cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win 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 cl-generic 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 simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 851356 90733) (symbols 48 45899 8) (strings 32 223457 7090) (string-bytes 1 7713665) (vectors 16 83262) (vector-slots 8 1871044 124382) (floats 8 1340 610) (intervals 56 21295 650) (buffers 992 60)) -- Pascal Quesseveur From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 15:31:40 2022 Received: (at 56126-done) by debbugs.gnu.org; 21 Jun 2022 19:31:40 +0000 Received: from localhost ([127.0.0.1]:33364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3jbA-0000dh-LK for submit@debbugs.gnu.org; Tue, 21 Jun 2022 15:31:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3jb9-0000dT-0T for 56126-done@debbugs.gnu.org; Tue, 21 Jun 2022 15:31:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3jb2-0006nP-Ob; Tue, 21 Jun 2022 15:31:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=u0ehLCXVEkCndH+QMbXK06fOsSFDZn4cR/xhJzbr5gE=; b=C8Njdlonugbb49 ewkATBr9SFxZddD0Ui+GzcGou37W9XkEXD7TPmvJn/Q6WFk9fiP+K5z1rKn8UTMa20o3avX+B6oy1 IKEfa4gk+JQoepbICtdo2xfiAqh/djkH0YqFdj70/zRXD94EBa0BiaLyr5JJ3qj5JqHSuQ4Bdhl3n g0jIan4ElFdMrkEsBv3cGGPOgot9hPT1nLWL/vL8j4uEe7etNtn3y45yluTUljffMoWc+Nsl72R+O CHpDTx/ZxbvVUWLEfyI1mM/ah52J2qmax2z7njdu4fzEaINDvc5i6R8NIVPEhcL5RS72URNb7TUxW JPAQ56yPWiBkjNpWKGkw==; Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:35683) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3jb1-0002oc-E8; Tue, 21 Jun 2022 15:31:32 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 234F127C005A; Tue, 21 Jun 2022 15:31:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 21 Jun 2022 15:31:31 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeffedgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvfevufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghs shhilhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnh epudejtdehuddvleffjeekteegvdehleehvdeufefhueekkeekhedvgfeggeffvefgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnh domhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeeh vdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Jun 2022 15:31:30 -0400 (EDT) References: <825ykughu7.fsf@abaksystemes.fr> <87wnd96hm2.fsf@gnu.org> <83r13hkhjr.fsf@gnu.org> User-agent: mu4e 1.7.28; emacs 29.0.50 From: Tassilo Horn To: 56126-done@debbugs.gnu.org Subject: Re: bug#56126: 28.1; ardired: poor management of links under windows Date: Tue, 21 Jun 2022 21:29:01 +0200 In-reply-to: <83r13hkhjr.fsf@gnu.org> Message-ID: <871qvhke3z.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56126-done Cc: quesseveur@abaksystemes.fr, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: Hi Pascal & Eli, >> Eli, I'd like to commit the attached patch. Would it be ok to commit >> it on the emacs-28 branch? > > Yes, okay. Thanks, I've pushed the relevant change to the emacs-28 branch. I'm closing this issue. Bye, Tassilo From unknown Tue Aug 19 21:02:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Jul 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator