From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.bugs Subject: bug#46705: 27.1; Dired fails to move files with newlines inside their names. Date: Tue, 23 Feb 2021 00:11:37 +0800 Message-ID: References: <87tuq4z0qa.fsf@delllaptop.lockywolf.net> <83blccw16z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000043fdc605bbef0f0e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29202"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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:19:05 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 1lEDvM-0007TJ-Ni for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 17:19:04 +0100 Original-Received: from localhost ([::1]:48828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEDvL-0003VL-P8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 11:19:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEDoZ-00034A-2W for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEDoY-0002LO-LQ for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEDoY-0001Td-En for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 11:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2021 16:12:02 +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.16140103195669 (code B ref 46705); Mon, 22 Feb 2021 16:12:02 +0000 Original-Received: (at 46705) by debbugs.gnu.org; 22 Feb 2021 16:11:59 +0000 Original-Received: from localhost ([127.0.0.1]:57317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEDoU-0001TM-V8 for submit@debbugs.gnu.org; Mon, 22 Feb 2021 11:11:59 -0500 Original-Received: from mail-lj1-f172.google.com ([209.85.208.172]:34407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEDoT-0001T1-Bd for 46705@debbugs.gnu.org; Mon, 22 Feb 2021 11:11:57 -0500 Original-Received: by mail-lj1-f172.google.com with SMTP id r23so59526532ljh.1 for <46705@debbugs.gnu.org>; Mon, 22 Feb 2021 08:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5H68J1KstML6aapVRQZ+bn47sMogxbaLJe8Gs2zujtQ=; b=GuyA/V1AL49tWWPGqalGw9S648hbHtYnnnISSxwjc2e9K2hPlHoVnhkV4Ap3C4AdOw 7Bt3ECz8JCHe0Z3yeF+PJI/qS4uIwEWkB2PcvMXBx+SX9+n3iE2xEm/DBRSsNWmcv3/R L1x0Ju6l/dDd2itucihfX57BeAeIUqCukccqHnTDdeUHAjvCMliqFJEbwsJzUaZTX70g wi9ig3juG3AdPURS9IvrIbgFUCddjJ6krT9wqAZh3TfDeyE1EWNiQImnaVosKer6AlJ6 +ioJEMcGyXNVzHPG3BcfFqvflWatCLB8lJP6hXT0KAv4BV4l7qyHOP2NdYHEJiTWMpk2 z4YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5H68J1KstML6aapVRQZ+bn47sMogxbaLJe8Gs2zujtQ=; b=jf3ZULzwQDTwDUivI6pzNsnON8t8fEjZHMafEzGvPJYwcfcoYY8PeOP2ITc5wZUK8D rInlo0TeEOwcp3+Ph+PkK+OXvVX3Mk4gy63Gji/pcESq+fV8YPKOWQqUGLIHJ0jQIMxu HR7F/eWDhZN0elptw2+UG0/4r+AR/NANIKEdI12PX+3y608pLfzThoErJWJQMQulZR0n TkaKjmN6m7yIChtUJVXuRftTp37dL4tpUszaBhG8P6MS4ol6oSuAzAd81sqAANzDpJtM +a1Febzt1LjNJWuP6SJEBq5bobUkUz1fiknsqimpQRBbZAdTOIq4HLHUqI3CJ6L2EjzB oIkw== X-Gm-Message-State: AOAM530OzYOgRUkjHyB1yZ9Vm0KqptaoYGQZnTOC247DNndzpbQjFxYT vIqYrNWeGl4FbFerb1aTSEM9VtrYvls1krdLDuA= X-Google-Smtp-Source: ABdhPJyKbK7ZX22Q/qeaEahHD2Ya0Mkr76ibDT3d1Y5TOrra4scasSk0paaGgZ16ImEZTct9rgn15miPA3yG0Yn4pfI= X-Received: by 2002:a05:651c:503:: with SMTP id o3mr15264209ljp.2.1614010311243; Mon, 22 Feb 2021 08:11:51 -0800 (PST) In-Reply-To: <83blccw16z.fsf@gnu.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:200595 Archived-At: --00000000000043fdc605bbef0f0e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Shouldn't "seeing" characters be independent of working with files? 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. -- Yours sincerely, Vladimir Nikishkin (Sent with Google mail mobile.) Eli Zaretskii =E4=BA=8E 2021=E5=B9=B42=E6=9C=8822=E6=97=A5= =E5=91=A8=E4=B8=80 23:51=E5=86=99=E9=81=93=EF=BC=9A > > From: Vladimir Nikishkin > > Date: Mon, 22 Feb 2021 21:36:12 +0800 > > > > 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. > --00000000000043fdc605bbef0f0e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Shouldn't "seeing" characters be indep= endent of working with files?

I don't mind seeing newlines as line breaks, that's what they= are, after all. Thunar shows them as line breaks.
<= br>
But shouldn't moving files work regardless? = I'm using the coreutils version of ls, a fairly standard one.

--
Yours sincerely, V= ladimir Nikishkin
(Sent with Google mail mobile.)

Eli Zarets= kii <eliz@gnu.org> =E4=BA=8E 2021= =E5=B9=B42=E6=9C=8822=E6=97=A5=E5=91=A8=E4=B8=80 23:51=E5=86=99=E9=81=93=EF= =BC=9A
> From: Vladimir Nikishki= n <lockywolf@gmail.com>
> Date: Mon, 22 Feb 2021 21:36:12 +0800
>
> 1. "echo foo; echo bar| xargs -0 touch" -- should create a f= ile 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 ty= pe
"-alb") to be able to see special characters correctly, I think.<= br>
--00000000000043fdc605bbef0f0e--