From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#57350: 29.0.50; dired and filenames containing newlines Date: Tue, 30 Aug 2022 22:38:34 -0400 Message-ID: References: <25348.34632.888174.151961@capuchin.co.uk> <87edx7s02n.fsf@gnus.org> <87bksaos5w.fsf@gnus.org> <8335dj336r.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13428"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 57350@debbugs.gnu.org, robert@capuchin.co.uk To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 31 04:39:12 2022 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 1oTDdH-0003H5-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 04:39:12 +0200 Original-Received: from localhost ([::1]:58778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTDdG-0003VQ-Ff for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 22:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTDd8-0003RK-Gx for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 22:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTDd8-0003VG-5L for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 22:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTDd7-0008P8-R8 for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 22:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2022 02:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 57350-submit@debbugs.gnu.org id=B57350.166191352332275 (code B ref 57350); Wed, 31 Aug 2022 02:39:01 +0000 Original-Received: (at 57350) by debbugs.gnu.org; 31 Aug 2022 02:38:43 +0000 Original-Received: from localhost ([127.0.0.1]:37853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTDcp-0008OU-1v for submit@debbugs.gnu.org; Tue, 30 Aug 2022 22:38:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTDcn-0008OG-5X for 57350@debbugs.gnu.org; Tue, 30 Aug 2022 22:38:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTDch-0003Rn-1M; Tue, 30 Aug 2022 22:38:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=1qUT2IE47RtqB9fBeBjiZKgetFtPgAPkFFAkGZRYJb8=; b=BgcEIwVjDrCs AsYcgvjPrPRKqneIunK+D/uh3dZ0d5jvfAe/TMFh6pCbmK3BzMDC9mD4TNXfV9T9RNeg8alesrTFg twEuDl8088GmvWhzOS77k9Xq4OeomjQ2zz/ZCvAOV+zVi/U1FddxVLaMZMRHq8dJzvuCMp5zX9FTj b4PQZOvpaS7HYjLRE9sVgKMmAluLtkcTZdykZLSwFA2kN/e2NZYH9fVkfnXRoNF+pmJVnJQ9mLk0b 4woJGtRVL/arnw7/4QmHKhQo/t1ZH2forn7JxCgXCMEOufZFvbFEAtV1xUcaMIPrvv9+OxgFHmcCL sdMpmfVwazKzIcsJ79Xf4A==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oTDcg-00058D-9M; Tue, 30 Aug 2022 22:38:34 -0400 In-Reply-To: <8335dj336r.fsf@gnu.org> (message from Eli Zaretskii on Fri, 26 Aug 2022 09:54:20 +0300) 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:241161 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > A lot of coding. The --dired option tells Emacs where the file name > begins and ends, but it does nothing to remove the literal newline > character in the Dired buffer that breaks the file name entry into two > (or more) lines. So all the Dired commands that move by lines and > assume a file's entry takes only one line on display become broken and > have to be rewritten almost from scratch. It seems to me that the newlines in the file names should not be represented in the Direc buffer as newlines. Perhaps as \n? And backslashes as \\? dired-readin could search the filenames for newlines and backslashes and change the representation of them. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)