From unknown Fri Aug 15 19:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Nov 2020 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 44467@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160458486414267 (code B ref -1); Thu, 05 Nov 2020 14:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2020 14:01:04 +0000 Received: from localhost ([127.0.0.1]:52067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kafoy-0003hA-EI for submit@debbugs.gnu.org; Thu, 05 Nov 2020 09:01:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:37828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kafow-0003h1-QM for submit@debbugs.gnu.org; Thu, 05 Nov 2020 09:00:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kafow-0008KO-CP for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 09:00:58 -0500 Received: from static.rcdrun.com ([95.85.24.50]:38937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kafou-0001Z4-26 for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 09:00:57 -0500 Received: from localhost ([::ffff:197.157.0.43]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0D01.000000005FA40577.0000363D; Thu, 05 Nov 2020 14:00:23 +0000 Date: Thu, 05 Nov 2020 17:00:21 +0300 From: Jean Louis MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: Received-SPF: pass client-ip=95.85.24.50; envelope-from=support1@rcdrun.com; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 08:59:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) 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: -0.6 (/) I am using file managers to sometimes delete files on system that may not be easy deleting when in shell. Server intrusion happens from time to time and crackers abuse file systems and make files not common for majority of users, but accessible and allowable by the file system. Recently by mistake in settings at users directory there was file '~' and I have deleted it with dired. Today I have noticed that files with new file names cannot be flagged for deletion from their second line (after the new line), in fact Dired would flag wrongly the next file or directory for deletion. Video is here: https://gnu.support/images/2020/11/2020-11-05/2020-11-05-13:25:31.ogv Recommended reading: https://dwheeler.com/essays/fixing-unix-linux-filenames.html In GNU Emacs 28.0.50 (build 25, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2020-11-01 built on protected.rcdrun.com Repository revision: 76d522e59ef03397e15d30bb3b4de3840c917e63 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs-2020-11-01 --with-modules --with-x-toolkit=lucid --with-modules --with-x-toolkit=lucid' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Dired by name Thanks, Jean Louis ⎔ λ 🄯 𝍄 𝌡 𝌚 From unknown Fri Aug 15 19:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Nov 2020 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jean Louis Cc: 44467@debbugs.gnu.org Received: via spool by 44467-submit@debbugs.gnu.org id=B44467.160458640516756 (code B ref 44467); Thu, 05 Nov 2020 14:27:02 +0000 Received: (at 44467) by debbugs.gnu.org; 5 Nov 2020 14:26:45 +0000 Received: from localhost ([127.0.0.1]:52108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kagDs-0004MC-NE for submit@debbugs.gnu.org; Thu, 05 Nov 2020 09:26:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kagDr-0004Ly-K4 for 44467@debbugs.gnu.org; Thu, 05 Nov 2020 09:26:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57791) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kagDm-0003S6-Ak; Thu, 05 Nov 2020 09:26:38 -0500 Received: from [176.228.60.248] (port=4963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kagDk-000776-Ng; Thu, 05 Nov 2020 09:26:37 -0500 Date: Thu, 05 Nov 2020 16:26:35 +0200 Message-Id: <83wnyzanhg.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Jean Louis on Thu, 05 Nov 2020 17:00:21 +0300) References: X-Spam-Score: -2.3 (--) 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 (---) > Date: Thu, 05 Nov 2020 17:00:21 +0300 > From: Jean Louis > > > Today I have noticed that files with new file names cannot be flagged > for deletion from their second line (after the new line), in fact > Dired would flag wrongly the next file or directory for deletion. You mean, files whose names include a newline? to have them handled in Dired, you need to add -b to the ls switches. (NO, we don't want to do that by default.) From unknown Fri Aug 15 19:32:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Nov 2020 15:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 44467@debbugs.gnu.org Received: via spool by 44467-submit@debbugs.gnu.org id=B44467.160458943023260 (code B ref 44467); Thu, 05 Nov 2020 15:18:01 +0000 Received: (at 44467) by debbugs.gnu.org; 5 Nov 2020 15:17:10 +0000 Received: from localhost ([127.0.0.1]:53832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kah0f-000635-TL for submit@debbugs.gnu.org; Thu, 05 Nov 2020 10:17:10 -0500 Received: from static.rcdrun.com ([95.85.24.50]:39505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kah0d-00062s-L7; Thu, 05 Nov 2020 10:17:08 -0500 Received: from localhost ([::ffff:197.157.0.43]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0D01.000000005FA41771.0000443E; Thu, 05 Nov 2020 15:17:04 +0000 Date: Thu, 5 Nov 2020 17:35:31 +0300 From: Jean Louis Message-ID: References: <83wnyzanhg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <83wnyzanhg.fsf@gnu.org> User-Agent: Mutt/+ (1036f0e) (2020-10-18) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: * Eli Zaretskii [2020-11-05 17:27]: > > Date: Thu, 05 Nov 2020 17:00:21 +0300 > > From: Jean Louis > > > > > > Today I have noticed that files with new file names can [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [197.157.0.43 listed in dnsbl.sorbs.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 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: 0.5 (/) * Eli Zaretskii [2020-11-05 17:27]: > > Date: Thu, 05 Nov 2020 17:00:21 +0300 > > From: Jean Louis > > > > > > Today I have noticed that files with new file names cannot be flagged > > for deletion from their second line (after the new line), in fact > > Dired would flag wrongly the next file or directory for deletion. > > You mean, files whose names include a newline? to have them handled > in Dired, you need to add -b to the ls switches. (NO, we don't want > to do that by default.) I rely on Dired to those not common files. Well that -b switch solves everything, thank you! I am closing it. From unknown Fri Aug 15 19:32:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jean Louis Subject: bug#44467: closed (Re: bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line) Message-ID: References: X-Gnu-PR-Message: they-closed 44467 X-Gnu-PR-Package: emacs Reply-To: 44467@debbugs.gnu.org Date: Thu, 05 Nov 2020 15:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1604589482-23333-1" This is a multi-part message in MIME format... ------------=_1604589482-23333-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44467: 28.0.50; Dired flagging next file for deleteiion, if on file name w= ith new line which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44467@debbugs.gnu.org. --=20 44467: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44467 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1604589482-23333-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44467-done) by debbugs.gnu.org; 5 Nov 2020 15:17:10 +0000 Received: from localhost ([127.0.0.1]:53834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kah0g-000637-4q for submit@debbugs.gnu.org; Thu, 05 Nov 2020 10:17:10 -0500 Received: from static.rcdrun.com ([95.85.24.50]:39505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kah0d-00062s-L7; Thu, 05 Nov 2020 10:17:08 -0500 Received: from localhost ([::ffff:197.157.0.43]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0D01.000000005FA41771.0000443E; Thu, 05 Nov 2020 15:17:04 +0000 Date: Thu, 5 Nov 2020 17:35:31 +0300 From: Jean Louis To: Eli Zaretskii Subject: Re: bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line Message-ID: References: <83wnyzanhg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <83wnyzanhg.fsf@gnu.org> User-Agent: Mutt/+ (1036f0e) (2020-10-18) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: * Eli Zaretskii [2020-11-05 17:27]: > > Date: Thu, 05 Nov 2020 17:00:21 +0300 > > From: Jean Louis > > > > > > Today I have noticed that files with new file names can [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [197.157.0.43 listed in dnsbl.sorbs.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 44467-done Cc: 44467@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: 0.5 (/) * Eli Zaretskii [2020-11-05 17:27]: > > Date: Thu, 05 Nov 2020 17:00:21 +0300 > > From: Jean Louis > > > > > > Today I have noticed that files with new file names cannot be flagged > > for deletion from their second line (after the new line), in fact > > Dired would flag wrongly the next file or directory for deletion. > > You mean, files whose names include a newline? to have them handled > in Dired, you need to add -b to the ls switches. (NO, we don't want > to do that by default.) I rely on Dired to those not common files. Well that -b switch solves everything, thank you! I am closing it. ------------=_1604589482-23333-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Nov 2020 14:01:04 +0000 Received: from localhost ([127.0.0.1]:52067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kafoy-0003hA-EI for submit@debbugs.gnu.org; Thu, 05 Nov 2020 09:01:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:37828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kafow-0003h1-QM for submit@debbugs.gnu.org; Thu, 05 Nov 2020 09:00:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kafow-0008KO-CP for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 09:00:58 -0500 Received: from static.rcdrun.com ([95.85.24.50]:38937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kafou-0001Z4-26 for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 09:00:57 -0500 Received: from localhost ([::ffff:197.157.0.43]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0D01.000000005FA40577.0000363D; Thu, 05 Nov 2020 14:00:23 +0000 Date: Thu, 05 Nov 2020 17:00:21 +0300 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: Received-SPF: pass client-ip=95.85.24.50; envelope-from=support1@rcdrun.com; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/05 08:59:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) 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: -0.6 (/) I am using file managers to sometimes delete files on system that may not be easy deleting when in shell. Server intrusion happens from time to time and crackers abuse file systems and make files not common for majority of users, but accessible and allowable by the file system. Recently by mistake in settings at users directory there was file '~' and I have deleted it with dired. Today I have noticed that files with new file names cannot be flagged for deletion from their second line (after the new line), in fact Dired would flag wrongly the next file or directory for deletion. Video is here: https://gnu.support/images/2020/11/2020-11-05/2020-11-05-13:25:31.ogv Recommended reading: https://dwheeler.com/essays/fixing-unix-linux-filenames.html In GNU Emacs 28.0.50 (build 25, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2020-11-01 built on protected.rcdrun.com Repository revision: 76d522e59ef03397e15d30bb3b4de3840c917e63 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs-2020-11-01 --with-modules --with-x-toolkit=lucid --with-modules --with-x-toolkit=lucid' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Dired by name Thanks, Jean Louis ⎔ λ 🄯 𝍄 𝌡 𝌚 ------------=_1604589482-23333-1--