GNU bug report logs - #31732
26.1; vc-dir: Deleting unregistered files

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Wed, 6 Jun 2018 07:57:02 UTC

Severity: wishlist

Tags: fixed

Found in version 26.1

Fixed in version 27.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 31732 in the body.
You can then email your comments to 31732 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31732; Package emacs. (Wed, 06 Jun 2018 07:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Heggestøyl <simenheg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 06 Jun 2018 07:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; vc-dir: Deleting unregistered files
Date: Wed, 06 Jun 2018 09:56:36 +0200
[Message part 1 (text/plain, inline)]
I'd find it handy to be able to delete unregistered files directly
from the VC Directory buffer, similar to what Magit does when typing
'k' on an untracked file.

Maybe there could be a way to delete multiple files at once too, by
marking them first.

-- Simen
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31732; Package emacs. (Sat, 13 Jul 2019 04:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 31732 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 31732 <at> debbugs.gnu.org
Subject: Re: bug#31732: 26.1; vc-dir: Deleting unregistered files
Date: Sat, 13 Jul 2019 06:12:00 +0200
Simen Heggestøyl <simenheg <at> gmail.com> writes:

> I'd find it handy to be able to delete unregistered files directly
> from the VC Directory buffer, similar to what Magit does when typing
> 'k' on an untracked file.
>
> Maybe there could be a way to delete multiple files at once too, by
> marking them first.

Yes, that's a command I've always missed.  I've added it to the trunk
now, bound to the `d' keystroke.

By the way, there's already a `vc-dir-delete-file' command, but it only
works for tracked files, and will notify the underlying VC.  So the new
command is called `vc-dir-delete-files-no-vc', which is a pretty awkward
name.  If anybody wants to change it -- please do.  :-)

-- 
(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, 13 Jul 2019 04:13:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 31732 <at> debbugs.gnu.org and Simen Heggestøyl <simenheg <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 13 Jul 2019 04:13:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31732; Package emacs. (Sun, 14 Jul 2019 01:17:02 GMT) Full text and rfc822 format available.

Message #15 received at 31732 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Simen Heggestøyl <simenheg <at> gmail.com>,
 31732 <at> debbugs.gnu.org
Subject: Re: bug#31732: 26.1; vc-dir: Deleting unregistered files
Date: Sat, 13 Jul 2019 21:16:08 -0400
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> I'd find it handy to be able to delete unregistered files directly
>> from the VC Directory buffer

> new command is called `vc-dir-delete-files-no-vc', which is a pretty awkward
> name.  If anybody wants to change it -- please do.  :-)

vc-dir-delete-filesystem-only perhaps?  Although I wonder if
vc-dir-clean-files (which would only work on unregistered files) would
be better, since it seems like deleting a tracked file would usually be
a mistake.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31732; Package emacs. (Sun, 14 Jul 2019 12:27:02 GMT) Full text and rfc822 format available.

Message #18 received at 31732 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Simen Heggestøyl <simenheg <at> gmail.com>,
 31732 <at> debbugs.gnu.org
Subject: Re: bug#31732: 26.1; vc-dir: Deleting unregistered files
Date: Sun, 14 Jul 2019 14:26:19 +0200
Noam Postavsky <npostavs <at> gmail.com> writes:

> vc-dir-delete-filesystem-only perhaps?  Although I wonder if
> vc-dir-clean-files (which would only work on unregistered files) would
> be better, since it seems like deleting a tracked file would usually be
> a mistake.

Ah, yes, that's true.  I've now renamed to -clean-files and made it
error out on trying to delete tracked files.

-- 
(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. (Mon, 12 Aug 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.