all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line
@ 2020-11-05 14:00 Jean Louis
  2020-11-05 14:26 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Louis @ 2020-11-05 14:00 UTC (permalink / raw)
  To: 44467


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
⎔ λ 🄯 𝍄 𝌡 𝌚





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line
  2020-11-05 14:00 bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line Jean Louis
@ 2020-11-05 14:26 ` Eli Zaretskii
  2020-11-05 14:35   ` Jean Louis
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-11-05 14:26 UTC (permalink / raw)
  To: Jean Louis; +Cc: 44467

> Date: Thu, 05 Nov 2020 17:00:21 +0300
> From: Jean Louis <bugs@gnu.support>
> 
> 
> 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.)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line
  2020-11-05 14:26 ` Eli Zaretskii
@ 2020-11-05 14:35   ` Jean Louis
  0 siblings, 0 replies; 3+ messages in thread
From: Jean Louis @ 2020-11-05 14:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 44467

* Eli Zaretskii <eliz@gnu.org> [2020-11-05 17:27]:
> > Date: Thu, 05 Nov 2020 17:00:21 +0300
> > From: Jean Louis <bugs@gnu.support>
> > 
> > 
> > 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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-05 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-05 14:00 bug#44467: 28.0.50; Dired flagging next file for deleteiion, if on file name with new line Jean Louis
2020-11-05 14:26 ` Eli Zaretskii
2020-11-05 14:35   ` Jean Louis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.