unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18475: 24.4.50; Wdired: cannot use C-k to delete a dir name if -F switch used
@ 2014-09-14 18:01 Drew Adams
  2019-04-27  0:09 ` Basil L. Contovounesios
  0 siblings, 1 reply; 9+ messages in thread
From: Drew Adams @ 2014-09-14 18:01 UTC (permalink / raw)
  To: 18475

The `wdired-mode' doc string says: "If you delete the filename of a
file, it is flagged for deletion in the Dired buffer."  And (emacs)
`Wdired' says: "To mark a file for deletion, delete the entire file
name."

And this applies to directory names also.

No problem, except if you use `ls' switch `-F', which appends `/' to
directory names.  In that case, if you try to use `C-k' anywhere on the
dir name text, you get the error "Text is read only".

(Yes, you can use other deletion keys besides `C-k' to delete the dir
name but not delete the `/'.  That looks weird and is not easily
guessable by users, but it works.  `C-k' should work also, as one would
expect.)

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-08-15 on LEG570
Bzr revision: 117706 rgm@gnu.org-20140815043406-p5hbu97cbm7pulcn
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





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

end of thread, other threads:[~2020-10-11  4:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-14 18:01 bug#18475: 24.4.50; Wdired: cannot use C-k to delete a dir name if -F switch used Drew Adams
2019-04-27  0:09 ` Basil L. Contovounesios
2019-04-28  8:13   ` Stephen Berman
2019-04-28 13:07     ` Basil L. Contovounesios
2019-04-30 21:50   ` Stephen Berman
2019-05-12 12:36     ` Basil L. Contovounesios
2020-08-25 10:11       ` Lars Ingebrigtsen
2020-08-26 10:11         ` Stephen Berman
2020-10-11  4:06           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).