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#58664: 29.0.50; Dired fails to operate on files with newline charachters in name Date: Thu, 20 Oct 2022 20:54:39 +0300 Message-ID: <83tu3ywfc0.fsf@gnu.org> References: <87y1tajsxr.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58664@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 20 19:55:20 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 1olZlI-0001Yb-06 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 19:55:20 +0200 Original-Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olZl5-0003VW-N5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 13:55:09 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olZl5-0003Ph-Jn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 13:55:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olZl1-0003P0-5b for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 13:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olZl0-0008Jn-Fa for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olZl0-0007Ug-Aa for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 13:55: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: Thu, 20 Oct 2022 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58664 X-GNU-PR-Package: emacs Original-Received: via spool by 58664-submit@debbugs.gnu.org id=B58664.166628849228789 (code B ref 58664); Thu, 20 Oct 2022 17:55:02 +0000 Original-Received: (at 58664) by debbugs.gnu.org; 20 Oct 2022 17:54:52 +0000 Original-Received: from localhost ([127.0.0.1]:36106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olZkp-0007UH-QX for submit@debbugs.gnu.org; Thu, 20 Oct 2022 13:54:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olZkn-0007U2-M7 for 58664@debbugs.gnu.org; Thu, 20 Oct 2022 13:54:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olZki-0008G7-D0; Thu, 20 Oct 2022 13:54:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=J62XWDki30E5QHUSdfeqx9fVxA+UpSzhmqHq7H8fqcE=; b=R59J6eYIE9w3 bxa+uFcfaU3lwXjmiGu4SvRjPk/WJ6B5ID4D9FVlcKfLFVoLOAe80W/LI9fy7GapExc0WHoXXPPsE 3OWEkswP1o8YuwgCUl7uhy2ZrW0fN4SlGJIBsoSYVyCdhiPHifnOV25vlRdiswkPYTxTmue+djsbX DIlk1A+F5J/NmKsAOVLXFTzrum6k4iS5OSYtizUuICGf4MF/myLy5j3uyHczFJHj59j+wvhMrIXzL QSlU6jfD29QbriPfa8Q3XanfwkWL9vWK+hqKQ/3VT1CQIaN+aPiP0ZbGWZLUPtpeht8R2qSJa+BLP qy6boLSVExYKMjR+D6ropw==; Original-Received: from [87.69.77.57] (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 1olZkh-0000OF-M5; Thu, 20 Oct 2022 13:54:44 -0400 In-Reply-To: <87y1tajsxr.fsf@posteo.net> (message from Philip Kaludercic on Thu, 20 Oct 2022 17:39:12 +0000) 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:245946 Archived-At: > From: Philip Kaludercic > Date: Thu, 20 Oct 2022 17:39:12 +0000 > > > If I create a file in the shell using > > $ touch "one > two" > $ ls > 'one'$'\n''two' > > and try to open this directory using Dired, I get the following > > -rw-r--r--. 1 philip philip 0 Oct 20 19:37 one > two > > where the "t" in two is highlighted. If I try to mark the file and > delete it, Dired attempts to delete the file "one", that luckily doesn't > exist. This is a known issue. The best solution we have for it is to use -b in the ls switches used by Dired. (That cannot be the default because -b has adverse effect in other cases.)