From unknown Sat Jun 21 03:24:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48461: 28.0.50; Renaming a directory in dired doesn't update buffers visiting files within it Resent-From: Dale Sedivec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 May 2021 08:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48461@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16211547457985 (code B ref -1); Sun, 16 May 2021 08:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2021 08:45:45 +0000 Received: from localhost ([127.0.0.1]:49688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liCPA-00024j-I0 for submit@debbugs.gnu.org; Sun, 16 May 2021 04:45:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:55690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liCP9-00024c-Cw for submit@debbugs.gnu.org; Sun, 16 May 2021 04:45:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liCP9-0003gP-4m for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 04:45:43 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:35346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liCP6-0001m5-Jy for bug-gnu-emacs@gnu.org; Sun, 16 May 2021 04:45:42 -0400 Received: by mail-io1-xd35.google.com with SMTP id d24so2882918ios.2 for ; Sun, 16 May 2021 01:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codefu-org.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=2ilkHjM5DCypP26vtljhOPU1vjhBIdlwedNlFTH0jgg=; b=IqyfpoOYuLOVZWkADkHWcKhcOpWPKFQl2DkVl8rx5cjsVVpb4h7tsR6CmmYI+n1+Xz 73B4G2iCaRtiH+TrqTpfSwnXIe7WLXnaNVGlNzgLIvjt9naXmZfOL1od6FCVr93F/tpx IF+bCvYCMX3uGvKVIOptsT6O4QAGgtgqgj/RUgDmioJmrBbn67r8rOsN8UFzDKI40oiP G/fRub1gUlo0dQQN3fFFk4V3M9ds6PFXMJYspPO3tgcyYvQBdhGgNeY9Ax6KS89EEZc/ tROT+k14iNduugMQiaFio6XY8tcAT379nGjdPe4c8b8gVr2aKGrGtD4d18KGbQqnw+d5 5Y0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=2ilkHjM5DCypP26vtljhOPU1vjhBIdlwedNlFTH0jgg=; b=oVSO0irw07reJWM5i4tuu0+/wNUv8oxEJAEQ5hhdmNvBB5gwzbDONGmfBQhDIV2q7E vKBoNG/zXYskMOCTVDeNyXXevhULppQAYusRcKwQHXccM4VhjPvYhopGadud5QAMOUNz 7kg4Ck8TxQRvDVX0XlRuKxV+tZTW1TGofee6jVfSs6s52fNTwR5j9q/IuvSXbaG37ZRB aZSnByK+b0Uk0++FXpsZgzmn/PPdKyFinVQ74EBRa2wONkvsGYS15o7jJZLEKWr9evRZ C6Bwsjnbektx8TS2bHc/H4IGWgyv5wsTYyAzUTV3cdgXcQrwRSd3vUy/edHhxZRTNQR4 A9Vw== X-Gm-Message-State: AOAM532cwDarxsfwtRTTkxmGDou/hBl8Eun8Nmykm10KfG+7Yxx8bA6V KHsLr4tzH9yI9kWgAKyUWX1uNKzmh8xj8g== X-Google-Smtp-Source: ABdhPJwuNzCgwHIaCuWV03KUjtHrPauRdtpcEx+vg39gO6YOW1tZQUkYn7Mw8rsFMDR/blwEjb1H2A== X-Received: by 2002:a02:c652:: with SMTP id k18mr3137782jan.105.1621154737858; Sun, 16 May 2021 01:45:37 -0700 (PDT) Received: from smtpclient.apple (136-30-160-152.cab.webpass.net. [136.30.160.152]) by smtp.gmail.com with ESMTPSA id s17sm6113427ilt.77.2021.05.16.01.45.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 May 2021 01:45:37 -0700 (PDT) From: Dale Sedivec Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Message-Id: <805388FF-A600-435A-81B3-D163A481ED1A@codefu.org> Date: Sun, 16 May 2021 03:45:36 -0500 X-Mailer: Apple Mail (2.3654.80.0.2.43) Received-SPF: none client-ip=2607:f8b0:4864:20::d35; envelope-from=dale@codefu.org; helo=mail-io1-xd35.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) If you rename a directory via dired, buffers within that directory will not also have their paths updated with the new directory. Steps to reproduce: 1. Start "emacs -Q"" 2. Evaluate the following: (let* ((temp-dir (make-temp-file "dired_bug" t)) (subdir (expand-file-name "foo" temp-dir)) (a-file (expand-file-name "zzzz" subdir))) (make-directory subdir) (find-file a-file) (insert "blah blah blah") (save-buffer) (dired temp-dir)) This should create a temporary directory, a subdirectory "foo" within that temp dir, it opens a buffer for a file "zzzz" within that subdirectory "foo", and then a dired buffer on the temp dir. For example, you'll now have a buffer on file "/tmp/dired_bug-123abc/foo/zzzz" and a dired buffer on directory "/tmp/dired_bug-123abc". 3. In the dired buffer, rename the directory "foo" to "bar" 4. Go back to the buffer on "bar" and look at its path (i.e. eval buffer-file-name, or C-x C-w and look at the path, or just try to modify the file and then save it) Expected result: The buffer that was visiting ".../foo/zzzz" will now visit ".../bar/zzzz" because ".../foo" was renamed to ".../bar" Observed result: The buffer visiting ".../foo/zzzz" is still visiting the old path I think function `dired-rename-subdir' would actually update the file's path, but when `dired-rename-file' is called to rename the directory, I think it never calls `dired-rename-subdir' because of the condition guarding it (dired-aux.el, end of `dired-rename-file', ca. line 1797): ;; See if it's an inserted subdir, and rename that, too. (when (file-directory-p file) (dired-rename-subdir file newname)) `file' here is the *old* file name, as far as I can tell. Because the rename has already been performed, I think `file-directory-p' will always return nil here. I suspect changing `file' to `newname' in that invocation of `file-directory-p' might yield the desired result. A little work with "git blame" says this condition was added in commit 9e5fd29bede, which says that it "[Fixes a] previous manual mis-merge of dired-aux". However, it looks like the lines surrounding this change were not modified in quite a long time. I could be misreading, though! In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.4.0, NS = appkit-2022.44 Version 11.3 (Build 20E232)) of 2021-04-28 built on Dale Repository revision: e62e87d51651d8dba9e6e612004e689c23428f99 Repository branch: master System Description: macOS 11.3 Configured using: 'configure --without-x --with-modules --with-threads --with-xwidgets --with-zlib --with-xml2 --with-json --with-cairo --with-gnutls --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-native-compilation --with-ns --enable-ns-self-contained 'CFLAGS=3D-O2 -I/opt/local/include/gcc10' = LDFLAGS=3D-L/opt/local/lib/gcc10' Configured features: ACL GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t electric-pair-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail comp comp-cstr warnings subr-x rx cl-seq rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired-aux dired dired-loaddefs vc-git diff-mode easy-mmode vc-dispatcher cl-extra shortdoc text-property-search seq paren cl-print debug backtrace find-func cus-start cus-load elec-pair thingatpt help-fns radix-tree help-mode cl-macs cl-loaddefs cl-lib pcase term/screen term/xterm xterm byte-opt gv bytecomp byte-compile cconv jka-compr iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-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 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 xwidget-internal kqueue cocoa ns lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 216885 12751) (symbols 48 9937 1) (strings 32 29808 2866) (string-bytes 1 983898) (vectors 16 16676) (vector-slots 8 315497 10417) (floats 8 85 37) (intervals 56 31760 0) (buffers 992 16)) From unknown Sat Jun 21 03:24:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48461: 28.0.50; Renaming a directory in dired doesn't update buffers visiting files within it Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2022 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dale Sedivec Cc: 48461@debbugs.gnu.org Received: via spool by 48461-submit@debbugs.gnu.org id=B48461.165771313017225 (code B ref 48461); Wed, 13 Jul 2022 11:53:02 +0000 Received: (at 48461) by debbugs.gnu.org; 13 Jul 2022 11:52:10 +0000 Received: from localhost ([127.0.0.1]:44740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBauY-0004Tj-J7 for submit@debbugs.gnu.org; Wed, 13 Jul 2022 07:52:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBauX-0004TV-3M for 48461@debbugs.gnu.org; Wed, 13 Jul 2022 07:52:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AB09SxeyeKNCX8x5cgY87rud6+uqABgyPs+nMVZeBkw=; b=gA093t8M0Mab59nPAykmpzsKx+ 7QEEcm4Jh/Fc/It4K7jci1UNkxLMBqVH44h8r751tbd15jsZk1CMaZEYjPgQ/KS0QJLERz/2jFMvY HvCMuVOmoDFlguIP4jPRDwzIXtcNE8GdbuSN0ZMKZ311nEHPoDgO3KeMSrCCyFNvdD7I=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oBauN-0005c5-6a; Wed, 13 Jul 2022 13:52:02 +0200 From: Lars Ingebrigtsen In-Reply-To: <805388FF-A600-435A-81B3-D163A481ED1A@codefu.org> (Dale Sedivec's message of "Sun, 16 May 2021 03:45:36 -0500") References: <805388FF-A600-435A-81B3-D163A481ED1A@codefu.org> X-Now-Playing: Dwayne Sodahberk's =?UTF-8?Q?=5FFj=C3=A4rilsfalu=5F:?= "A Bit Apart" Date: Wed, 13 Jul 2022 13:51:57 +0200 Message-ID: <871qups00y.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dale Sedivec writes: > If you rename a directory via dired, buffers within that directory will > not also have their paths updated with the new directory. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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 (---) Dale Sedivec writes: > If you rename a directory via dired, buffers within that directory will > not also have their paths updated with the new directory. (I'm going through old bug reports that unfortunately weren't resolved at the time.) It looks like this was fixed in a patch series ending with: commit e71c7a7c600bae3337de95d193dd106e9bfa2b4c Author: Eli Zaretskii AuthorDate: Mon Apr 11 14:31:04 2022 +0300 Fix default-directory of buffers visiting files in renamed directories Do you still see this problem in the current Emacs tree? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 07:52:14 2022 Received: (at control) by debbugs.gnu.org; 13 Jul 2022 11:52:14 +0000 Received: from localhost ([127.0.0.1]:44743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBaub-0004U4-R5 for submit@debbugs.gnu.org; Wed, 13 Jul 2022 07:52:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBaua-0004TZ-MW for control@debbugs.gnu.org; Wed, 13 Jul 2022 07:52:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8xsFlXJR/kbpDN9CV8u17iBTw4/ohkzv+hVnCRLvunM=; b=roCrnjwfoYKlQtlPgCAVSO9JWe f/nNyNaF3a4Y7xDerzbV7U1+djB2Cz+T1xzoUUE2HLL82oLKVGmBc8d/MhFZowWN7mSybBeh1XGK+ 3WPaN5HJwcGVFK4mwGyDO1Dg+GmCaclKdrCs5f3VM7XrkBGHO8FaiWVJJZNs0vQ0R2B8=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oBauS-0005cJ-VU for control@debbugs.gnu.org; Wed, 13 Jul 2022 13:52:07 +0200 Date: Wed, 13 Jul 2022 13:52:03 +0200 Message-Id: <87zghdqlgc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48461 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48461 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 48461 + moreinfo quit From unknown Sat Jun 21 03:24:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48461: 28.0.50; Renaming a directory in dired doesn't update buffers visiting files within it Resent-From: Dale Sedivec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2022 21:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 48461@debbugs.gnu.org Received: via spool by 48461-submit@debbugs.gnu.org id=B48461.165809498515970 (code B ref 48461); Sun, 17 Jul 2022 21:57:02 +0000 Received: (at 48461) by debbugs.gnu.org; 17 Jul 2022 21:56:25 +0000 Received: from localhost ([127.0.0.1]:48678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDCFS-00049T-4p for submit@debbugs.gnu.org; Sun, 17 Jul 2022 17:56:25 -0400 Received: from mail-qt1-f180.google.com ([209.85.160.180]:44957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDCFN-00049B-4p for 48461@debbugs.gnu.org; Sun, 17 Jul 2022 17:56:20 -0400 Received: by mail-qt1-f180.google.com with SMTP id r21so6944152qtn.11 for <48461@debbugs.gnu.org>; Sun, 17 Jul 2022 14:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codefu-org.20210112.gappssmtp.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LUpn2r2sLhupHr9LKgiJr0YqDW09KQEbtg6Ufw9OnLQ=; b=RQPbZZyJRVKL97kJdRUfKDJL0ss9D4UnoAN5+PkwYaJ3XwOj1zBjftnBsrIEG95kPS hmfJZXeYNzVyqur8RTx/Bj6dPVJ/DqYdPipase9QRcQOolEsntGJgtAKaBNfADtJ8l9c GoVs/IpzGsWY4zbqJRES1DtsYPu+WoGzok9OYrbscg/Zov5v+kxvwdFsMzUvRT/X1K3N 6+8P7PvjmU5DqGUyyobGli4sSBlzoSR5ACurwHCpVOB4G+xQDuQjH138VoZGl2yMzfUU KVtSfQ6FxpKr3Tt1pngudX/AafY7RO/M4471lWwVzrhBx1d/p02OJW7BM5Kf1MmBz9K1 OcDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LUpn2r2sLhupHr9LKgiJr0YqDW09KQEbtg6Ufw9OnLQ=; b=XfrssGgnej+LZI3LXQaFz+RMcMxB0UfTNQiwVVIUWPTqLkS40+Qe8vhJ/j/wR8+GD2 oqOSVcNm5u1jaw99VgVmVF3gVJ5TTwEWhruMaBWZPNkRZJg9uk8IAutlr4fAymdAsei3 NyEzQpDIfcibuHh4tIwQIwrrjlNN9JOyiMeHoGOBcvJrYsM02Jbp1LAr4icY5rBVSJB+ x7rUBpZCfu2AOmdmrpqJYcoujQXtB+7L3lrSm1seQcWcpNlJEEF8XT5mYhD7fT9jBv+r Zb0UoT6HwuJhH0a4z8jmV2sDXYX6SglOHRd8XePG8HGumbFLBtNZulNYgdNsEtz3WdGT XzXA== X-Gm-Message-State: AJIora9kNo+WxIb46B3iZer562wpmzp7MjGe/TUpIpUovkOfyAwvqpAV zyWalQ7zEFpCrRb702UkhLytEx9QqNPTKQ== X-Google-Smtp-Source: AGRyM1vUn3z5V5rQTFxmcPhhBIF2tGJc8PfeEPV3e/8eLPFifmSeVqMlc0/DIXxep46kkTVu04teNQ== X-Received: by 2002:ac8:4e4e:0:b0:31d:49ca:1935 with SMTP id e14-20020ac84e4e000000b0031d49ca1935mr18998165qtw.258.1658094971455; Sun, 17 Jul 2022 14:56:11 -0700 (PDT) Received: from smtpclient.apple (136-30-36-141.cab.webpass.net. [136.30.36.141]) by smtp.gmail.com with ESMTPSA id k11-20020ac8140b000000b0031e9d9635d4sm7865120qtj.23.2022.07.17.14.56.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jul 2022 14:56:11 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) From: Dale Sedivec In-Reply-To: <871qups00y.fsf@gnus.org> Date: Sun, 17 Jul 2022 16:56:07 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <6A5334AB-2273-4099-9248-CBF3D2CFCE07@codefu.org> References: <805388FF-A600-435A-81B3-D163A481ED1A@codefu.org> <871qups00y.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: -0.0 (/) 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: -1.0 (-) On Jul 13, 2022, at 06:51, Lars Ingebrigtsen wrote: >=20 > Dale Sedivec writes: >=20 >> If you rename a directory via dired, buffers within that directory = will >> not also have their paths updated with the new directory. >=20 > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) >=20 > It looks like this was fixed in a patch series ending with: >=20 > commit e71c7a7c600bae3337de95d193dd106e9bfa2b4c > Author: Eli Zaretskii > AuthorDate: Mon Apr 11 14:31:04 2022 +0300 >=20 > Fix default-directory of buffers visiting files in renamed = directories >=20 > Do you still see this problem in the current Emacs tree? Yes, I think this is now fixed. Thank you to Eli for fixing it, and to = you for following up. Dale From unknown Sat Jun 21 03:24:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48461: 28.0.50; Renaming a directory in dired doesn't update buffers visiting files within it Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jul 2022 15:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Dale Sedivec Cc: 48461@debbugs.gnu.org Received: via spool by 48461-submit@debbugs.gnu.org id=B48461.165850248426215 (code B ref 48461); Fri, 22 Jul 2022 15:09:01 +0000 Received: (at 48461) by debbugs.gnu.org; 22 Jul 2022 15:08:04 +0000 Received: from localhost ([127.0.0.1]:42158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEuG3-0006ol-Oa for submit@debbugs.gnu.org; Fri, 22 Jul 2022 11:08:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEuG2-0006o0-7n for 48461@debbugs.gnu.org; Fri, 22 Jul 2022 11:08:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AEAYS0Kw3au2YkTXsq5g4mPq+5jkQ+ldo2ud8/Cwly0=; b=u6TuoSIicQ8qbNuBYdb2xAf5lM nA3uuFTnM9svFbz+P2ecequeYwQ5onNMerYIBOTCr1Ae82S8TLEOWMxPQ+IcZ4sdIq4+GrmWPv1fL Z5+nUv50TrTV7usPOtB0+d8YGPJgN8HbCBh4ltCszzWUK8dFFqRO5lCsJ/P44hIQfvnw=; Received: from 46.156.37.168.tmi.telenormobil.no ([46.156.37.168] helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEuFt-00007z-4m; Fri, 22 Jul 2022 17:07:55 +0200 From: Lars Ingebrigtsen In-Reply-To: <6A5334AB-2273-4099-9248-CBF3D2CFCE07@codefu.org> (Dale Sedivec's message of "Sun, 17 Jul 2022 16:56:07 -0500") References: <805388FF-A600-435A-81B3-D163A481ED1A@codefu.org> <871qups00y.fsf@gnus.org> <6A5334AB-2273-4099-9248-CBF3D2CFCE07@codefu.org> Date: Fri, 22 Jul 2022 17:07:52 +0200 Message-ID: <8735et89tj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dale Sedivec writes: > Yes, I think this is now fixed. Thank you to Eli for fixing it, and > to you for following up. Thanks for checking; I'm closing this bug report, then. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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 (---) Dale Sedivec writes: > Yes, I think this is now fixed. Thank you to Eli for fixing it, and > to you for following up. Thanks for checking; I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 22 11:08:11 2022 Received: (at control) by debbugs.gnu.org; 22 Jul 2022 15:08:11 +0000 Received: from localhost ([127.0.0.1]:42161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEuGB-0006p6-2N for submit@debbugs.gnu.org; Fri, 22 Jul 2022 11:08:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEuG8-0006oj-Ni for control@debbugs.gnu.org; Fri, 22 Jul 2022 11:08:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=p2/WcPKKvAfNDKFG4qNfD5UO4V7t3se3FEYhU5RUzf8=; b=XW98rfzukS6mPvEXU621b6Dp1S 0kpcND1aZu7CmYgiTGubaZzYHDB7yv+OKtrJZSKfrgSU4IQJmuhYlME6sP/FgdJh0XFkMeTpu70zW y8cd77CxgehABsUHZQTHm+cajAGpSg2cWj3ck9REzLKYv/ckF7n5brCBHmISu9fOlF4U=; Received: from 46.156.37.168.tmi.telenormobil.no ([46.156.37.168] helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEuG0-000089-Pg for control@debbugs.gnu.org; Fri, 22 Jul 2022 17:08:02 +0200 Date: Fri, 22 Jul 2022 17:07:59 +0200 Message-Id: <871qud89tc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48461 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 48461 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 48461 quit