bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49711: 27.2; Deleting a directory called ~ deletes home directory


From: Lars Ingebrigtsen
Subject: bug#49711: 27.2; Deleting a directory called ~ deletes home directory
Date: Sat, 24 Jul 2021 14:27:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Hmm... you replaced expand-file-name with directory-append, but what
> if there's a real "~" in the arguments, or some ".." etc. stuff?  That
> would now wind up in the trash info, no?

Sorry, I don't follow you here -- if we're trashing a file called
"/tmp/~", then the "~" file ends up in the trash now, as expected.

Do you mean "~/foo"?  That works the same as before.

(Moving "/tmp/.." to trash fails the same way as before.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]