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: Fri, 23 Jul 2021 18:07:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Al Haji-Ali <abdo.haji.ali@gmail.com> writes:

> In dired, if I delete a directory called `~` (not related to home
> directory, I created this directory by mistake) and delete it, dired
> deletes the home directory instead.

I'm unable to reproduce this in Emacs 27.2 or 28.  Here's my test case:

touch '/tmp/~'
emacs -Q /tmp/

Then hit `D yes RET' on the ~ file.

That deletes /tmp/~ for me, and not the home directory.

Do you have a step-by-step recipe, starting from "emacs -Q" for how to
reproduce the problem you're seeing?

-- 
(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]