[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56229: title: add a function to move a file from one place to anothe
From: |
Lars Ingebrigtsen |
Subject: |
bug#56229: title: add a function to move a file from one place to another |
Date: |
Mon, 27 Jun 2022 09:55:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Zachary Kanfer <zkanfer@gmail.com> writes:
> I think `rename-visited-file' would fit in better especially since we
> already have `rename-file'; it also parallels dired's R command.
Thanks. A couple of things:
[...]
> +** New command 'move-file'.
> +This command moves a file to a new location.
Should be updated.
[...]
> + (let ((old-location (buffer-file-name)))
> + (write-file new-location t)
> + (when (and old-location
> + (file-exists-p new-location))
> + (delete-file old-location))))
Probably want to check whether old-location exists?
Anyway, apparently there's something up with the copyright
assignment/disclaimer? Your entry in the file says "**NEEDS New
DISCLAIMER**" -- do you know what that's about?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#56229: title: add a function to move a file from one place to another, Zachary Kanfer, 2022/06/26
- bug#56229: title: add a function to move a file from one place to another, Lars Ingebrigtsen, 2022/06/26
- bug#56229: title: add a function to move a file from one place to another, Zachary Kanfer, 2022/06/26
- bug#56229: title: add a function to move a file from one place to another, Lars Ingebrigtsen, 2022/06/26
- bug#56229: title: add a function to move a file from one place to another, Visuwesh, 2022/06/26
- bug#56229: title: add a function to move a file from one place to another, Zachary Kanfer, 2022/06/27
- bug#56229: title: add a function to move a file from one place to another,
Lars Ingebrigtsen <=
- bug#56229: title: add a function to move a file from one place to another, Zachary Kanfer, 2022/06/27
- bug#56229: title: add a function to move a file from one place to another, Eli Zaretskii, 2022/06/28
- bug#56229: title: add a function to move a file from one place to another, Richard Stallman, 2022/06/27
- bug#56229: title: add a function to move a file from one place to another, Zachary Kanfer, 2022/06/28
- bug#56229: title: add a function to move a file from one place to another, Lars Ingebrigtsen, 2022/06/28
- bug#56229: title: add a function to move a file from one place to another, Zachary Kanfer, 2022/06/28