From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48659: Escapes are deleted after executing "dired-toggle-read-only" in *Find* buffer Date: Wed, 26 May 2021 15:14:57 +0300 Message-ID: <834kepbsji.fsf@gnu.org> References: <87mtsi35u2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48659@debbugs.gnu.org To: Rodrigo Morales Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 26 14:23:07 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 1llsZ0-0007aF-Va for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 May 2021 14:23:06 +0200 Original-Received: from localhost ([::1]:57984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llsZ0-000643-24 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 May 2021 08:23:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llsSB-0000Hn-1d for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 08:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llsSA-0001Vm-KL for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 08:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llsSA-0002FX-GF for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 08:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 May 2021 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48659 X-GNU-PR-Package: emacs Original-Received: via spool by 48659-submit@debbugs.gnu.org id=B48659.16220313198591 (code B ref 48659); Wed, 26 May 2021 12:16:02 +0000 Original-Received: (at 48659) by debbugs.gnu.org; 26 May 2021 12:15:19 +0000 Original-Received: from localhost ([127.0.0.1]:47807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llsRT-0002EV-5Y for submit@debbugs.gnu.org; Wed, 26 May 2021 08:15:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llsRR-0002EF-Pv for 48659@debbugs.gnu.org; Wed, 26 May 2021 08:15:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60496) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llsRD-00010H-Jl; Wed, 26 May 2021 08:15:09 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1185 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llsR8-000502-30; Wed, 26 May 2021 08:14:58 -0400 In-Reply-To: <87mtsi35u2.fsf@gmail.com> (message from Rodrigo Morales on Tue, 25 May 2021 15:40:21 -0500) 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:207284 Archived-At: > From: Rodrigo Morales > Date: Tue, 25 May 2021 15:40:21 -0500 > > Now, let's toggle a =dired-toggle-read-only= and edit any name (I > appended =test= after the =a/barbar.txt= file). > > Now, see what =tree= reports. > > #+begin_src bash > tree -a --noreport > #+end_src > > #+RESULTS: > #+begin_example > . > ├── a > │   ├── barbar.txt-test > │   └── foofoo.txt > └── b > ├── barbar.txt > └── foofoo.txt > #+end_example > > As you could see, spaces were removed from filenames and I think that > this happens because =find-file= show spaces as escaped characters. I cannot reproduce this. Which version of Emacs is this, and on what platform/OS? Also, does the problem happen for you in "emacs -Q"?