From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tor Kringeland Newsgroups: gmane.emacs.bugs Subject: bug#52166: Dired doesn't handle filenames with newlines Date: Sun, 28 Nov 2021 20:26:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35567"; mail-complaints-to="usenet@ciao.gmane.io" To: 52166@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 28 20:27:18 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 1mrPpV-00096T-Qz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Nov 2021 20:27:17 +0100 Original-Received: from localhost ([::1]:37240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrPpU-0004et-3V for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Nov 2021 14:27:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrPpG-0004eV-Ki for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2021 14:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrPpG-0002ve-C4 for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2021 14:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mrPpG-0001qO-4M for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2021 14:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tor Kringeland Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Nov 2021 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52166 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16381276057063 (code B ref -1); Sun, 28 Nov 2021 19:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Nov 2021 19:26:45 +0000 Original-Received: from localhost ([127.0.0.1]:36367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrPoz-0001pr-9W for submit@debbugs.gnu.org; Sun, 28 Nov 2021 14:26:45 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrPov-0001pj-Ll for submit@debbugs.gnu.org; Sun, 28 Nov 2021 14:26:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrPov-0004ac-2p for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2021 14:26:41 -0500 Original-Received: from mailgw101.it.ntnu.no ([129.241.56.177]:49150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrPos-0002pr-4D for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2021 14:26:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no; i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1638127583; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=Su4xkf/C+1f8rnZJgqCLty/InzEMx16MbhQbMJhAYkI=; b=eyMkmeyWjFY0aWBlnNXsX9vQz86IwN0tPZ9xmDAkBCwwPE8nf7g+B+o1UCqMSUF64syp1 rgooMv/DWSmcAStPi2krTvDwsQz/QjidJ77LEEWOY7fKD4+81cGTsitf0jai+ZAIMJP2Lyt Lza9v819InOxt98TSTiLl3AC1+LSCQZq4cEeOL2wTHIc0zuAkt40RDOeF0f4JitP7PWyyTx VMKCu/SFOzFDUcb3W9aAFQwKEHxjYYAb3iVndrhEL1qcCbBYJn+ykYsO00/URd9hvVkl4op OAAKuFZIgGOLXfmmnalk1elhfsEEKUZ2r80u3a1i5cfS1cINsXdVzh7B2QHw== Original-Received: from localhost (localhost [127.0.0.1]) by mailgw101.it.ntnu.no (Postfix) with ESMTP id A9F971DE2AD8 for ; Sun, 28 Nov 2021 20:26:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw101.it.ntnu.no Original-Received: from mailgw101.it.ntnu.no ([127.0.0.1]) by localhost (mailgw101.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MpLV1T-hMnmI for ; Sun, 28 Nov 2021 20:26:23 +0100 (CET) Original-Received: from localhost (unknown [185.159.157.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: takringe@ntnu.no) by mailgw101.it.ntnu.no (Postfix) with ESMTPSA id 43F5D1DE25A9 for ; Sun, 28 Nov 2021 20:26:23 +0100 (CET) Received-SPF: pass client-ip=129.241.56.177; envelope-from=tor.a.s.kringeland@ntnu.no; helo=mailgw101.it.ntnu.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:220975 Archived-At: Create a file named ` file.txt` in `dired' (that is, with a newline included). It's possible to mark this file, but when I try to delete it, `dired' complains that there is "No file on this line". Moreover, only "file.txt" is displayed on the next line, with no indication that the filename starts with a newline. This makes it easy to miss it at a glance. It could be helpful to have an option of the filename instead being displayed like "^Jfile.txt" instead. I'm using a recent build of Emacs 29 (from 24 November) on macOS.