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#46705: 27.1; Dired fails to move files with newlines inside their names. Date: Mon, 22 Feb 2021 19:02:27 +0200 Message-ID: <83zgzwujbw.fsf@gnu.org> References: <87tuq4z0qa.fsf@delllaptop.lockywolf.net> <83blccw16z.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19253"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46705@debbugs.gnu.org To: Vladimir Nikishkin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 18:07:58 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 1lEEgg-0004uU-5q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 18:07:58 +0100 Original-Received: from localhost ([::1]:52810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEEgf-0001A3-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 12:07:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEEbx-0005pz-1t for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 12:03:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEEbu-0002Pm-0P for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 12:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEEbt-0002mC-Sn for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2021 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46705 X-GNU-PR-Package: emacs Original-Received: via spool by 46705-submit@debbugs.gnu.org id=B46705.161401336510649 (code B ref 46705); Mon, 22 Feb 2021 17:03:01 +0000 Original-Received: (at 46705) by debbugs.gnu.org; 22 Feb 2021 17:02:45 +0000 Original-Received: from localhost ([127.0.0.1]:57408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEEbd-0002lh-A9 for submit@debbugs.gnu.org; Mon, 22 Feb 2021 12:02:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEEbb-0002lU-M5 for 46705@debbugs.gnu.org; Mon, 22 Feb 2021 12:02:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58373) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEEbW-0002N8-Fx; Mon, 22 Feb 2021 12:02:38 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3212 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lEEbV-0006Sb-Lw; Mon, 22 Feb 2021 12:02:38 -0500 In-Reply-To: (message from Vladimir Nikishkin on Tue, 23 Feb 2021 00:11:37 +0800) 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:200601 Archived-At: > From: Vladimir Nikishkin > Date: Tue, 23 Feb 2021 00:11:37 +0800 > Cc: 46705@debbugs.gnu.org > > Shouldn't "seeing" characters be independent of working with files? If you use -b, you will be able to do both. > I don't mind seeing newlines as line breaks, that's what they are, after all. Thunar shows them as line > breaks. > > But shouldn't moving files work regardless? I'm using the coreutils version of ls, a fairly standard one. There's nothing wrong with 'ls', but when a file name includes certain special characters, Dired cannot cope with them, unless they are presented suitably escaped. It's a known issue for which we don't have a better solution than use -b.