From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 28 14:26:45 2021 Received: (at submit) by debbugs.gnu.org; 28 Nov 2021 19:26:45 +0000 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 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 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 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== 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 X-Spam-Flag: NO X-Spam-Score: -4.59 X-Spam-Level: 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) 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) From: Tor Kringeland To: bug-gnu-emacs@gnu.org Subject: 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 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-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 28 14:42:14 2021 Received: (at 52166) by debbugs.gnu.org; 28 Nov 2021 19:42:14 +0000 Received: from localhost ([127.0.0.1]:36384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrQ3y-0002Dr-6L for submit@debbugs.gnu.org; Sun, 28 Nov 2021 14:42:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrQ3t-0002Da-St for 52166@debbugs.gnu.org; Sun, 28 Nov 2021 14:42:13 -0500 Received: from [2001:470:142:3::e] (port=42136 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrQ3n-0004cS-9N; Sun, 28 Nov 2021 14:42:03 -0500 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=9xg4W0Goo4S9nxDn+94Zx65V6TlgLliKq0agNP2gin8=; b=GCHEL2YzWChH CPz72td8Wd7lMB8JQo2bHLhTBIutlHLLjmaqeWjf5XPdnG8J1IYPLDFJcXiTjI7eAHqTFy68RNF6y MHrO1GN8EtmGGRqAyAD8Kj8mkp4GvpO2f6rDB0od02NDOmmLQq9AstM5klr4eQsasXBqxxslfTabE zgBCxzb4OUsB9ffO01zv9c0+r5JimaJI5tPplqFGC+kWITsPDcf3Od2z8muQ2+PWfL5dOZ3ZBwcx5 LnOSbah77wRuE4cRF194hwxxFwgwCbVUBqxgBjR18kqS6v3vCOWr1yOf1e/VcBREygvdZFWQM3gLq YTmhg5Mmvge1WNssUgBQCQ==; Received: from [87.69.77.57] (port=2375 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 1mrQ3m-0004Dp-HW; Sun, 28 Nov 2021 14:42:03 -0500 Date: Sun, 28 Nov 2021 21:42:12 +0200 Message-Id: <83czmkvzhn.fsf@gnu.org> From: Eli Zaretskii To: Tor Kringeland In-Reply-To: (message from Tor Kringeland on Sun, 28 Nov 2021 20:26:21 +0100) Subject: Re: bug#52166: Dired doesn't handle filenames with newlines References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52166 Cc: 52166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tor Kringeland > Date: Sun, 28 Nov 2021 20:26:21 +0100 > > 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. You need to add -b to the ls switches used by Dired, and then you will have what you want. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 29 10:30:59 2021 Received: (at 52166) by debbugs.gnu.org; 29 Nov 2021 15:30:59 +0000 Received: from localhost ([127.0.0.1]:38919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mricC-0007HO-EP for submit@debbugs.gnu.org; Mon, 29 Nov 2021 10:30:59 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mricA-0007AV-7Z for 52166@debbugs.gnu.org; Mon, 29 Nov 2021 10:30:46 -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=M9FP1+nF16bmnXDb6ZyhULKOdS2hJjgBitvMgAyOi5o=; b=Sk7icpIDT0EO1mTNs2IoxIyUtA AD/kTaBEvKmvz6olRkZtMv+B1XJSm7ax4sExvcLb/p370tBb+ZS44c4lgjOZwohXBmVaUqwaNf24J JUZT8T/RDfD2jQbMinihApqGVtL/xannfudaSRkFuw6dTMWr/pPrS/H/Kn2sNccfk6nE=; Received: from [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 1mric1-0005bq-Ek; Mon, 29 Nov 2021 16:30:39 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#52166: Dired doesn't handle filenames with newlines References: <83czmkvzhn.fsf@gnu.org> X-Now-Playing: Mia Doi Todd's _Music Life_: "Music Life (feat. Jeff Parker & Money Mark)" Date: Mon, 29 Nov 2021 16:30:34 +0100 In-Reply-To: <83czmkvzhn.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 28 Nov 2021 21:42:12 +0200") Message-ID: <87mtlnvv1h.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > You need to add -b to the ls switches used by Dired, and then you will > have what you want. And I think we've previously decided that this is not something we're going to attempt to solve in a more general way, so I'm closing this bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52166 Cc: Tor Kringeland , 52166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > You need to add -b to the ls switches used by Dired, and then you will > have what you want. And I think we've previously decided that this is not something we're going to attempt to solve in a more general way, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 29 10:30:59 2021 Received: (at control) by debbugs.gnu.org; 29 Nov 2021 15:30:59 +0000 Received: from localhost ([127.0.0.1]:38922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mricN-0007Sb-H7 for submit@debbugs.gnu.org; Mon, 29 Nov 2021 10:30:59 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mricF-0007FZ-Lv for control@debbugs.gnu.org; Mon, 29 Nov 2021 10:30:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8oS4hAwSQhGiFfLNuL7WHwNFfz2W6D+mFWdmG1Ly5S0=; b=MTC1tPofViqisKvxkqKztZAaVM nMoarIyAW4cExNcPLFsT5vacll9NDKYxmUKd2lN7cgn8B3QXHq9NqtM5GCjEDUCumxEvzH8w5isI6 rBOfTqbjQ/fHGPC8c/bu6xp2g4BWyMbclPN5xc8qZiftYYHXQV/WrVANXp0+nCs2dfCM=; Received: from [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 1mric7-0005by-Q5 for control@debbugs.gnu.org; Mon, 29 Nov 2021 16:30:46 +0100 Date: Mon, 29 Nov 2021 16:30:42 +0100 Message-Id: <87lf17vv19.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52166 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 52166 wontfix close 52166 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 52166 wontfix close 52166 quit From unknown Tue Aug 19 14:22:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Dec 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator