From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Martyanoff Newsgroups: gmane.emacs.bugs Subject: bug#54838: 28.1; Buffers are not updated when a directory is renamed in dired Date: Sun, 10 Apr 2022 17:25:40 +0200 Message-ID: <87ilrh55aj.fsf@valhala.localdomain> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30817"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) To: 54838@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 10 17:26:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndZS6-0007pC-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Apr 2022 17:26:10 +0200 Original-Received: from localhost ([::1]:41934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndZS4-0000rO-P9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Apr 2022 11:26:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndZRy-0000r1-84 for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 11:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndZRx-0002El-Vj for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 11:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndZRx-00068U-Qr for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 11:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Martyanoff Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Apr 2022 15:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54838 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164960434623552 (code B ref -1); Sun, 10 Apr 2022 15:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2022 15:25:46 +0000 Original-Received: from localhost ([127.0.0.1]:41070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndZRi-00067o-Gv for submit@debbugs.gnu.org; Sun, 10 Apr 2022 11:25:46 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndZRg-00067d-JX for submit@debbugs.gnu.org; Sun, 10 Apr 2022 11:25:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndZRg-0000oR-Ei for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 11:25:44 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:37754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndZRe-0002AL-U2 for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 11:25:44 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id t1so1835181wra.4 for ; Sun, 10 Apr 2022 08:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=xCMz83GEhl2ag1mvNU5N5ZCtr9MgDYa5mP8UnIw2Jl0=; b=bN96ZBmjY936WgZfUvqiTVoGhQY1FXHjMv9VL6aIprTdux3l3ryqU3aZpodssxIhF4 VsHdwWfY/VN7BdkxbnAPlGjAvFOZ5WMEi9MbTTJZXtMxQHUUC1TWbqY20J0pE78cTSzp DD8wSG7+EOpd77MD2WBH9xR++n2H8yZ7Dgr6ytFPjS74rTnwciCdFh5wGKtgVw9qvexA 5VkCrJ5kdhP2O1Vi+G/B/dXgvsAChEfrV0dYXOCaClRq21M2ZgNjvYuh6rU6EU6b3ZNr P/WlEH6Bi3bgTvtRwhWehzGn9VwsA7H6IMtASivEF5UsYzSc4L6jgf6nrFeiYJJdn0d2 rMjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=xCMz83GEhl2ag1mvNU5N5ZCtr9MgDYa5mP8UnIw2Jl0=; b=dQEH9wFNruN4jP9L9A8Bw91VmOa/4Hdah1ecsou/MN8jz8GezT0YtSbRqUoI5JQxdT 6Wb+FlvKDL1hH9WyJmxWl3qytCyV64obMA88XjhZfJE+J2xW+Qm3U9BpEYlmvHJJ6oXX pg0MaclOTkXh3icG+3feDnECUWKJF/tD+VKBF1cvSMJyr/iDkGY8stWC1VMGYz35mOYg 1+Ji5nGTjdgjUmAa0xlk4sKaDL+qMxCOKFENih6XYYwcDRN8nFRxzA5m2gpNrIaVHdnZ w9zfqqyckhaajpSukeY4Titg0hjMJfuV882/mqWgRWPAavZYOaXXpgfSR7MHp0BkqRSz nhxQ== X-Gm-Message-State: AOAM531f0cdfKBXPPrzYkg6xxDxz0Robe3DRe+FcJw0V2q1Rkf7RreKD H/3bN6l+8tTOt/3QXzf3E00RVk9zePhYZw== X-Google-Smtp-Source: ABdhPJy0csuYTugO2V4eFiigSU92lcjkwkJPRmWMhcOqys/YQngdEQc0Mm5PneP9RjRPdz4lg8/y0Q== X-Received: by 2002:adf:bc0d:0:b0:206:14a6:817f with SMTP id s13-20020adfbc0d000000b0020614a6817fmr22028889wrg.136.1649604341015; Sun, 10 Apr 2022 08:25:41 -0700 (PDT) Original-Received: from valhala (2a01cb0405243e00927ff8b354d83417.ipv6.abo.wanadoo.fr. [2a01:cb04:524:3e00:927f:f8b3:54d8:3417]) by smtp.gmail.com with ESMTPSA id k129-20020a1ca187000000b0038e6e789f08sm15197892wme.39.2022.04.10.08.25.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 08:25:40 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=khaelin@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229675 Archived-At: Hi, Following an update from 27.2 to 28.1, when a directory is renamed in dired, buffers visiting files located in this directory are not updated to visit the file at its new location. To reproduce the problem in emacs -Q: - C-x C-f /tmp/dir1/file - C-x C-s Answer 'y' to the prompt to create the directory. At this point the buffer 'file' visits /tmp/dir1/file, and the file exists on the disk. - Run dired in /tmp. - Rename /tmp/dir1 into /tmp/dir2, e.g. using 'R'. - Switch to the 'file' buffer. It still visits /tmp/dir1/file even though the file is now located in /tmp/dir2. -- Nicolas Martyanoff http://snowsyn.net khaelin@gmail.com