GNU bug report logs -
#48280
28.0.50; Fix moving directories with the same name to trash
Previous Next
Reported by: Codruț Constantin Gușoi <mail <at> codrut.pro>
Date: Fri, 7 May 2021 20:00:02 UTC
Severity: normal
Tags: fixed, patch
Merged with 47960
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48280 in the body.
You can then email your comments to 48280 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Fri, 07 May 2021 20:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Codruț Constantin Gușoi <mail <at> codrut.pro>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 07 May 2021 20:00:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
I've attached a patch for this bug I was dealing with while trying out
28.0.50 commit a2842a11728336fc8110eedb5176ecfbe71bbc79.
Refs: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47135
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47135>
To reproduce, save this to a `bug.el` file:
```elisp
(setq delete-by-moving-to-trash t)
(let ((test-dir "~/test123"))
(progn
(message "Creating directory: 1")
(make-directory test-dir)
(message "Deleting directory: 1")
(delete-directory test-dir t t)
(message "Creating directory: 2")
(make-directory test-dir)
(message "Deleting directory: 2")
(delete-directory test-dir t t)
(message "Success!")))
```
And execute with: `emacs -nw -Q -l ./bug.el`.
Expected: "Success!"
Actual: "Renaming: Not a directory, /home/me/test123,
/home/me/.local/share/Trash/files/test123Wiibmk"
Please let me know what you think, looking forward to getting this fixed.
Cheers,
Codruț
www.codrut.pro
[0001-Fix-moving-directories-with-the-same-name-to-trash.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Sat, 08 May 2021 11:41:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 48280 <at> debbugs.gnu.org (full text, mbox):
Codruț Constantin Gușoi <mail <at> codrut.pro> writes:
> I've attached a patch for this bug I was dealing with while trying out
> 28.0.50 commit a2842a11728336fc8110eedb5176ecfbe71bbc79.
Thanks; applied to Emacs 28.
This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 May 2021 11:41:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
48280 <at> debbugs.gnu.org and Codruț Constantin Gușoi <mail <at> codrut.pro>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 May 2021 11:41:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Sat, 08 May 2021 11:45:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 48280 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Thanks; applied to Emacs 28.
This problem is also talked about in bug#47960, and I think the patch
there is more correct, so I've reverted your patch for now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug No longer marked as fixed in versions 28.1 and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 08 May 2021 11:45:02 GMT)
Full text and
rfc822 format available.
Removed tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 May 2021 11:45:03 GMT)
Full text and
rfc822 format available.
Forcibly Merged 47960 48280.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 May 2021 11:45:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Sat, 08 May 2021 11:54:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 48280 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Lars,
Yes, I'm willing to sing the documents but I'll required alot of hand holding throughout the process. Please be patient with me, let's discuss this outside of the bug report mailing list.
Cheers,
Codruț
www.codrut.pro
-------- Original Message --------
On 8 May 2021, 12:40, Lars Ingebrigtsen wrote:
> Codruț Constantin Gușoi <mail <at> codrut.pro> writes:
>
>> I've attached a patch for this bug I was dealing with while trying out
>> 28.0.50 commit a2842a11728336fc8110eedb5176ecfbe71bbc79.
>
> Thanks; applied to Emacs 28.
>
> This change was small enough to apply without assigning copyright to the
> FSF, but for future patches you want to submit, it might make sense to
> get the paperwork started now, so that subsequent patches can be applied
> speedily. Would you be willing to sign such paperwork?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Sat, 08 May 2021 12:04:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 48280 <at> debbugs.gnu.org (full text, mbox):
Codruț Constantin Gușoi <mail <at> codrut.pro> writes:
> Yes, I'm willing to sing the documents but I'll required alot of hand holding
> throughout the process. Please be patient with me, let's discuss this outside of the
> bug report mailing list.
(Form sent off-list.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Wed, 19 May 2021 10:31:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 48280 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello again,
Looks like this issue is still present, my patch has been reverted and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47960#19 was not applied.
Honestly I don't really care which ones gets done as long as we have a fix merged in. Is there anything I can do to get this moving?
Cheers,
Codruț
www.codrut.pro
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, May 8th, 2021 at 12:53 PM, Codruț Constantin Gușoi <mail <at> codrut.pro> wrote:
> Hello Lars,
>
> Yes, I'm willing to sing the documents but I'll required alot of hand holding throughout the process. Please be patient with me, let's discuss this outside of the bug report mailing list.
>
> Cheers,
> Codruț
>
> www.codrut.pro
> -------- Original Message --------
> On 8 May 2021, 12:40, Lars Ingebrigtsen < larsi <at> gnus.org> wrote:
>
>> Codruț Constantin Gușoi <mail <at> codrut.pro> writes:
>>
>>> I've attached a patch for this bug I was dealing with while trying out
>>> 28.0.50 commit a2842a11728336fc8110eedb5176ecfbe71bbc79.
>>
>> Thanks; applied to Emacs 28.
>>
>> This change was small enough to apply without assigning copyright to the
>> FSF, but for future patches you want to submit, it might make sense to
>> get the paperwork started now, so that subsequent patches can be applied
>> speedily. Would you be willing to sign such paperwork?
>>
>> --
>> (domestic pets only, the antidote for overdose, milk.)
>> bloggy blog: http://lars.ingebrigtsen.no
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Mon, 24 May 2021 22:24:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 48280 <at> debbugs.gnu.org (full text, mbox):
Codruț Constantin Gușoi <mail <at> codrut.pro> writes:
> Looks like this issue is still present, my patch has been reverted and
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47960#19 was not applied.
>
> Honestly I don't really care which ones gets done as long as we have a fix merged
> in. Is there anything I can do to get this moving?
We were just waiting for Gregory's paperwork to be completed before
applying his patch. That's now complete, and I've now applied the fix.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 24 May 2021 22:24:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
48280 <at> debbugs.gnu.org and Codruț Constantin Gușoi <mail <at> codrut.pro>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 24 May 2021 22:24:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
47960 <at> debbugs.gnu.org and Protesilaos Stavrou <info <at> protesilaos.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 24 May 2021 22:27:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48280
; Package
emacs
.
(Mon, 24 May 2021 23:12:01 GMT)
Full text and
rfc822 format available.
Message #42 received at 48280 <at> debbugs.gnu.org (full text, mbox):
Awesome, just compiled it and it works perfectly! Thank you for the help.
Cheers,
Codruț
www.codrut.pro
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, May 24th, 2021 at 11:23 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> Codruț Constantin Gușoi mail <at> codrut.pro writes:
>
> > Looks like this issue is still present, my patch has been reverted and
> >
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47960#19 was not applied.
> >
> > Honestly I don't really care which ones gets done as long as we have a fix merged
> >
> > in. Is there anything I can do to get this moving?
>
> We were just waiting for Gregory's paperwork to be completed before
>
> applying his patch. That's now complete, and I've now applied the fix.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
> (domestic pets only, the antidote for overdose, milk.)
>
> bloggy blog: http://lars.ingebrigtsen.no
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Jun 2021 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 306 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.