From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#11912: 24.1; 'M' in Dired on a symlink does not refresh the display Date: Thu, 26 Aug 2021 09:52:38 -0700 Organization: UCLA Computer Science Department Message-ID: References: <83txxeb6q8.fsf@gnu.org> <87tujf9m52.fsf@cnu407c2zx.nsn-intra.net> <87fsuyonpv.fsf@gnus.org> <8678ec5a-a5f2-8ae4-6212-c377c3abe9e8@cs.ucla.edu> <871r6hn64r.fsf@gnus.org> <87y28o1fc3.fsf@gnus.org> <875yvsuwo9.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4222"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cc: mvar.40k@gmail.com, 11912@debbugs.gnu.org, Lars Ingebrigtsen , Richard Stallman To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 26 18:53:18 2021 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 1mJIcw-0000yL-99 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 18:53:18 +0200 Original-Received: from localhost ([::1]:58058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJIcu-0006t7-D0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 12:53:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJIci-0006qD-5E for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 12:53:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJIcg-0001QW-3k for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 12:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJIcg-0008RF-2P for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 12:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Aug 2021 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11912 X-GNU-PR-Package: emacs Original-Received: via spool by 11912-submit@debbugs.gnu.org id=B11912.162999676632411 (code B ref 11912); Thu, 26 Aug 2021 16:53:02 +0000 Original-Received: (at 11912) by debbugs.gnu.org; 26 Aug 2021 16:52:46 +0000 Original-Received: from localhost ([127.0.0.1]:50285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJIcQ-0008Qh-Ez for submit@debbugs.gnu.org; Thu, 26 Aug 2021 12:52:46 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJIcO-0008QS-QL for 11912@debbugs.gnu.org; Thu, 26 Aug 2021 12:52:45 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 472951600BE; Thu, 26 Aug 2021 09:52:39 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kb7moVH3ZzO5; Thu, 26 Aug 2021 09:52:38 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8D8931600D4; Thu, 26 Aug 2021 09:52:38 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UewwRQqflNuz; Thu, 26 Aug 2021 09:52:38 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 60ED51600BE; Thu, 26 Aug 2021 09:52:38 -0700 (PDT) In-Reply-To: <875yvsuwo9.fsf@igel.home> Content-Language: en-US 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:212733 Archived-At: On 8/26/21 7:07 AM, Andreas Schwab wrote: > But if the dired buffer was created with ls -L, shouldn't M follow > links? Yes, in that case I suppose M should do so (and similarly for G, O, T). This raises the issue of what to do with output like the following from=20 GNU 'ls' when 'c' is a dangling symlink: $ ls -lL ls: cannot access 'c': No such file or directory total 0 -rw-rw-r-- 1 eggert eggert 0 Aug 26 09:46 b l????????? ? ? ? ? ? c However, these are rare cases; typically dired buffers are created=20 without -L and we need to handle the typical cases better.