From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#58286: 29.0.50; (dired-toggle-read-only) should verify if file names changed Date: Wed, 5 Oct 2022 22:11:49 +0300 Message-ID: References: <86czb85qzw.fsf@protected.rcdrun.com> <87zgeb3lwr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27063"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Cc: 58286@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 05 21:33:05 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 1ogA8e-0006qK-PF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 21:33:04 +0200 Original-Received: from localhost ([::1]:47902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogA8d-0005fy-QL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 15:33:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogA5j-0002vT-9X for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 15:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59049) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogA5j-0006sO-19 for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 15:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogA5i-0001J9-SC for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 15:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2022 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58286-submit@debbugs.gnu.org id=B58286.16649981854945 (code B ref 58286); Wed, 05 Oct 2022 19:30:02 +0000 Original-Received: (at 58286) by debbugs.gnu.org; 5 Oct 2022 19:29:45 +0000 Original-Received: from localhost ([127.0.0.1]:58122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogA5R-0001Hh-2I for submit@debbugs.gnu.org; Wed, 05 Oct 2022 15:29:45 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:35561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogA5P-0001HR-4o for 58286@debbugs.gnu.org; Wed, 05 Oct 2022 15:29:43 -0400 Original-Received: from localhost ([::ffff:154.227.156.251]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000BA40A.00000000633DDB20.00007BE2; Wed, 05 Oct 2022 12:29:36 -0700 Content-Disposition: inline In-Reply-To: <87zgeb3lwr.fsf@gnus.org> 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:244567 Archived-At: * Lars Ingebrigtsen [2022-10-04 13:48]: > Jean Louis writes: > > > I have noticed that C-x C-q does not verify if file names changed. > > > > If file name was: > > > > my-file.ext.part > > > > once C-x C-q is invoked, it does not refresh buffer. In my opinion it > > shall refresh buffer or warn that file name does not exist any more, if > > it does not, so that editing of file names makes sense. > > I don't understand what you mean here -- editing file names in wdired > works fine for me. > > Do you have a step-by-step recipe, starting from "emacs -Q", that > demonstrates the problem? It is explained above. The file my-file.ext.part was edited, but then at some point the file named changed during editing, or file may be removed. After editing, the buffer was not refreshed. I could see new file name in the buffer while that file did not exist. With emacs -Q I see that it refreshes. I can't understand why and how, that is what happened. I do not change dired myself in anyway, even if not used with emacs -Q. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/