From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46705: 27.1; Dired fails to move files with newlines inside their names. Date: Mon, 22 Feb 2021 17:21:00 +0100 Message-ID: <87czwsf503.fsf@gnus.org> References: <87tuq4z0qa.fsf@delllaptop.lockywolf.net> <83blccw16z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12932"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Vladimir Nikishkin , 46705@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 17:24:01 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 1lEE08-0003EF-Me for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 17:24:00 +0100 Original-Received: from localhost ([::1]:54248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEE07-0006zB-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 11:23:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEDyE-0005tD-AF for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:22:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEDyE-0004A8-2N for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEDyD-0001jt-Ug for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2021 16:22: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.16140108736627 (code B ref 46705); Mon, 22 Feb 2021 16:22:01 +0000 Original-Received: (at 46705) by debbugs.gnu.org; 22 Feb 2021 16:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:57343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEDxQ-0001ip-W0 for submit@debbugs.gnu.org; Mon, 22 Feb 2021 11:21:13 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:49592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEDxP-0001ic-8a for 46705@debbugs.gnu.org; Mon, 22 Feb 2021 11:21:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=s479q9gpbhYQVm3OOPoIT5NnsvwwaG9mEYi2TI3x6nQ=; b=Ws5fVeWikjRFP/lb12Hm2SBjGT aNH/ndxf3nPGIZl6KfkqctRKU6ukLIBblMOghyMb+G8aXejFSnKrftwnMuZltS/1BbADTwBnQByWL 2onePwEbUatjdqCkoqhbiYq2vuIKtzkCsWAMdm3FplHg2Uhn1QqhFIwsrjADLl5wfuQA=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEDxF-0006vl-El; Mon, 22 Feb 2021 17:21:04 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXTyMHFP0NQV23/ //8GzQLyAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UCFhAMKADJPzQAAAF8SURBVCjPTdLBauMwEAbg 3yKB1qcW4sPuyZeC7KdwAoGyJxc8oc0pLRRiPYVsWOhxLynsTTFrkOcpdyQnpQM6fBqNhDTCIqMf NEcDw8OnBZA63ASsA9DLMNzXgjRHLtj1jS2R65A9NMPJ/rE2j1jko6rf1KC0xWHlSoEHbIfj6rFP njZhUQKT6Q9NV9jeQyswuw5mcF7lysIiwDPfKXeDtEOba9baMsAdqkftnctZogM2pbejnpFsBm// fcd4YK84wXZf+l5gA9pfHz7tUYIERvnVlKJIyAg632jBkvaCsyddoLgPaFuP4qHSdQT5RUHVQ0PP AZxNVC1pxnRuqZKHPQaQ28WMF7yQo/GKic47vsBM9LpjKzhGkEARHb4AaY+AqRVU8RzDRi55WhNV JMsMj1wvZ4yGT8c1ZbFmfCF6okYaLJ2b3qlNqNnKFEI5C5YhZaY9f/6m+j4ibLClmq4YwxYRoebv /F9gnGJ7e4X0GdkFP9lBXb4VYlwy/wF158CnvkYYLwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0w Mi0yMlQxNjoxMjo0MCswMDowMEBHjssAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDItMjJUMTY6 MTI6NDArMDA6MDAxGjZ3AAAAAElFTkSuQmCC X-Now-Playing: Pat Thomas and Kwashibu Area Band's _Obiaa!_: "Atesem" In-Reply-To: <83blccw16z.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 22 Feb 2021 17:51:16 +0200") 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:200596 Archived-At: Eli Zaretskii writes: >> 1. "echo foo; echo bar| xargs -0 touch" -- should create a file called >> foo\nbar >> 2. Try to use R in dired on this file, to move elsewhere. >> 3. Observe dired fail. > > You need to add -b to the Dired switches (i.e. "C-u C-x d" and type > "-alb") to be able to see special characters correctly, I think. This question keeps coming up, but I see that it's not mentioned in the Dired part of the manual? It could be mentioned, for instance, in the bit about `dired-listing-switches'? And perhaps in the doc string of that variable. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no